ATLAS Offline Software
Loading...
Searching...
No Matches
SimEnums.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2from AthenaConfiguration.Enums import FlagEnum
3
4
5class BeamPipeSimMode(FlagEnum):
6 Normal = 'Normal'
7 FastSim = 'FastSim'
8 EGammaRangeCuts = 'EGammaRangeCuts'
9 EGammaPRangeCuts = 'EGammaPRangeCuts'
10
11
12class CalibrationRun(FlagEnum):
13 LAr = 'LAr'
14 Tile = 'Tile'
15 ZDC = 'ZDC'
16 LArTile = 'LAr+Tile'
17 LArTileZDC = 'LAr+Tile+ZDC'
18 DeadLAr = 'DeadLAr'
19 Off = 'Off'
20
21
22class CavernBackground(FlagEnum):
23 Off = 'Off'
24 Write = 'Write'
25 Read = 'Read'
26 Signal = 'Signal'
27 WriteWorld = 'WriteWorld'
28 SignalWorld = 'SignalWorld'
29
30
31class LArParameterization(FlagEnum):
32 NoFrozenShowers = 0
33 FrozenShowers = 1
34 DeadMaterialFrozenShowers = 2
35 FrozenShowersFCalOnly = 3
36 FastCaloSim = 4
37
39 NoRadiationDamage = 0
40 RamoPotential = 1
41 TemplateCorrection = 2
42
43class SimulationFlavour(FlagEnum):
44 Unknown = 'Unknown'
45 FullG4MT = 'FullG4MT'
46 FullG4MT_QS = 'FullG4MT_QS'
47 PassBackG4MT = 'PassBackG4MT'
48 ATLFASTIIMT = 'ATLFASTIIMT'
49 ATLFASTIIFMT = 'ATLFASTIIFMT'
50 ATLFASTIIF_G4MS = 'ATLFASTIIF_G4MS'
51 ATLFAST3MT = 'ATLFAST3MT'
52 ATLFAST3MT_QS = 'ATLFAST3MT_QS'
53 ATLFAST3F_G4MS = 'ATLFAST3F_G4MS'
54 ATLFAST3F_ACTSMT = 'ATLFAST3F_ACTSMT'
55 AtlasG4 = 'AtlasG4' # Outside ISF
56 AtlasG4_QS = 'AtlasG4_QS' # Outside ISF
57 CosmicsG4 = 'CosmicsG4'
58
59 def isFullSim(self):
60 return 'FullG4' in self.value or 'PassBackG4' in self.value or 'AtlasG4' in self.value or 'CosmicsG4' in self.value
61
62 def usesFastCaloSim(self):
63 return 'ATLFAST' in self.value
64
65 def usesFatras(self):
66 return 'ATLFASTIIF' in self.value or 'ATLFAST3F' in self.value # TODO Extend for Acts::Fatras in the future
67
68 def isQuasiStable(self):
69 return 'QS' in self.value
70
71 def isMT(self):
72 return 'MT' in self.value
73
74
75class TruthStrategy(FlagEnum):
76 MC12 = 'MC12'
77 MC12LLP = 'MC12LLP'
78 MC12Plus = 'MC12Plus'
79 MC15 = 'MC15'
80 MC15a = 'MC15a'
81 MC15aPlus = 'MC15aPlus'
82 MC15aPlusLLP = 'MC15aPlusLLP'
83 MC16 = 'MC16'
84 MC16LLP = 'MC16LLP'
85 MC18 = 'MC18'
86 MC18LLP = 'MC18LLP'
87 PhysicsProcess = 'PhysicsProcess'
88 Global = 'Global'
89 Validation = 'Validation'
90 Cosmic = 'Cosmic'
91
92
93class VertexSource(FlagEnum):
94 CondDB = 'CondDB'
95 LRAPositioner = 'LRAPositioner'
96 MatchingBkg = 'MatchingBkg' # take from background input file
97 LongBeamspotVertexPositioner = 'LongBeamspotVertexPositioner'
98 AsGenerated = 'AsGenerated' # I.e. no shift