Skip to content
Snippets Groups Projects

fix imaging cal CI

Closed Chao Peng requested to merge update_imaging_ecal into master
Files
5
@@ -31,7 +31,6 @@ print(kwargs)
# get sampling fraction from system environment variable, 1.0 by default
sf = float(os.environ.get('CB_EMCAL_SAMP_FRAC', '1.0'))
geo_service = GeoSvc("GeoSvc", detectors=kwargs['compact'].split(','))
podioevent = EICDataSvc("EventDataSvc", inputs=kwargs['input'].split(','), OutputLevel=DEBUG)
out = PodioOutput("out", filename=kwargs['output'])
@@ -64,13 +63,15 @@ imcalreco = ImagingPixelReco("imcal_reco",
readoutClass="EcalBarrelHits",
layerField="layer",
sectorField="module")
imcalcluster = ImagingTopoCluster(inputHitCollection="RecoEcalBarrelHits",
imcalcluster = ImagingTopoCluster("imcal_cluster",
inputHitCollection="RecoEcalBarrelHits",
outputClusterCollection="EcalBarrelClusters",
localRanges=[2.*units.mm, 2*units.mm],
adjLayerRanges=[10*units.mrad, 10*units.mrad],
adjLayerDiff=2,
adjSectorDist=3.*units.cm)
clusterreco = ImagingClusterReco(inputClusterCollection="EcalBarrelClusters",
clusterreco = ImagingClusterReco("imcal_clreco",
inputClusterCollection="EcalBarrelClusters",
outputLayerCollection="EcalBarrelClustersLayers",
samplingFraction=sf,
OutputLevel=DEBUG)
Loading