EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
genfit::HelixTrackModel Class Reference

Helix track model for testing purposes. More...

#include <fun4all_GenFit/blob/master/utilities/include/HelixTrackModel.h>

+ Inheritance diagram for genfit::HelixTrackModel:
+ Collaboration diagram for genfit::HelixTrackModel:

Public Member Functions

 HelixTrackModel (const TVector3 &pos, const TVector3 &mom, double charge)
 
TVector3 getPos (double tracklength) const
 
void getPosMom (double tracklength, TVector3 &pos, TVector3 &mom) const
 
void getPosDir (double tracklength, TVector3 &pos, TVector3 &dir) const
 

Private Attributes

double sgn_
 
double mom_
 
double R_
 
TVector3 center_
 
double alpha0_
 
double theta_
 

Detailed Description

Helix track model for testing purposes.

Definition at line 41 of file HelixTrackModel.h.

View newest version in sPHENIX GitHub at line 41 of file HelixTrackModel.h

Constructor & Destructor Documentation

genfit::HelixTrackModel::HelixTrackModel ( const TVector3 &  pos,
const TVector3 &  mom,
double  charge 
)

Definition at line 28 of file HelixTrackModel.cc.

View newest version in sPHENIX GitHub at line 28 of file HelixTrackModel.cc

References alpha0_, Acts::IntegrationTest::Bz, center_, genfit::FieldManager::getFieldVal(), genfit::FieldManager::getInstance(), mom_, R_, sgn_, and theta_.

+ Here is the call graph for this function:

Member Function Documentation

TVector3 genfit::HelixTrackModel::getPos ( double  tracklength) const

Definition at line 58 of file HelixTrackModel.cc.

View newest version in sPHENIX GitHub at line 58 of file HelixTrackModel.cc

References alpha0_, center_, M_PI, pos(), R_, G4BECAL::radius, sgn_, and theta_.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::HelixTrackModel::getPosDir ( double  tracklength,
TVector3 &  pos,
TVector3 &  dir 
) const
inline

Definition at line 50 of file HelixTrackModel.h.

View newest version in sPHENIX GitHub at line 50 of file HelixTrackModel.h

References getPosMom().

Referenced by genfit::MeasurementCreator::create().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::HelixTrackModel::getPosMom ( double  tracklength,
TVector3 &  pos,
TVector3 &  mom 
) const

Definition at line 72 of file HelixTrackModel.cc.

View newest version in sPHENIX GitHub at line 72 of file HelixTrackModel.cc

References alpha0_, center_, M_PI, mom_, R_, G4BECAL::radius, sgn_, and theta_.

Referenced by getPosDir().

+ Here is the caller graph for this function:

Member Data Documentation

double genfit::HelixTrackModel::alpha0_
private

Definition at line 62 of file HelixTrackModel.h.

View newest version in sPHENIX GitHub at line 62 of file HelixTrackModel.h

Referenced by getPos(), getPosMom(), and HelixTrackModel().

TVector3 genfit::HelixTrackModel::center_
private

Definition at line 61 of file HelixTrackModel.h.

View newest version in sPHENIX GitHub at line 61 of file HelixTrackModel.h

Referenced by getPos(), getPosMom(), and HelixTrackModel().

double genfit::HelixTrackModel::mom_
private

Definition at line 59 of file HelixTrackModel.h.

View newest version in sPHENIX GitHub at line 59 of file HelixTrackModel.h

Referenced by getPosMom(), and HelixTrackModel().

double genfit::HelixTrackModel::R_
private

Definition at line 60 of file HelixTrackModel.h.

View newest version in sPHENIX GitHub at line 60 of file HelixTrackModel.h

Referenced by getPos(), getPosMom(), and HelixTrackModel().

double genfit::HelixTrackModel::sgn_
private

Definition at line 58 of file HelixTrackModel.h.

View newest version in sPHENIX GitHub at line 58 of file HelixTrackModel.h

Referenced by getPos(), getPosMom(), and HelixTrackModel().

double genfit::HelixTrackModel::theta_
private

Definition at line 63 of file HelixTrackModel.h.

View newest version in sPHENIX GitHub at line 63 of file HelixTrackModel.h

Referenced by getPos(), getPosMom(), and HelixTrackModel().


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