CFEL - ASG Software Suite
2.5.0
CASS
|
base class of conditions for finding the right particle More...
Public Types | |
enum | ConditionType { tofcond, radcond, rectcond, tofradcond, tofrectcond } |
typedef defining the types of available conditions More... | |
Public Member Functions | |
virtual | ~IsParticleHit () |
virtual destructor since this is a base class More... | |
virtual bool | operator() (const detectorHit_t &dethit) const =0 |
the comparison More... | |
virtual void | loadSettings (CASSSettings &s)=0 |
read the parameters of the condition from the .ini file More... | |
Static Public Member Functions | |
static tr1::shared_ptr< IsParticleHit > | instance (const ConditionType &type) |
create an instance of the chosen class More... | |
base class of conditions for finding the right particle
Definition at line 31 of file particle.cpp.
typedef defining the types of available conditions
Enumerator | |
---|---|
tofcond | |
radcond | |
rectcond | |
tofradcond | |
tofrectcond |
Definition at line 38 of file particle.cpp.
|
inlinevirtual |
virtual destructor since this is a base class
Definition at line 35 of file particle.cpp.
|
static |
create an instance of the chosen class
type | the requested class type |
Definition at line 221 of file particle.cpp.
References cass::toString().
Referenced by cass::ACQIRIS::Particle::loadSettings().
|
pure virtual |
read the parameters of the condition from the .ini file
s | the CASSSettings object to read the information from |
Implemented in cass::ACQIRIS::CombineConditions< FirstCondition, SecondCondition >, cass::ACQIRIS::RectCond, cass::ACQIRIS::RadCond, and cass::ACQIRIS::TofCond.
|
pure virtual |
the comparison
dethit | the detector hit to check for the condition |
Implemented in cass::ACQIRIS::CombineConditions< FirstCondition, SecondCondition >, cass::ACQIRIS::RectCond, cass::ACQIRIS::RadCond, and cass::ACQIRIS::TofCond.