10 #ifndef __MomentaCalculator_H_
11 #define __MomentaCalculator_H_
std::vector< double > detectorHit_t
define a detector hit
void loadSettings(CASSSettings &s)
load the settings
copy and correct detectorhit properties
base class for calculating momenta from a detector hit
double _t0
the correction factor of the time of flight
virtual ~PxPyCalculatorWithBField()
particleHit_t operator()(const detectorHit_t &dethit) const
correct the position in the detector plane
virtual particleHit_t & operator()(const Particle &particle, particleHit_t &particlehit) const =0
calculate the momenta
double _angle
the angle to rotate the position
particleHit_t & operator()(const Particle &particle, particleHit_t &particlehit) const
calculate the momenta
particleHit_t & operator()(const Particle &particle, particleHit_t &particlehit) const
calculate the momenta
std::pair< double, double > _pos0
the correction of the position
virtual ~PzCalculatorDirectOneRegion()
std::vector< double > particleHit_t
define a particle hit
particleHit_t & operator()(const Particle &particle, particleHit_t &particlehit) const
calculate the momenta
static std::tr1::shared_ptr< MomentumCalculator > instance(const MomCalcType &type)
create instance of requested type
particleHit_t & operator()(const Particle &particle, particleHit_t &particlehit) const
calculate the momenta
contains the global definitions for acqiris analysis
MomCalcType
enum for the types of momcalculators
virtual ~PxPyCalculatorWithoutBField()
virtual ~MomentumCalculator()
virtual destructor since this is a base class
std::pair< double, double > _scalefactors
the correction of the scale
virtual ~PzCalculatorMulitpleRegions()