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

calculate pz momenta More...

#include <momenta_calculator.h>

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

Public Member Functions

virtual ~PzCalculatorDirectOneRegion ()
 
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 only one region. This can be done analytical.

Author
Lutz Foucar

Definition at line 156 of file momenta_calculator.h.

Constructor & Destructor Documentation

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

Definition at line 159 of file momenta_calculator.h.

Member Function Documentation

particleHit_t & PzCalculatorDirectOneRegion::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 510 of file momenta_calculator.cpp.

References cass::ACQIRIS::Particle::charge_au(), cass::ACQIRIS::getZMom(), cass::ACQIRIS::Particle::mass_au(), cass::ACQIRIS::pz, cass::ACQIRIS::Spectrometer::regions(), cass::ACQIRIS::Particle::spectrometer(), and cass::ACQIRIS::tofCor_ns.


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