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