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

calculate pz momenta More...

#include <momenta_calculator.h>

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

Public Member Functions

virtual ~PzCalculatorMulitpleRegions ()
 
particleHit_toperator() (const Particle &particle, particleHit_t &particlehit) const
 calculate the momenta More...
 
- Public Member Functions inherited from cass::ACQIRIS::MomentumCalculator
virtual ~MomentumCalculator ()
 virtual destructor since this is a base class More...
 

Additional Inherited Members

- Public Types inherited from cass::ACQIRIS::MomentumCalculator
enum  MomCalcType { PxPyWBField, PxPyWOBField, PzOneRegion, PzMultipleRegions }
 enum for the types of momcalculators More...
 
- Static Public Member Functions inherited from cass::ACQIRIS::MomentumCalculator
static std::tr1::shared_ptr< MomentumCalculatorinstance (const MomCalcType &type)
 create instance of requested type More...
 

Detailed Description

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.

Author
Lutz Foucar

Definition at line 170 of file momenta_calculator.h.

Constructor & Destructor Documentation

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

Definition at line 173 of file momenta_calculator.h.

Member Function Documentation

particleHit_t & PzCalculatorMulitpleRegions::operator() ( const Particle particle,
particleHit_t particlehit 
) const
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.

Returns
the particle hit that contains all momenta
Parameters
[in]particlehitthe detectorhit to calculate the momenta from
[in]particlethe 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.


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