Skip to content
Snippets Groups Projects
Commit a4b2208d authored by Jihee Kim's avatar Jihee Kim
Browse files

Fixed typo

parent 22191e6c
No related branches found
No related tags found
1 merge request!194Draft: Resolve "Update pi0 reconstruction"
This commit is part of merge request !194. Comments created here will be created in the context of that merge request.
...@@ -19,7 +19,7 @@ with open('config/emcal_barrel_calibration.json') as f: ...@@ -19,7 +19,7 @@ with open('config/emcal_barrel_calibration.json') as f:
calib_data = json.load(f)['electron'] calib_data = json.load(f)['electron']
kwargs = dict() kwargs = dict()
kwargs['sf'] = float(calib_data['sampling_fraction_img']) kwargs['img_sf'] = float(calib_data['sampling_fraction_img'])
# input arguments through environment variables # input arguments through environment variables
kwargs['input'] = os.environ.get('CB_EMCAL_SIM_FILE', '../topside/barrel_pion0_5GeV.root') kwargs['input'] = os.environ.get('CB_EMCAL_SIM_FILE', '../topside/barrel_pion0_5GeV.root')
...@@ -82,7 +82,7 @@ clusterreco = ImagingClusterReco("imcal_clreco", ...@@ -82,7 +82,7 @@ clusterreco = ImagingClusterReco("imcal_clreco",
outputLayerCollection="EcalBarrelImagingClustersLayers", outputLayerCollection="EcalBarrelImagingClustersLayers",
outputClusterCollection="EcalBarrelImagingClusters", outputClusterCollection="EcalBarrelImagingClusters",
outputInfoCollection="EcalBarrelImagingClustersInfo", outputInfoCollection="EcalBarrelImagingClustersInfo",
samplingFraction=sf) samplingFraction=kwargs['img_sf'])
out.outputCommands = ["keep *"] out.outputCommands = ["keep *"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment