Belle II Software  release-08-01-10
CACell Class Reference

The CACell class This Class stores all relevant information one wants to have stored in a cell for a Cellular automaton. More...

#include <CACell.h>

Public Member Functions

 CACell ()
 ************************* CONSTRUCTORS ************************* More...
 
bool operator== (const CACell &b) const
 ************************* OPERATORS ************************* More...
 
bool operator!= (const CACell &b) const
 overloaded '!='-operator
 
unsigned int getState () const
 ************************* PUBLIC MEMBER FUNCTIONS ************************* More...
 
bool isSeed () const
 returns whether CACell is allowed to be a seed for TCs
 
bool isActivated () const
 returns activationState (CA-feature)
 
bool isUpgradeAllowed () const
 returns info whether stateIncrease is allowed or not (CA-feature)
 
void increaseState ()
 setters: More...
 
void setStateUpgrade (bool up)
 sets flag whether CACell is allowed to increase state during update step within CA
 
void setSeed (bool isSeedTrue)
 sets flag whether CACell is allowed to be the seed of a new track candidate or not
 
void setActivationState (bool activationState)
 sets flag whether CACell is active (takes part during current CA iteration) or inactive (does not take part, it is 'dead')
 

Protected Attributes

unsigned int m_state
 ************************* DATA MEMBERS ************************* More...
 
bool m_activated
 activation state. More...
 
bool m_stateUpgrade
 sets flag whether Segment is allowed to increase state during update step within CA
 
bool m_seed
 sets flag whether Segment is allowed to be the seed of a new track candidate or not
 

Detailed Description

The CACell class This Class stores all relevant information one wants to have stored in a cell for a Cellular automaton.

Definition at line 20 of file CACell.h.

Constructor & Destructor Documentation

◆ CACell()

CACell ( )
inline

************************* CONSTRUCTORS *************************

Default constructor for the ROOT IO.

Definition at line 24 of file CACell.h.

24  :
25  m_state(0),
26  m_activated(true),
27  m_stateUpgrade(false),
28  m_seed(false) {}
bool m_stateUpgrade
sets flag whether Segment is allowed to increase state during update step within CA
Definition: CACell.h:79
bool m_seed
sets flag whether Segment is allowed to be the seed of a new track candidate or not
Definition: CACell.h:82
bool m_activated
activation state.
Definition: CACell.h:76
unsigned int m_state
************************* DATA MEMBERS *************************
Definition: CACell.h:73

Member Function Documentation

◆ getState()

unsigned int getState ( ) const
inline

************************* PUBLIC MEMBER FUNCTIONS *************************

getters: returns state of CACell (CA-feature)

Definition at line 44 of file CACell.h.

◆ increaseState()

void increaseState ( )
inline

setters:

increases state during CA update step

Definition at line 58 of file CACell.h.

◆ operator==()

bool operator== ( const CACell b) const
inline

************************* OPERATORS *************************

overloaded '=='-operator

Definition at line 33 of file CACell.h.

Member Data Documentation

◆ m_activated

bool m_activated
protected

activation state.

Living CACells (active) are allowed to evolve in the CA, dead ones (inactive) are not allowed

Definition at line 76 of file CACell.h.

◆ m_state

unsigned int m_state
protected

************************* DATA MEMBERS *************************

state of CACell during CA process, begins with 0

Definition at line 73 of file CACell.h.


The documentation for this class was generated from the following file: