CbmRoot
L1AddMaterial.h File Reference
#include "CbmL1Def.h"
#include "L1MaterialInfo.h"
#include "L1TrackPar.h"
Include dependency graph for L1AddMaterial.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define cnst   const fvec
 

Functions

fvec BetheBlochIron (const float qp)
 
fvec BetheBlochCarbon (const float qp)
 
fvec BetheBlochAl (const float qp)
 
fvec ApproximateBetheBloch (const fvec &bg2)
 
fvec ApproximateBetheBloch (const fvec &bg2, const fvec &kp0, const fvec &kp1, const fvec &kp2, const fvec &kp3, const fvec &kp4)
 
float CalcQpAfterEloss (float qp, float eloss, float mass2)
 
void EnergyLossCorrection (L1TrackPar &T, const fvec &mass2, const fvec &radThick, fvec &qp0, fvec direction, fvec w=1, fvec=0)
 
void EnergyLossCorrectionAl (L1TrackPar &T, const fvec &mass2, const fvec &radThick, fvec &qp0, fvec direction, fvec w=1, fvec=0)
 
void EnergyLossCorrectionCarbon (L1TrackPar &T, const fvec &mass2, const fvec &radThick, fvec &qp0, fvec direction, fvec w=1, fvec=0)
 
void EnergyLossCorrectionIron (L1TrackPar &T, const fvec &mass2, const fvec &radThick, fvec &qp0, fvec direction, fvec w=1, fvec=0)
 
void L1AddMaterial (L1TrackPar &T, fvec radThick, fvec qp0, fvec w=1, fvec mass2=0.10565f *0.10565f)
 
void L1AddMaterial (L1TrackPar &T, L1MaterialInfo &info, fvec qp0, fvec w=1, fvec mass2=0.10565f *0.10565f)
 
void L1AddThickMaterial (L1TrackPar &T, fvec radThick, fvec qp0, fvec w, fvec thickness=0, bool fDownstream=1)
 
void L1AddHalfMaterial (L1TrackPar &T, L1MaterialInfo &info, fvec qp0)
 
void L1AddPipeMaterial (L1TrackPar &T, fvec qp0, fvec w=1, fvec mass2=0.10565f *0.10565f)
 
void L1AddTargetMaterial (L1TrackPar &T, fvec qp0, fvec w=1, fvec mass2=0.10565f *0.10565f)
 

Variables

const fvec PipeRadThick = 7.87e-3f
 
const fvec TargetRadThick = 3.73e-2f * 2
 

Macro Definition Documentation

◆ cnst

#define cnst   const fvec

Definition at line 10 of file L1AddMaterial.h.

Function Documentation

◆ ApproximateBetheBloch() [1/2]

◆ ApproximateBetheBloch() [2/2]

fvec ApproximateBetheBloch ( const fvec bg2,
const fvec kp0,
const fvec kp1,
const fvec kp2,
const fvec kp3,
const fvec kp4 
)
inline

Definition at line 168 of file L1AddMaterial.h.

References f, log(), sqrt(), and x.

◆ BetheBlochAl()

fvec BetheBlochAl ( const float  qp)
inline

Definition at line 85 of file L1AddMaterial.h.

References fabs(), log(), and sqrt().

◆ BetheBlochCarbon()

fvec BetheBlochCarbon ( const float  qp)
inline

Definition at line 50 of file L1AddMaterial.h.

References fabs(), log(), and sqrt().

◆ BetheBlochIron()

fvec BetheBlochIron ( const float  qp)
inline

Definition at line 15 of file L1AddMaterial.h.

References fabs(), log(), and sqrt().

◆ CalcQpAfterEloss()

float CalcQpAfterEloss ( float  qp,
float  eloss,
float  mass2 
)
inline

Definition at line 222 of file L1AddMaterial.h.

References fabs(), and sqrt().

◆ EnergyLossCorrection()

void EnergyLossCorrection ( L1TrackPar T,
const fvec mass2,
const fvec radThick,
fvec qp0,
fvec  direction,
fvec  w = 1,
fvec  = 0 
)
inline

◆ EnergyLossCorrectionAl()

void EnergyLossCorrectionAl ( L1TrackPar T,
const fvec mass2,
const fvec radThick,
fvec qp0,
fvec  direction,
fvec  w = 1,
fvec  = 0 
)
inline

◆ EnergyLossCorrectionCarbon()

void EnergyLossCorrectionCarbon ( L1TrackPar T,
const fvec mass2,
const fvec radThick,
fvec qp0,
fvec  direction,
fvec  w = 1,
fvec  = 0 
)
inline

◆ EnergyLossCorrectionIron()

void EnergyLossCorrectionIron ( L1TrackPar T,
const fvec mass2,
const fvec radThick,
fvec qp0,
fvec  direction,
fvec  w = 1,
fvec  = 0 
)
inline

◆ L1AddHalfMaterial()

◆ L1AddMaterial() [1/2]

◆ L1AddMaterial() [2/2]

void L1AddMaterial ( L1TrackPar T,
L1MaterialInfo info,
fvec  qp0,
fvec  w = 1,
fvec  mass2 = 0.10565f * 0.10565f 
)
inline

◆ L1AddPipeMaterial()

◆ L1AddTargetMaterial()

void L1AddTargetMaterial ( L1TrackPar T,
fvec  qp0,
fvec  w = 1,
fvec  mass2 = 0.10565f * 0.10565f 
)
inline

◆ L1AddThickMaterial()

void L1AddThickMaterial ( L1TrackPar T,
fvec  radThick,
fvec  qp0,
fvec  w,
fvec  thickness = 0,
bool  fDownstream = 1 
)
inline

Variable Documentation

◆ PipeRadThick

◆ TargetRadThick

const fvec TargetRadThick = 3.73e-2f * 2

Definition at line 12 of file L1AddMaterial.h.

Referenced by L1AddTargetMaterial().