CFEL - ASG Software Suite
2.5.0
CASS
|
calculate pz momenta More...
#include <momenta_calculator.h>
Public Member Functions | |
virtual | ~PzCalculatorMulitpleRegions () |
particleHit_t & | operator() (const Particle &particle, particleHit_t &particlehit) const |
calculate the momenta More... | |
![]() | |
virtual | ~MomentumCalculator () |
virtual destructor since this is a base class More... | |
Additional Inherited Members | |
![]() | |
enum | MomCalcType { PxPyWBField, PxPyWOBField, PzOneRegion, PzMultipleRegions } |
enum for the types of momcalculators More... | |
![]() | |
static std::tr1::shared_ptr< MomentumCalculator > | instance (const MomCalcType &type) |
create instance of requested type More... | |
calculate pz momenta
This calcultates the momenta componetnt of the particle along the time of flight for a spectrometer with more than one region. We do this iterativly.
Definition at line 170 of file momenta_calculator.h.
|
inlinevirtual |
Definition at line 173 of file momenta_calculator.h.
|
virtual |
calculate the momenta
calculates the momenta of the particle form a given detectorhit. First correct the position of the detectorhit and the time of flight.
[in] | particlehit | the detectorhit to calculate the momenta from |
[in] | particle | the particle object that contains the properties of the particle that the momentum needs to be calculated from |
Implements cass::ACQIRIS::MomentumCalculator.
Definition at line 516 of file momenta_calculator.cpp.
References cass::ACQIRIS::Particle::charge_au(), cass::ACQIRIS::getZMomIter(), cass::ACQIRIS::Particle::mass_au(), cass::ACQIRIS::pz, cass::ACQIRIS::Particle::spectrometer(), and cass::ACQIRIS::tofCor_ns.