Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GenFitExtrapolator Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/reco/kfitter/GenFitExtrapolator.h>

Public Member Functions

 GenFitExtrapolator ()
 
 ~GenFitExtrapolator ()
 
bool init (const PHField *field, const TGeoManager *geom)
 Initialize geometry and physics. More...
 
void setInitialStateWithCov (double z_in, TMatrixD &state_in, TMatrixD &cov_in)
 Set input initial state parameters. More...
 
void setParticleType (int type)
 Set particle type. More...
 
void getFinalStateWithCov (TMatrixD &state_out, TMatrixD &cov_out)
 Get the final state parameters and covariance. More...
 
double getTravelLength ()
 
void getPropagator (TMatrixD &prop)
 Get the propagator. More...
 
bool extrapolateTo (double z_out)
 
double extrapolateToIP ()
 Extrapolate to the primary vertex. More...
 
void convertSVtoMP (double z, TMatrixD &state, TVector3 &mom, TVector3 &pos)
 Transformation between the state vector and the mom/pos. More...
 
void convertMPtoSV (TVector3 &mom, TVector3 &pos, TMatrixD &state)
 
void TRSDSC (int charge, TVector3 mom_input, TVector3 pos_input)
 
void TRSCSD (int charge, TVector3 mom_input, TVector3 pos_input)
 
TMatrixD & getJacSD2SC ()
 
TMatrixD & getJacSC2SD ()
 
void setPropCalc (bool option)
 External control of modes. More...
 
void setLengthCalc (bool option)
 
void print ()
 Debug print. More...
 

Detailed Description

Definition at line 30 of file GenFitExtrapolator.h.

Constructor & Destructor Documentation

GenFitExtrapolator::GenFitExtrapolator ( )

Definition at line 63 of file GenFitExtrapolator.cxx.

GenFitExtrapolator::~GenFitExtrapolator ( )

Definition at line 71 of file GenFitExtrapolator.cxx.

Member Function Documentation

void GenFitExtrapolator::convertMPtoSV ( TVector3 &  mom,
TVector3 &  pos,
TMatrixD &  state 
)

Definition at line 360 of file GenFitExtrapolator.cxx.

Referenced by getFinalStateWithCov().

+ Here is the caller graph for this function:

void GenFitExtrapolator::convertSVtoMP ( double  z,
TMatrixD &  state,
TVector3 &  mom,
TVector3 &  pos 
)

Transformation between the state vector and the mom/pos.

Definition at line 346 of file GenFitExtrapolator.cxx.

Referenced by setInitialStateWithCov().

+ Here is the caller graph for this function:

bool GenFitExtrapolator::extrapolateTo ( double  z_out)

If the initial or final position is out of the reasonable world

if the initial and final z position is the same, don't make the transportation

Definition at line 234 of file GenFitExtrapolator.cxx.

Referenced by extrapolateToIP(), and KalmanFilter::predict().

+ Here is the caller graph for this function:

double GenFitExtrapolator::extrapolateToIP ( )

Extrapolate to the primary vertex.

Definition at line 292 of file GenFitExtrapolator.cxx.

References extrapolateTo().

Referenced by VertexFit::findSingleMuonVertex().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GenFitExtrapolator::getFinalStateWithCov ( TMatrixD &  state_out,
TMatrixD &  cov_out 
)

Get the final state parameters and covariance.

Definition at line 169 of file GenFitExtrapolator.cxx.

References convertMPtoSV(), and TRSCSD().

Referenced by KalmanFilter::predict().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TMatrixD& GenFitExtrapolator::getJacSC2SD ( )
inline

Definition at line 74 of file GenFitExtrapolator.h.

TMatrixD& GenFitExtrapolator::getJacSD2SC ( )
inline

Definition at line 73 of file GenFitExtrapolator.h.

void GenFitExtrapolator::getPropagator ( TMatrixD &  prop)

Get the propagator.

Definition at line 206 of file GenFitExtrapolator.cxx.

Referenced by KalmanFilter::predict().

+ Here is the caller graph for this function:

double GenFitExtrapolator::getTravelLength ( )
inline

Definition at line 48 of file GenFitExtrapolator.h.

bool GenFitExtrapolator::init ( const PHField field,
const TGeoManager *  geom 
)

Initialize geometry and physics.

Definition at line 74 of file GenFitExtrapolator.cxx.

References PHField::GetFieldValue(), and LogInfo.

Referenced by KalmanFilter::initExtrapolator(), and VertexFit::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GenFitExtrapolator::print ( )

Debug print.

Definition at line 539 of file GenFitExtrapolator.cxx.

void GenFitExtrapolator::setInitialStateWithCov ( double  z_in,
TMatrixD &  state_in,
TMatrixD &  cov_in 
)

Set input initial state parameters.

5D cov

convert the error matrix from SD to SC

Parameters
cov_in5D state defined on (0, 0, z)

Definition at line 116 of file GenFitExtrapolator.cxx.

References convertSVtoMP(), LogInfo, setParticleType(), and TRSDSC().

Referenced by VertexFit::findSingleMuonVertex(), and KalmanFilter::predict().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GenFitExtrapolator::setLengthCalc ( bool  option)
inline

Definition at line 78 of file GenFitExtrapolator.h.

Referenced by KalmanFilter::enableDumpCorrection(), and VertexFit::InitRun().

+ Here is the caller graph for this function:

void GenFitExtrapolator::setParticleType ( int  type)

Set particle type.

Definition at line 165 of file GenFitExtrapolator.cxx.

Referenced by setInitialStateWithCov().

+ Here is the caller graph for this function:

void GenFitExtrapolator::setPropCalc ( bool  option)
inline

External control of modes.

Definition at line 77 of file GenFitExtrapolator.h.

Referenced by KalmanFilter::enableDumpCorrection(), and VertexFit::InitRun().

+ Here is the caller graph for this function:

void GenFitExtrapolator::TRSCSD ( int  charge,
TVector3  mom_input,
TVector3  pos_input 
)

convert the internal momentum and positon to ROOT vectors and use GeV and cm

Define the V and W direction of SD coordinate

Calculate the representation of momentum

Definition at line 458 of file GenFitExtrapolator.cxx.

Referenced by getFinalStateWithCov().

+ Here is the caller graph for this function:

void GenFitExtrapolator::TRSDSC ( int  charge,
TVector3  mom_input,
TVector3  pos_input 
)

Transformation between the SC and SD parameters and error matrix Transplanted from GEANT3 fortran code

convert the internal momentum and positon to ROOT vectors and use GeV and cm

Define the V and W direction of SD coordinate

Calculate the representation of momentum

Definition at line 372 of file GenFitExtrapolator.cxx.

References LogInfo.

Referenced by setInitialStateWithCov().

+ Here is the caller graph for this function:


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