CbmRoot
Loading...
Searching...
No Matches
CbmKF Class Reference

#include <CbmKF.h>

Inheritance diagram for CbmKF:
[legend]
Collaboration diagram for CbmKF:
[legend]

Public Member Functions

 CbmKF (const char *name="KF", Int_t iVerbose=1)
 
 ~CbmKF ()
 
void SetParContainers ()
 
InitStatus ReInit ()
 
InitStatus Init ()
 
Int_t GetMaterialIndex (Int_t uid)
 
Int_t Propagate (Double_t *T, Double_t *C, Double_t z_out, Double_t QP0)
 
Int_t PassMaterial (CbmKFTrackInterface &track, Double_t &QP0, Int_t ifst, Int_t ilst)
 
Int_t PassMaterialBetween (CbmKFTrackInterface &track, Double_t &QP0, Int_t ifst, Int_t ilst)
 
Int_t PassMaterialBetween (CbmKFTrackInterface &track, Double_t &QP0, CbmKFHit *fst, CbmKFHit *lst)
 
FairField * GetMagneticField ()
 
Int_t GetMethod ()
 
int GetNMvdStations () const
 
const std::array< float, 3 > GetTargetPosition ()
 
 ClassDef (CbmKF, 1)
 

Static Public Member Functions

static CbmKFInstance ()
 

Public Attributes

std::vector< CbmKFMaterial * > vMaterial
 
std::vector< CbmKFTubevMvdMaterial
 
std::vector< CbmKFTubevStsMaterial
 
std::vector< CbmKFTubevMuchMaterial
 
std::vector< CbmKFTubevMuchDetectors
 
std::vector< CbmKFTubevRichMaterial
 
std::vector< CbmKFWallvTrdMaterial
 
std::vector< CbmKFTubevTargets
 
std::vector< CbmKFConevPipe
 
std::vector< CbmKFTubevPassiveTube
 
std::vector< CbmKFWallvPassiveWall
 
std::vector< CbmKFBoxvPassiveBox
 
std::map< Int_t, Int_t > MvdStationIDMap
 
std::map< Int_t, Int_t > StsStationIDMap
 
std::map< Int_t, Int_t > TrdStationIDMap
 
std::map< Int_t, Int_t > MuchMCID2StationMap
 
std::map< Int_t, Int_t > MuchStation2MCIDMap
 

Private Member Functions

Int_t ReadTube (CbmKFTube &tube, FairGeoNode *node)
 
CbmKFMaterialReadPassive (FairGeoNode *node)
 
void GetTargetInfo ()
 
void FindTargetNode (TString &targetPath, TGeoNode *&targetNode)
 
 CbmKF (const CbmKF &)
 
void operator= (const CbmKF &)
 

Private Attributes

FairField * fMagneticField
 
Int_t fMethod
 
std::map< Int_t, Int_t > fMaterialID2IndexMap
 
std::array< float, 3 > fTargetXYZ
 

Static Private Attributes

static CbmKFfInstance
 

Detailed Description

Definition at line 34 of file CbmKF.h.

Constructor & Destructor Documentation

◆ CbmKF() [1/2]

CbmKF::CbmKF ( const char * name = "KF",
Int_t iVerbose = 1 )

◆ ~CbmKF()

CbmKF::~CbmKF ( )

Definition at line 84 of file CbmKF.cxx.

References fInstance.

◆ CbmKF() [2/2]

CbmKF::CbmKF ( const CbmKF & )
private

Member Function Documentation

◆ ClassDef()

CbmKF::ClassDef ( CbmKF ,
1  )

◆ FindTargetNode()

void CbmKF::FindTargetNode ( TString & targetPath,
TGeoNode *& targetNode )
private

Definition at line 337 of file CbmKF.cxx.

References FindTargetNode().

Referenced by FindTargetNode(), and GetTargetInfo().

◆ GetMagneticField()

FairField * CbmKF::GetMagneticField ( )
inline
  • Usefull information

Definition at line 80 of file CbmKF.h.

References fMagneticField.

◆ GetMaterialIndex()

Int_t CbmKF::GetMaterialIndex ( Int_t uid)
  • Utilites

Definition at line 362 of file CbmKF.cxx.

References fMaterialID2IndexMap.

Referenced by CbmKFStsHit::Create(), and CbmKFStsHit::Create().

◆ GetMethod()

Int_t CbmKF::GetMethod ( )
inline

Definition at line 88 of file CbmKF.h.

References fMethod.

Referenced by CbmKFTrackInterface::Fit(), and CbmKFTrackInterface::Smooth().

◆ GetNMvdStations()

int CbmKF::GetNMvdStations ( ) const
inline

Definition at line 90 of file CbmKF.h.

References Instance(), and vMvdMaterial.

◆ GetTargetInfo()

void CbmKF::GetTargetInfo ( )
private

Definition at line 271 of file CbmKF.cxx.

References FindTargetNode(), fTargetXYZ, CbmKFMaterial::ID, shape, and vTargets.

Referenced by Init().

◆ GetTargetPosition()

const std::array< float, 3 > CbmKF::GetTargetPosition ( )

Definition at line 335 of file CbmKF.cxx.

References fTargetXYZ.

◆ Init()

◆ Instance()

◆ operator=()

void CbmKF::operator= ( const CbmKF & )
private

◆ PassMaterial()

Int_t CbmKF::PassMaterial ( CbmKFTrackInterface & track,
Double_t & QP0,
Int_t ifst,
Int_t ilst )

Definition at line 712 of file CbmKF.cxx.

References vMaterial.

◆ PassMaterialBetween() [1/2]

Int_t CbmKF::PassMaterialBetween ( CbmKFTrackInterface & track,
Double_t & QP0,
CbmKFHit * fst,
CbmKFHit * lst )

Definition at line 734 of file CbmKF.cxx.

References CbmKFHit::MaterialIndex, and PassMaterialBetween().

◆ PassMaterialBetween() [2/2]

Int_t CbmKF::PassMaterialBetween ( CbmKFTrackInterface & track,
Double_t & QP0,
Int_t ifst,
Int_t ilst )

Definition at line 723 of file CbmKF.cxx.

References vMaterial.

Referenced by PassMaterialBetween().

◆ Propagate()

Int_t CbmKF::Propagate ( Double_t * T,
Double_t * C,
Double_t z_out,
Double_t QP0 )

Propagation of (T, C) to z_out without material, using linearisation at qp0

Definition at line 639 of file CbmKF.cxx.

References CbmKFFieldMath::ExtrapolateALight(), CbmKFFieldMath::ExtrapolateLine(), CbmKFFieldMath::ExtrapolateRK4(), fMagneticField, and fMethod.

Referenced by CbmKFCone::Pass(), CbmKFMaterial::Pass(), CbmKFTrackInterface::Propagate(), and CbmKFTrackInterface::Smooth().

◆ ReadPassive()

CbmKFMaterial * CbmKF::ReadPassive ( FairGeoNode * node)
private

Definition at line 504 of file CbmKF.cxx.

References ID, v, vPassiveBox, and vPassiveTube.

◆ ReadTube()

◆ ReInit()

InitStatus CbmKF::ReInit ( )

Definition at line 94 of file CbmKF.cxx.

References Init().

◆ SetParContainers()

void CbmKF::SetParContainers ( )
  • FairTask methods

Definition at line 86 of file CbmKF.cxx.

Member Data Documentation

◆ fInstance

CbmKF* CbmKF::fInstance
staticprivate

Definition at line 95 of file CbmKF.h.

Referenced by Instance(), and ~CbmKF().

◆ fMagneticField

FairField* CbmKF::fMagneticField
private

Definition at line 97 of file CbmKF.h.

Referenced by GetMagneticField(), Init(), and Propagate().

◆ fMaterialID2IndexMap

std::map<Int_t, Int_t> CbmKF::fMaterialID2IndexMap
private

Definition at line 105 of file CbmKF.h.

Referenced by GetMaterialIndex(), and Init().

◆ fMethod

Int_t CbmKF::fMethod
private

Definition at line 100 of file CbmKF.h.

Referenced by GetMethod(), and Propagate().

◆ fTargetXYZ

std::array<float, 3> CbmKF::fTargetXYZ
private

Definition at line 114 of file CbmKF.h.

Referenced by GetTargetInfo(), and GetTargetPosition().

◆ MuchMCID2StationMap

std::map<Int_t, Int_t> CbmKF::MuchMCID2StationMap

Definition at line 85 of file CbmKF.h.

Referenced by Init().

◆ MuchStation2MCIDMap

std::map<Int_t, Int_t> CbmKF::MuchStation2MCIDMap

Definition at line 86 of file CbmKF.h.

Referenced by Init().

◆ MvdStationIDMap

std::map<Int_t, Int_t> CbmKF::MvdStationIDMap

Definition at line 82 of file CbmKF.h.

Referenced by Init().

◆ StsStationIDMap

std::map<Int_t, Int_t> CbmKF::StsStationIDMap

Definition at line 83 of file CbmKF.h.

Referenced by Init().

◆ TrdStationIDMap

std::map<Int_t, Int_t> CbmKF::TrdStationIDMap

Definition at line 84 of file CbmKF.h.

Referenced by Init().

◆ vMaterial

◆ vMuchDetectors

std::vector<CbmKFTube> CbmKF::vMuchDetectors

Definition at line 68 of file CbmKF.h.

Referenced by Init().

◆ vMuchMaterial

std::vector<CbmKFTube> CbmKF::vMuchMaterial

Definition at line 67 of file CbmKF.h.

Referenced by Init().

◆ vMvdMaterial

std::vector<CbmKFTube> CbmKF::vMvdMaterial

Definition at line 65 of file CbmKF.h.

Referenced by GetNMvdStations(), and Init().

◆ vPassiveBox

std::vector<CbmKFBox> CbmKF::vPassiveBox

Definition at line 76 of file CbmKF.h.

Referenced by Init(), and ReadPassive().

◆ vPassiveTube

std::vector<CbmKFTube> CbmKF::vPassiveTube

Definition at line 74 of file CbmKF.h.

Referenced by Init(), and ReadPassive().

◆ vPassiveWall

std::vector<CbmKFWall> CbmKF::vPassiveWall

Definition at line 75 of file CbmKF.h.

Referenced by Init().

◆ vPipe

std::vector<CbmKFCone> CbmKF::vPipe

Definition at line 72 of file CbmKF.h.

Referenced by Init().

◆ vRichMaterial

std::vector<CbmKFTube> CbmKF::vRichMaterial

Definition at line 69 of file CbmKF.h.

Referenced by Init().

◆ vStsMaterial

std::vector<CbmKFTube> CbmKF::vStsMaterial

Definition at line 66 of file CbmKF.h.

Referenced by Init().

◆ vTargets

std::vector<CbmKFTube> CbmKF::vTargets

◆ vTrdMaterial

std::vector<CbmKFWall> CbmKF::vTrdMaterial

Definition at line 70 of file CbmKF.h.

Referenced by Init().


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