22 ItemList = [
"McEventCollection#TruthEvent"]
25 InputTypes = [ entry.split(
'#')[0]
for entry
in flags.Input.TypedCollections ]
26 if 'JetCollection' in InputTypes:
29 ItemList = [
"JetCollection#*"]
31 ItemList+=[
"xAOD::EventInfo#EventInfo",
32 "xAOD::EventAuxInfo#EventInfoAux.",
33 "xAOD::EventInfoContainer#*",
34 "xAOD::EventInfoAuxContainer#*"]
36 if flags.Sim.IncludeParentsInG4Event:
37 ItemList += [
"McEventCollection#GEN_EVENT"]
42 if 'xAOD::JetContainer#AntiKt4TruthJets' in flags.Input.TypedCollections:
43 ItemList += [
"xAOD::JetContainer#AntiKt4TruthJets",
44 "xAOD::AuxContainerBase!#AntiKt4TruthJetsAux.-constituentLinks.-constituentWeights"]
46 if 'xAOD::JetContainer#AntiKt6TruthJets' in flags.Input.TypedCollections:
47 ItemList += [
"xAOD::JetContainer#AntiKt6TruthJets",
48 "xAOD::AuxContainerBase!#AntiKt6TruthJetsAux.-constituentLinks.-constituentWeights"]
53 if 'xAOD::TruthParticleContainer#TruthPileupParticles' in flags.Input.TypedCollections:
54 ItemList += [
"xAOD::TruthParticleContainer#TruthPileupParticles",
55 "xAOD::TruthParticleAuxContainer#TruthPileupParticlesAux."]
60 if 'Hijing_event_params' in flags.Input.Collections:
61 ItemList += [
"HijingEventParams#Hijing_event_params"]
63 if flags.Detector.EnablePixel
or flags.Detector.EnableSCT
or \
64 flags.Detector.EnableITkPixel
or flags.Detector.EnableITkStrip
or flags.Detector.EnablePLR
or \
65 flags.Detector.EnableHGTD:
66 ItemList += [
"SiHitCollection#*"]
68 if flags.Detector.EnableTRT:
69 ItemList += [
"TRTUncompressedHitCollection#*"]
71 if flags.Detector.EnableID
or flags.Detector.EnableITk:
72 ItemList += [
"TrackRecordCollection#CaloEntryLayer"]
74 if flags.Detector.EnableCalo:
75 ItemList += [
"TrackRecordCollection#MuonEntryLayer"]
76 from SimulationConfig.SimEnums
import CalibrationRun
77 if flags.Sim.CalibrationRun
in [CalibrationRun.LAr, CalibrationRun.LArTile, CalibrationRun.LArTileZDC]:
78 ItemList += [
"CaloCalibrationHitContainer#LArCalibrationHitActive",
79 "CaloCalibrationHitContainer#LArCalibrationHitDeadMaterial",
80 "CaloCalibrationHitContainer#LArCalibrationHitInactive",
81 "CaloCalibrationHitContainer#TileCalibHitActiveCell",
82 "CaloCalibrationHitContainer#TileCalibHitInactiveCell",
83 "CaloCalibrationHitContainer#TileCalibHitDeadMaterial"]
85 ItemList += [
"CaloCalibrationHitContainer#*"]
87 if flags.Detector.EnableLAr:
88 ItemList += [
"LArHitContainer#LArHitEMB",
89 "LArHitContainer#LArHitEMEC",
90 "LArHitContainer#LArHitHEC",
91 "LArHitContainer#LArHitFCAL"]
92 if flags.Sim.ISF.HITSMergingRequired.get(
'CALO',
False):
93 ItemList += [
"LArHitContainer#LArHitEMB_G4",
94 "LArHitContainer#LArHitEMEC_G4",
95 "LArHitContainer#LArHitHEC_G4",
96 "LArHitContainer#LArHitFCAL_G4",
97 "LArHitContainer#LArHitEMB_FastCaloSim",
98 "LArHitContainer#LArHitEMEC_FastCaloSim",
99 "LArHitContainer#LArHitHEC_FastCaloSim",
100 "LArHitContainer#LArHitFCAL_FastCaloSim"]
102 if flags.Detector.EnableTile:
103 if flags.Beam.Type
is BeamType.TestBeam:
104 ItemList += [
"TBElementContainer#TBElementCnt",
105 "TileHitVector#TileTBHits"]
106 ItemList += [
"TileHitVector#TileHitVec",
107 "TileHitVector#MBTSHits"]
108 if flags.Sim.ISF.HITSMergingRequired.get(
'CALO',
False):
109 ItemList += [
"TileHitVector#MBTSHits_G4",
110 "TileHitVector#TileHitVec_G4",
111 "TileHitVector#TileHitVec_FastCaloSim"]
113 if flags.Detector.EnableMuon:
114 if flags.Muon.usePhaseIIGeoSetup:
115 from MuonSensitiveDetectorsR4.SensitiveDetectorsCfg
import OutputSimContainersCfg
118 from MuonG4SD.MuonG4SDConfig
import OutputSimContainersCfg
121 ItemList += [
"TrackRecordCollection#MuonExitLayer"]
123 if flags.Detector.EnableLucid:
124 ItemList += [
"LUCID_SimHitCollection#*"]
126 if flags.Detector.EnableFwdRegion:
127 ItemList += [
"SimulationHitCollection#*"]
129 if flags.Detector.EnableZDC:
130 ItemList += [
"ZDC_SimFiberHit_Collection#ZDC_SimFiberHit_Collection"]
131 from SimulationConfig.SimEnums
import CalibrationRun
132 if flags.Sim.CalibrationRun
in [CalibrationRun.ZDC, CalibrationRun.LArTileZDC]:
133 ItemList += [
"CaloCalibrationHitContainer#ZDC_CalibrationHits"]
135 if flags.Detector.EnableALFA:
136 ItemList += [
"ALFA_HitCollection#*",
137 "ALFA_ODHitCollection#*"]
139 if flags.Detector.EnableAFP:
140 ItemList += [
"AFP_TDSimHitCollection#*",
141 "AFP_SIDSimHitCollection#*"]
143 if flags.Sim.RecordStepInfo:
144 ItemList += [
"ISF_FCS_Parametrization::FCS_StepInfoCollection#MergedEventSteps"]
146 if flags.Beam.Type
is BeamType.Cosmics:
147 ItemList += [
"TrackRecordCollection#CosmicRecord",
148 "TrackRecordCollection#CosmicPerigee"]