18Bool_t PStrangenessPlugin::hyperon_hadron_decays{kTRUE};
19Bool_t PStrangenessPlugin::hyperon_photon_decays{kTRUE};
20Bool_t PStrangenessPlugin::hyperon_dalitz_decays{kTRUE};
21Bool_t PStrangenessPlugin::hyperon_experimental_decays{kFALSE};
25 fprintf(stderr,
"Strangeness plugin - flags status:\n"
29 "- Experimental: %d\n",
30 hyperon_hadron_decays, hyperon_photon_decays, hyperon_dalitz_decays, hyperon_experimental_decays);
48 if (strcmp (command,
"init") == 0) {
49 if (!is_initialized) {
53 Double_t old = (*system_alloc_verbosity);
54 (*system_alloc_verbosity) = 0;
67 if (hyperon_hadron_decays) {
69 makeStaticData()->
AddDecay(
"Sigma(1385)0 --> Lambda + g",
"Sigma13850",
"Lambda,g", 0.01300 * (1. - 1./137.));
75 if (hyperon_dalitz_decays) {
76 makeStaticData()->
AddDecay(
"Sigma(1385)0 --> Lambda + dilepton",
"Sigma13850",
"Lambda,dilepton", 0.013 / 137.);
82 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
94 if (hyperon_hadron_decays) {
100 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
112 if (hyperon_hadron_decays) {
118 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
131 if (hyperon_hadron_decays) {
137 if (hyperon_photon_decays) {
139 makeStaticData()->
AddDecay(
"Lambda(1405) --> Sigma(1385)0 + gamma",
"Lambda1405",
"Sigma13850,g", 0.0085);
142 if (hyperon_dalitz_decays) {
143 makeStaticData()->
AddDecay(
"Lambda(1405) --> Lambda + dilepton",
"Lambda1405",
"Lambda,dilepton", 0.0085 / 137.);
150 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
163 if (hyperon_hadron_decays) {
167 makeStaticData()->
AddDecay(
"Lambda(1520) --> Lambda + pi0 + pi0",
"Lambda1520",
"Lambda,pi0,pi0", 0.2 / 3);
168 makeStaticData()->
AddDecay(
"Lambda(1520) --> Lambda + pi+ + pi-",
"Lambda1520",
"Lambda,pi+,pi-", 0.1 / 3);
172 makeStaticData()->
AddDecay(
"Lambda(1520) --> Sigma0 + pi0 + pi0",
"Lambda1520",
"Sigma0,pi0,pi0", 0.009/5.0);
173 makeStaticData()->
AddDecay(
"Lambda(1520) --> Sigma0 + pi+ + pi-",
"Lambda1520",
"Sigma0,pi+,pi-", 0.009/5.0);
176 if (hyperon_photon_decays) {
180 if (hyperon_dalitz_decays) {
181 makeStaticData()->
AddDecay(
"Lambda(1520) --> Lambda + dilepton",
"Lambda1520",
"Lambda,dilepton", .007948/137.);
188 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
201 if (hyperon_hadron_decays) {
206 if (hyperon_photon_decays) {
210 if (hyperon_dalitz_decays) {
218 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
231 if (hyperon_hadron_decays) {
236 if (hyperon_photon_decays) {
240 if (hyperon_dalitz_decays) {
248 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
259 if (hyperon_hadron_decays) {
263 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
277 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
291 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
305 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
319 Error(
"ExecCommand",
"PIDs blocked, plugin disabled");
323 (*system_alloc_verbosity) = old;
ClassImp(PBeamLineSimulation) PBeamLineSimulation
PDistributionManager * makeDistributionManager()
PStaticData * makeStaticData()
PDistributionCollection()
void SetGroup(const Char_t *id)
int Add(PDistribution *dist)
int AddDecay(int didx, const char *name, const char *parent, const char *daughters, double br)
void SetParticleSpin(const char *id, Int_t spin)
void SetParticleLMass(const int &id, const double v)
void SetParticleMeson(const char *id, Int_t num=1)
void SetParticleTotalWidth(Int_t id, Float_t wid)
Double_t * GetBatchValue(const char *name, Int_t make_val=1)
void SetParticleBaryon(const char *id, Int_t num=1)
void SetParticleParity(const char *id, Int_t parity)
int AddAlias(const char *old_name, const char *new_name)
PStrangenessPlugin(const Char_t *id, const Char_t *de)
Bool_t ExecCommand(const char *command, Double_t value)
embedded AddParticle(e_plus)