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

samplingFraction in ImagingPixelReco, not ImagingClusterReco

parent ca86f4d6
No related branches found
No related tags found
1 merge request!242EDM4hep: mcparticles -> MCParticles
......@@ -72,6 +72,7 @@ imcalreco = ImagingPixelReco('imcal_reco',
readoutClass='EcalBarrelHits',
layerField='layer',
sectorField='module',
samplingFraction=kwargs['img_sf'],
**imcaldaq)
imcalcluster = ImagingTopoCluster('imcal_cluster',
......@@ -87,8 +88,7 @@ clusterreco = ImagingClusterReco('imcal_clreco',
inputProtoClusters=imcalcluster.outputProtoClusterCollection,
outputLayers='EcalBarrelImagingClustersLayers',
outputClusters='EcalBarrelImagingClusters',
mcHits="EcalBarrelHits",
samplingFraction=kwargs['img_sf'])
mcHits="EcalBarrelHits")
# scfi layers
scfi_barrel_daq = dict(
......@@ -110,6 +110,7 @@ scfi_barrel_reco = CalHitReco("scfi_barrel_reco",
layerField="layer",
sectorField="module",
localDetFields=["system", "module"], # use local coordinates in each module (stave)
samplingFraction=kwargs['scfi_sf'],
**scfi_barrel_daq)
# merge hits in different layer (projection to local x-y plane)
......@@ -133,9 +134,7 @@ scfi_barrel_cl = IslandCluster("scfi_barrel_cl",
scfi_barrel_clreco = RecoCoG("scfi_barrel_clreco",
inputProtoClusterCollection=scfi_barrel_cl.outputProtoClusterCollection,
outputClusterCollection="EcalBarrelScFiClusters",
mcHits="EcalBarrelScFiHits",
logWeightBase=6.2,
samplingFraction=kwargs['scfi_sf'])
logWeightBase=6.2)
# TODO: merge two types of clusters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment