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