Skip to content
Snippets Groups Projects
Commit 05fd70a4 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: benchmarks/ecal/options/crystal_calorimeter_reco.py

parent 884bd555
No related branches found
No related tags found
1 merge request!94Fix the benchmarks
This commit is part of merge request !94. Comments created here will be created in the context of that merge request.
...@@ -32,7 +32,7 @@ if "JUGGLER_N_EVENTS" in os.environ : ...@@ -32,7 +32,7 @@ if "JUGGLER_N_EVENTS" in os.environ :
n_events = str(os.environ["JUGGLER_N_EVENTS"]) n_events = str(os.environ["JUGGLER_N_EVENTS"])
geo_service = GeoSvc("GeoSvc", detectors=["{}/{}.xml".format(detector_path,detector_name)]) geo_service = GeoSvc("GeoSvc", detectors=["{}/{}.xml".format(detector_path,detector_name)])
podioevent = EICDataSvc("EventDataSvc", inputs=[input_sim_file], OutputLevel=WARN) podioevent = EICDataSvc("EventDataSvc", inputs=[input_sim_file], OutputLevel=INFO)
from Configurables import PodioInput from Configurables import PodioInput
from Configurables import Jug__Base__InputCopier_dd4pod__Geant4ParticleCollection_dd4pod__Geant4ParticleCollection_ as MCCopier from Configurables import Jug__Base__InputCopier_dd4pod__Geant4ParticleCollection_dd4pod__Geant4ParticleCollection_ as MCCopier
...@@ -48,8 +48,8 @@ from Configurables import Jug__Reco__ClusterRecoCoG as RecoCoG ...@@ -48,8 +48,8 @@ from Configurables import Jug__Reco__ClusterRecoCoG as RecoCoG
podioinput = PodioInput("PodioReader", collections=["mcparticles","CrystalEcalHits"], OutputLevel=DEBUG) podioinput = PodioInput("PodioReader", collections=["mcparticles","CrystalEcalHits"], OutputLevel=DEBUG)
## copiers to get around input --> output copy bug. Note the "2" appended to the output collection. ## copiers to get around input --> output copy bug. Note the "2" appended to the output collection.
copier = MCCopier("MCCopier", inputCollection="mcparticles", outputCollection="mcparticles2",OutputLevel=WARN) copier = MCCopier("MCCopier", inputCollection="mcparticles", outputCollection="mcparticles2",OutputLevel=INFO)
calcopier = CalCopier("CalCopier", inputCollection="CrystalEcalHits", outputCollection="CrystalEcalHits2",OutputLevel=WARN) calcopier = CalCopier("CalCopier", inputCollection="CrystalEcalHits", outputCollection="CrystalEcalHits2",OutputLevel=INFO)
emcaldigi = CrystalEndcapsDigi("ecal_digi", emcaldigi = CrystalEndcapsDigi("ecal_digi",
inputHitCollection="CrystalEcalHits", inputHitCollection="CrystalEcalHits",
...@@ -81,5 +81,5 @@ ApplicationMgr( ...@@ -81,5 +81,5 @@ ApplicationMgr(
EvtSel = 'NONE', EvtSel = 'NONE',
EvtMax = n_events, EvtMax = n_events,
ExtSvc = [podioevent], ExtSvc = [podioevent],
OutputLevel=WARN OutputLevel=INFO
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment