Skip to content
Snippets Groups Projects
Commit 14c22f73 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Resolve "Explicitly load CaloHitContribution whenever SimCalorimeterHit is used"

parent 0a5c70b9
No related branches found
No related tags found
1 merge request!247Resolve "Explicitly load CaloHitContribution whenever SimCalorimeterHit is used"
......@@ -55,12 +55,19 @@ from Configurables import Jug__Reco__ImagingClusterReco as ImagingClusterReco
sim_coll = [
"MCParticles",
"EcalEndcapNHits",
"EcalEndcapNHitsContributions",
"EcalEndcapPHits",
"EcalEndcapPHitsContributions",
"EcalBarrelHits",
"EcalBarrelHitsContributions",
"EcalBarrelScFiHits",
"EcalBarrelScFiHitsContributions",
"HcalBarrelHits",
"HcalBarrelHitsContributions",
"HcalEndcapPHits",
"HcalEndcapPHitsContributions",
"HcalEndcapNHits",
"HcalEndcapNHitsContributions",
]
# input and output
......
......@@ -40,6 +40,7 @@ from Configurables import Jug__Reco__ImagingClusterReco as ImagingClusterReco
sim_coll = [
"MCParticles",
"EcalBarrelHits",
"EcalBarrelHitsContributions",
]
# input and output
......
......@@ -33,6 +33,7 @@ from Configurables import Jug__Reco__ClusterRecoCoG as RecoCoG
sim_coll = [
"MCParticles",
"EcalEndcapNHits",
"EcalEndcapNHitsContributions",
]
# input and output
......
......@@ -36,6 +36,7 @@ from Configurables import Jug__Reco__ClusterRecoCoG as RecoCoG
sim_coll = [
"MCParticles",
"EcalEndcapPHits",
"EcalEndcapPHitsContributions",
]
# input and output
......
......@@ -32,7 +32,9 @@ podioevent = EICDataSvc('EventDataSvc', inputs=kwargs['input'].split(','), Outpu
sim_colls = [
'MCParticles',
'ZDCEcalHits',
'ZDCHcalHits'
'ZDCEcalHitsContributions',
'ZDCHcalHits',
'ZDCHcalHitsContributions',
]
podin = PodioInput('PodioReader', collections=sim_colls, OutputLevel=DEBUG)
......
......@@ -48,7 +48,9 @@ podioevent = EICDataSvc('EventDataSvc', inputs=kwargs['input'].split(','), Outpu
sim_colls = [
'MCParticles',
'EcalBarrelHits',
'EcalBarrelHitsContributions',
'EcalBarrelScFiHits',
'EcalBarrelScFiHitsContributions',
]
podin = PodioInput('PodioReader', collections=sim_colls, OutputLevel=DEBUG)
podout = PodioOutput('podout', filename=kwargs['output'])
......
......@@ -36,7 +36,7 @@ print(kwargs)
geo_service = GeoSvc('GeoSvc', detectors=kwargs['compact'].split(','), OutputLevel=INFO)
podioevent = EICDataSvc('EventDataSvc', inputs=kwargs['input'].split(','), OutputLevel=DEBUG)
podin = PodioInput('PodioReader', collections=['MCParticles', 'EcalBarrelHits'], OutputLevel=DEBUG)
podin = PodioInput('PodioReader', collections=['MCParticles', 'EcalBarrelHits', 'EcalBarrelHitsContributions'], OutputLevel=DEBUG)
podout = PodioOutput('out', filename=kwargs['output'])
......
......@@ -37,7 +37,7 @@ geo_service = GeoSvc("GeoSvc", detectors=kwargs['compact'].split(','), OutputLev
podioevent = EICDataSvc("EventDataSvc", inputs=kwargs['input'].split(','), OutputLevel=DEBUG)
out = PodioOutput("out", filename=kwargs['output'])
podioinput = PodioInput("PodioReader", collections=["MCParticles", "EcalBarrelHits"], OutputLevel=DEBUG)
podioinput = PodioInput("PodioReader", collections=["MCParticles", "EcalBarrelHits", "EcalBarrelHitsContributions"], OutputLevel=DEBUG)
# use the same daq_setting for digi/reco pair
daq_setting = dict(
......
......@@ -38,7 +38,7 @@ sf = float(os.environ.get('CB_EMCAL_SAMP_FRAC', '1.0'))
geo_service = GeoSvc("GeoSvc", detectors=kwargs['compact'].split(','), OutputLevel=INFO)
podioevent = EICDataSvc("EventDataSvc", inputs=kwargs['input'].split(','), OutputLevel=DEBUG)
podin = PodioInput("PodioReader", collections=["MCParticles", "EcalBarrelScFiHits"], OutputLevel=DEBUG)
podin = PodioInput("PodioReader", collections=["MCParticles", "EcalBarrelScFiHits", "EcalBarrelScFiHitsContributions"], OutputLevel=DEBUG)
podout = PodioOutput("out", filename=kwargs['output'])
# use the same daq_setting for digi/reco pair
......
......@@ -34,7 +34,7 @@ sf = float(os.environ.get('JUGGLER_SAMP_FRAC', '1.0'))
geo_service = GeoSvc('GeoSvc', detectors=[f.strip() for f in kwargs['compact'].split(',')])
podev = EICDataSvc('EventDataSvc', inputs=[f.strip() for f in kwargs['input'].split(',')])
podin = PodioInput('PodioReader', collections=['MCParticles', 'EcalBarrelHits', 'EcalBarrelScFiHits'])
podin = PodioInput('PodioReader', collections=['MCParticles', 'EcalBarrelHits', 'EcalBarrelHitsContributions', 'EcalBarrelScFiHits', 'EcalBarrelScFiHitsContributions'])
podout = PodioOutput('out', filename=kwargs['output'])
# Central Barrel Ecal (Imaging Cal.)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment