CFEL - ASG Software Suite
2.5.0
CASS
|
a Time of Flight condition More...
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... | |
![]() | |
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 | |
![]() | |
enum | ConditionType { tofcond, radcond, rectcond, tofradcond, tofrectcond } |
typedef defining the types of available conditions More... | |
![]() | |
static tr1::shared_ptr< IsParticleHit > | instance (const ConditionType &type) |
create an instance of the chosen class More... | |
a Time of Flight condition
checks whether the detectorhit is in a predifined range in the time of flight
Definition at line 72 of file particle.cpp.
|
inlinevirtual |
Definition at line 75 of file particle.cpp.
|
inlinevirtual |
read the parameters of the condition from the .ini file
s | the 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().
|
inlinevirtual |
the comparison
dethit | the detector hit to check for the condition |
Implements cass::ACQIRIS::IsParticleHit.
Definition at line 76 of file particle.cpp.
References cass::ACQIRIS::t.
|
private |
the tof range
Definition at line 92 of file particle.cpp.