Belle II Software  release-05-02-19
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 30 of file CACell.h.

Constructor & Destructor Documentation

◆ CACell()

CACell ( )
inline

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

Default constructor for the ROOT IO.

Definition at line 34 of file CACell.h.

36  { return (m_state == b.m_state and m_activated == b.m_activated); }
37 

Member Function Documentation

◆ getState()

unsigned int getState ( ) const
inline

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

getters: returns state of CACell (CA-feature)

Definition at line 54 of file CACell.h.

◆ increaseState()

void increaseState ( )
inline

setters:

increases state during CA update step

Definition at line 68 of file CACell.h.

◆ operator==()

bool operator== ( const CACell b) const
inline

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

overloaded '=='-operator

Definition at line 43 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 86 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 83 of file CACell.h.


The documentation for this class was generated from the following file:
Belle2::CACell::m_state
unsigned int m_state
************************* DATA MEMBERS *************************
Definition: CACell.h:83
Belle2::CACell::m_activated
bool m_activated
activation state.
Definition: CACell.h:86