diff --git a/benchmarks/B0/scripts/gen_far_forward_protons.cxx b/benchmarks/B0/scripts/gen_far_forward_protons.cxx index 33d5f2e4bca1a120e0da5804f35ddeed56fed6f3..1b363ca1e5e656967196307dd5586ba5bf0d78a8 100644 --- a/benchmarks/B0/scripts/gen_far_forward_protons.cxx +++ b/benchmarks/B0/scripts/gen_far_forward_protons.cxx @@ -53,12 +53,12 @@ void gen_far_forward_protons(int n_events = 100, //std::cout << std::sqrt(px*px + py*py + pz*pz) - p << " is zero? \n"; // type 1 is final state - // pdgid 11 - proton 0.510 MeV/c^2 + // pdgid 11 - proton 938.272 MeV/c^2 GenParticlePtr p3 = std::make_shared<GenParticle>( FourVector( px, py, pz, - sqrt(p*p + (0.000511 * 0.000511))), - 11, 1); + sqrt(p*p + (0.938272 * 0.938272))), + 2212, 1); GenVertexPtr v1 = std::make_shared<GenVertex>(); v1->add_particle_in(p1); diff --git a/benchmarks/imaging_ecal/options/imaging_2dcluster.py b/benchmarks/imaging_ecal/options/imaging_2dcluster.py index 45669e17d087e204af97ea9aab1d839064df23eb..6802e07d87218a43614e2ff4e0e6d09997a05cc6 100644 --- a/benchmarks/imaging_ecal/options/imaging_2dcluster.py +++ b/benchmarks/imaging_ecal/options/imaging_2dcluster.py @@ -17,7 +17,7 @@ with open('config/emcal_barrel_calibration.json') as f: calib_data = json.load(f)['electron'] kwargs = dict() -kwargs['sf'] = float(calib_data['sampling_fraction_scfi']) +kwargs['img_sf'] = float(calib_data['sampling_fraction_img']) # input arguments through environment variables kwargs['input'] = os.environ.get('CB_EMCAL_SIM_FILE', '../topside/barrel_pion0_5GeV.root') @@ -80,7 +80,7 @@ imcal_barrel_clreco = RecoCoG('imcal_barrel_clreco', outputClusterCollection='EcalBarrelClusters', outputInfoCollection='EcalBarrelClustersInfo', logWeightBase=6.2, - samplingFraction=kwargs['sf']) + samplingFraction=kwargs['img_sf']) podout.outputCommands = ['keep *']