Skip to content
Snippets Groups Projects

Resolve "CI pipeline with AMEGO-X type EMCal Barrel"

Compare and
8 files
+ 24
10
Compare changes
  • Side-by-side
  • Inline

Files

@@ -10,9 +10,10 @@ from GaudiKernel.DataObjectHandleBase import DataObjectHandleBase
from Configurables import ApplicationMgr, EICDataSvc, PodioOutput, GeoSvc
from GaudiKernel import SystemOfUnits as units
directory_name = "calorimeters"
detector_name = "topside"
if "JUGGLER_DETECTOR" in os.environ :
detector_name = str(os.environ["JUGGLER_DETECTOR"])+"/"+detector_name
detector_name = directory_name+"/"+str(os.environ["JUGGLER_DETECTOR"])
input_sim_file = "jug_input.root"
if "JUGGLER_SIM_FILE" in os.environ :
@@ -62,11 +63,16 @@ embarreldigi = EcalTungstenSamplingDigi("ecal_barrel_digi",
outputHitCollection="RawEcalBarrelHits",
inputEnergyUnit=units.GeV,
inputTimeUnit=units.ns,
DynamicRangeADC=700*keV,
energyResolutions=[0., 0.02, 0.],
pedestalSigma=50,
OutputLevel=DEBUG)
# Reconstruction
embarrelreco = EcalTungstenSamplingReco("ecal_barrel_reco",
inputHitCollection="RawEcalBarrelHits",
outputHitCollection="RecoEcalBarrelHits",
DynamicRangeADC=700*keV,
pedestalSigma=50,
OutputLevel=DEBUG)
# 2D+1 Clusterings
# readout id definition for barrel ecal
Loading