CFEL - ASG Software Suite  2.5.0
CASS
Public Types | Public Member Functions | Static Public Member Functions | List of all members
cass::ACQIRIS::IsParticleHit Class Referenceabstract

base class of conditions for finding the right particle More...

+ Inheritance diagram for cass::ACQIRIS::IsParticleHit:

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< IsParticleHitinstance (const ConditionType &type)
 create an instance of the chosen class More...
 

Detailed Description

base class of conditions for finding the right particle

Author
Lutz Foucar

Definition at line 31 of file particle.cpp.

Member Enumeration Documentation

typedef defining the types of available conditions

Enumerator
tofcond 
radcond 
rectcond 
tofradcond 
tofrectcond 

Definition at line 38 of file particle.cpp.

Constructor & Destructor Documentation

virtual cass::ACQIRIS::IsParticleHit::~IsParticleHit ( )
inlinevirtual

virtual destructor since this is a base class

Definition at line 35 of file particle.cpp.

Member Function Documentation

tr1::shared_ptr< IsParticleHit > cass::ACQIRIS::IsParticleHit::instance ( const ConditionType type)
static

create an instance of the chosen class

Returns
pointer to instance of requested class
Parameters
typethe requested class type

Definition at line 221 of file particle.cpp.

References cass::toString().

Referenced by cass::ACQIRIS::Particle::loadSettings().

virtual void cass::ACQIRIS::IsParticleHit::loadSettings ( CASSSettings s)
pure virtual

read the parameters of the condition from the .ini file

Parameters
sthe CASSSettings object to read the information from

Implemented in cass::ACQIRIS::CombineConditions< FirstCondition, SecondCondition >, cass::ACQIRIS::RectCond, cass::ACQIRIS::RadCond, and cass::ACQIRIS::TofCond.

virtual bool cass::ACQIRIS::IsParticleHit::operator() ( const detectorHit_t dethit) const
pure virtual

the comparison

Returns
true when dethit fullfilles the condition
Parameters
dethitthe detector hit to check for the condition

Implemented in cass::ACQIRIS::CombineConditions< FirstCondition, SecondCondition >, cass::ACQIRIS::RectCond, cass::ACQIRIS::RadCond, and cass::ACQIRIS::TofCond.


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