6 #ifndef CHIGENCONTEXT_H
7 #define CHIGENCONTEXT_H
15 #define CHIGEN_LOG_FILE "ChiGen.log"
20 #include "EvtGen/EvtGen.hh"
21 #include "EvtGenExternal/EvtExternalGenList.hh"
22 #include "EvtGenBase/EvtAbsRadCorr.hh"
23 #include "EvtGenBase/EvtDecayBase.hh"
31 #define PROTON_MASS 1.0
33 #define CHI1_MASS 3.51
34 #define CHI2_MASS 3.556
35 #define X3872_MASS 3.872
38 #define GAMMA_PDG_ID 22
41 #define PSI_PDG_ID 443
43 #define CHI1_PDG_ID 20443
44 #define CHI1_STRING "chi_c1"
46 #define X3872_PDG_ID 9920443
47 #define X3872_STRING "X_1(3872)"
49 #define CHI2_PDG_ID 445
50 #define CHI2_STRING "chi_c2"
175 #define __chigen_cout__ (*chigen::ostreams::chigen_cout)<<std::fixed<<"["<<chigen::elapsedTimeSeconds()<<" ChiGen] "
176 #define __chigen_direct_cout__ (*chigen::ostreams::chigen_cout)
183 extern Pythia8::Pythia*
pythia;
187 extern Pythia8::PDF*
pdf;
bool isPWaveCharmonia(int pdgCode)
void ensure_chigen_is_initialized()
bool isCharmonia(int pdgCode)
void ensure_evt_gen_is_inialized()
bool suppress_pandaroot_cout
std::ostream * chigen_cout
Pythia8::Rndm * pythia_random_engine
EvtId pdgId2EvtId(int pdgId)
void read_dec_file(char *dec_file_name)
std::ostream * tee_stream
double elapsedTimeSeconds()
ChiGenRandomEngine * random_engine
std::string EvtGenChiDecFile
std::string EvtGenDecFile