16#ifndef ALICEO2_TPC_ElectronTransport_H_
17#define ALICEO2_TPC_ElectronTransport_H_
41 return electronTransport;
79 float getDriftTime(
float zPos,
float signChange = 1.f)
const;
84 math_utils::RandomRing<> mRandomGaus;
86 math_utils::RandomRing<> mRandomFlat;
94 if (mRandomFlat.getNextValue() < mGasParam->
AttCoeff * mGasParam->
OxygenCont * driftTime) {
103 float time = (mDetParam->
TPClength - signChange * std::abs(zPos)) / mVDrift;
configStandalone Light OpenGL display display_light Apply smoothing to points Enable Z buffer Highlight links Highlight seeds Highlight sector tracks Highlight final tracks Show individual sector
Definition of the parameter class for the detector.
Definition of the parameter class for the detector gas.
void setRandomRingPositions(TRandom &rng)
Move the random rings to new positions drawn from rng.
bool isElectronAttachment(float driftTime)
void updateParameters(float vdrift=0)
Update the OCDB parameters cached in the class. To be called once per event.
bool isCompletelyOutOfSectorCoarseElectronDrift(GlobalPosition3D posEle, const Sector §or) const
~ElectronTransport()=default
Destructor.
float getDriftTime(float zPos, float signChange=1.f) const
GlobalPosition3D getElectronDrift(GlobalPosition3D posEle, float &driftTime)
static ElectronTransport & instance()
math_utils::Point3D< float > GlobalPosition3D
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
float TPClength
Length of the TPC [cm].
float OxygenCont
Oxygen content [1E6 ppm].
float AttCoeff
Attachement coefficient [1/m].