ATLAS Offline Software
EvtGen_Fragment.py
Go to the documentation of this file.
1 
2 
3 evgenConfig.generators += ["EvtGen"]
4 
5 if hasattr(runArgs,'ecmEnergy') and runArgs.ecmEnergy > 13001.:
6  evgenConfig.auxfiles += ['2022inclusive_BELLE.dec']
7  decayfile_str = "2022inclusive_BELLE.dec"
8  print("Belle decay table updated Nov 2022")
9 elif "EVTGENVER" in os.environ:
10  evtgenver_str = str(os.environ['EVTGENVER'])[:3]
11  evtgenver = float(evtgenver_str)
12  print(" ver of EvtGen ", evtgenver)
13  if (evtgenver == 1.7):
14  evgenConfig.auxfiles += ['2014Inclusive_17.dec']
15  decayfile_str = "2014Inclusive_17.dec"
16  else:
17  evgenConfig.auxfiles += ['2014Inclusive.dec']
18  decayfile_str = "2014Inclusive.dec"
19 else:
20  print("EVTGENVER not available !!! assuming version == 1.7")
21  evgenConfig.auxfiles += ['2014Inclusive_17.dec']
22  decayfile_str = "2014Inclusive_17.dec"
23 
24 from EvtGen_i.EvtGen_iConf import EvtInclusiveDecay
25 genSeq += EvtInclusiveDecay()
26 genSeq.EvtInclusiveDecay.OutputLevel = INFO
27 genSeq.EvtInclusiveDecay.decayFile = decayfile_str
28 genSeq.EvtInclusiveDecay.allowAllKnownDecays=False
29 genSeq.EvtInclusiveDecay.whiteList+=[-411, -421, -10411, -10421, -413, -423,
30  -10413, -10423, -20413, -20423, -415, -425, -431, -10431, -433, -10433, -20433,
31  -435, -511, -521, -10511, -10521, -513, -523, -10513, -10523, -20513, -20523,
32  -515, -525, -531, -10531, -533, -10533, -20533, -535, -541, -10541, -543,
33  -10543, -20543, -545, -441, -10441, -100441, -443, -10443, -20443, -100443,
34  -30443, -9000443, -9010443, -9020443, -445, -100445, -551, -10551, -100551,
35  -110551, -200551, -210551, -553, -10553, -20553, -30553, -100553, -110553,
36  -120553, -130553, -200553, -210553, -220553, -300553, -9000553, -9010553, -555,
37  -10555, -20555, -100555, -110555, -120555, -200555, -557, -100557, -4122, -4222,
38  -4212, -4112, -4224, -4214, -4114, -4232, -4132, -4322, -4312, -4324, -4314,
39  -4332, -4334, -4412, -4422, -4414, -4424, -4432, -4434, -4444, -5122, -5112,
40  -5212, -5222, -5114, -5214, -5224, -5132, -5232, -5312, -5322, -5314, -5324,
41  -5332, -5142, -5242, -5412, -5422, -5414, -5424, -5342, -5432, -5434, -5442,
42  -5444, -5512, -5522, -5514, -5524, -5532, -5534, -5542, -5544, -5554, -204126,
43  -104312, -104322, -105122, -105312, -105322, -104124, -104314, -104324, 411,
44  421, 10411, 10421, 413, 423, 10413, 10423, 20413, 20423, 415, 425, 431, 10431,
45  433, 10433, 20433, 435, 511, 521, 10511, 10521, 513, 523, 10513, 10523, 20513,
46  20523, 515, 525, 531, 10531, 533, 10533, 20533, 535, 541, 10541, 543, 10543,
47  20543, 545, 441, 10441, 100441, 443, 10443, 20443, 100443, 30443, 9000443,
48  9010443, 9020443, 445, 100445, 551, 10551, 100551, 110551, 200551, 210551, 553,
49  10553, 20553, 30553, 100553, 110553, 120553, 130553, 200553, 210553, 220553,
50  300553, 9000553, 9010553, 555, 10555, 20555, 100555, 110555, 120555, 200555,
51  557, 100557, 4122, 4222, 4212, 4112, 4224, 4214, 4114, 4232, 4132, 4322, 4312,
52  4324, 4314, 4332, 4334, 4412, 4422, 4414, 4424, 4432, 4434, 4444, 5122, 5112,
53  5212, 5222, 5114, 5214, 5224, 5132, 5232, 5312, 5322, 5314, 5324, 5332, 5142,
54  5242, 5412, 5422, 5414, 5424, 5342, 5432, 5434, 5442, 5444, 5512, 5522, 5514,
55  5524, 5532, 5534, 5542, 5544, 5554, 204126, 104312, 104322, 105122, 105312,
56  105322, 104124, 104314, 104324 ]
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:25
str
Definition: BTagTrackIpAccessor.cxx:11
readCCLHist.float
float
Definition: readCCLHist.py:83