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
30class InDetParameterization(FlagEnum):
31 NONE = 0
32 FatrasG4 = 1
33
34class LArParameterization(FlagEnum):
35 NoFrozenShowers = 0
36 FrozenShowers = 1
37 DeadMaterialFrozenShowers = 2
38 FrozenShowersFCalOnly = 3
39 FastCaloSim = 4
40
42 NoRadiationDamage = 0
43 RamoPotential = 1
44 TemplateCorrection = 2
45
46class SimulationFlavour(FlagEnum):
47 Unknown = 'Unknown'
48 FullG4MT = 'FullG4MT'
49 FullG4MT_QS = 'FullG4MT_QS'
50 PassBackG4MT = 'PassBackG4MT'
51 ATLFASTIIMT = 'ATLFASTIIMT'
52 ATLFASTIIFMT = 'ATLFASTIIFMT'
53 ATLFASTIIF_G4MS = 'ATLFASTIIF_G4MS'
54 ATLFAST3MT = 'ATLFAST3MT'
55 ATLFAST3MT_QS = 'ATLFAST3MT_QS'
56 ATLFAST3F_G4MS = 'ATLFAST3F_G4MS'
57 ATLFAST3F_ACTSMT = 'ATLFAST3F_ACTSMT'
58 AtlasG4 = 'AtlasG4' # Outside ISF
59 AtlasG4_QS = 'AtlasG4_QS' # Outside ISF
60 CosmicsG4 = 'CosmicsG4'
61
62 def isFullSim(self):
63 return 'FullG4' in self.value or 'PassBackG4' in self.value or 'AtlasG4' in self.value or 'CosmicsG4' in self.value
64
65 def usesFastCaloSim(self):
66 return 'ATLFAST' in self.value
67
68 def usesFatras(self):
69 return 'ATLFASTIIF' in self.value or 'ATLFAST3F' in self.value # TODO Extend for Acts::Fatras in the future
70
71 def isQuasiStable(self):
72 return 'QS' in self.value
73
74 def isMT(self):
75 return 'MT' in self.value
76
77
78class TruthStrategy(FlagEnum):
79 MC12 = 'MC12'
80 MC12LLP = 'MC12LLP'
81 MC12Plus = 'MC12Plus'
82 MC15 = 'MC15'
83 MC15a = 'MC15a'
84 MC15aPlus = 'MC15aPlus'
85 MC15aPlusLLP = 'MC15aPlusLLP'
86 MC16 = 'MC16'
87 MC16LLP = 'MC16LLP'
88 MC18 = 'MC18'
89 MC18LLP = 'MC18LLP'
90 PhysicsProcess = 'PhysicsProcess'
91 Global = 'Global'
92 Validation = 'Validation'
93 MSLLPValidation = 'MSLLPValidation'
94 Cosmic = 'Cosmic'
95
96
97class VertexSource(FlagEnum):
98 CondDB = 'CondDB'
99 LRAPositioner = 'LRAPositioner'
100 MatchingBkg = 'MatchingBkg' # take from background input file
101 LongBeamspotVertexPositioner = 'LongBeamspotVertexPositioner'
102 AsGenerated = 'AsGenerated' # I.e. no shift