16#ifndef ALICEO2_TPC_GeneratorKrDecay_H_
17#define ALICEO2_TPC_GeneratorKrDecay_H_
58 static bool parseG4PhotonEvap(
const char*
path,
double& E_T1,
double& ICC_T1,
59 double& Kfrac_T1,
double& E_T2,
double& ICC_T2);
76 Bool_t
Init()
override;
81 static constexpr double kRInner = 83.5;
82 static constexpr double kROuter = 246.5;
83 static constexpr double kHalfZ = 249.7;
87 static int krO2EncodedStatus(
int hepmc,
int gen = 0);
89 int mNPerEvent = 1000;
90 std::unique_ptr<o2::tpc::KrDecayTable> mTable;
91 std::vector<std::array<double, 3>> mVertices;
default_random_engine gen(dev())
~GeneratorKrDecay() override
Bool_t importParticles() override
Bool_t generateEvent() override
double cumulative[kNChannels]
const Channel & sample() const
static const int kNChannels
Channel channels[kNChannels]
GLsizei const GLchar *const * path
Global TPC definitions and constants.