CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | Private Attributes | List of all members
cass::ACQIRIS::TofCond Class Reference

a Time of Flight condition More...

+ Inheritance diagram for cass::ACQIRIS::TofCond:
+ Collaboration diagram for cass::ACQIRIS::TofCond:

Public Member Functions

virtual ~TofCond ()
 
bool operator() (const detectorHit_t &dethit) const
 the comparison More...
 
void loadSettings (CASSSettings &s)
 read the parameters of the condition from the .ini file More...
 
- Public Member Functions inherited from cass::ACQIRIS::IsParticleHit
virtual ~IsParticleHit ()
 virtual destructor since this is a base class More...
 

Private Attributes

std::pair< double, double > _tofcond
 the tof range More...
 

Additional Inherited Members

- Public Types inherited from cass::ACQIRIS::IsParticleHit
enum  ConditionType {
  tofcond, radcond, rectcond, tofradcond,
  tofrectcond
}
 typedef defining the types of available conditions More...
 
- Static Public Member Functions inherited from cass::ACQIRIS::IsParticleHit
static tr1::shared_ptr< IsParticleHitinstance (const ConditionType &type)
 create an instance of the chosen class More...
 

Detailed Description

a Time of Flight condition

checks whether the detectorhit is in a predifined range in the time of flight

User definable Parameters:
AcqirisDetectors/%detectorname%/%particlename%/ToFCondition/{Low|High}
The range to check whether the detectorhit is in. Default is 0|20000.
Author
Lutz Foucar

Definition at line 72 of file particle.cpp.

Constructor & Destructor Documentation

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

Definition at line 75 of file particle.cpp.

Member Function Documentation

void cass::ACQIRIS::TofCond::loadSettings ( CASSSettings s)
inlinevirtual

read the parameters of the condition from the .ini file

Parameters
sthe CASSSettings object to read the information from

Implements cass::ACQIRIS::IsParticleHit.

Definition at line 81 of file particle.cpp.

References QSettings::beginGroup(), QSettings::endGroup(), and QSettings::value().

bool cass::ACQIRIS::TofCond::operator() ( const detectorHit_t dethit) const
inlinevirtual

the comparison

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

Implements cass::ACQIRIS::IsParticleHit.

Definition at line 76 of file particle.cpp.

References cass::ACQIRIS::t.

Member Data Documentation

std::pair<double,double> cass::ACQIRIS::TofCond::_tofcond
private

the tof range

Definition at line 92 of file particle.cpp.


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