Skip to content
Snippets Groups Projects
Commit 44c62616 authored by Marshall Scott's avatar Marshall Scott
Browse files

Changed initial samp_frac to 0.1

parent e027969c
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !51. Comments created here will be created in the context of that merge request.
...@@ -65,7 +65,7 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b ...@@ -65,7 +65,7 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b
ROOT::RDataFrame d0("events", input_fname); ROOT::RDataFrame d0("events", input_fname);
// Sampling Fraction // Sampling Fraction
double samp_frac = 0.0136; double samp_frac = 0.01;//0.0136
// Thrown Energy [GeV] // Thrown Energy [GeV]
auto Ethr = [](std::vector<dd4pod::Geant4ParticleData> const& input) { auto Ethr = [](std::vector<dd4pod::Geant4ParticleData> const& input) {
...@@ -149,7 +149,7 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b ...@@ -149,7 +149,7 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b
// Set sampling Fraction, ideally this will be taken from a json file // Set sampling Fraction, ideally this will be taken from a json file
//samp_frac = hfsam -> GetMean(); //samp_frac = hfsam -> GetMean();
samp_frac = 0.5; //samp_frac = 0.5;
auto d2 = d1.Define("dE", eResol, {"Esim","Ethr"}) auto d2 = d1.Define("dE", eResol, {"Esim","Ethr"})
.Define("dE_rel", eResol_rel, {"Esim","Ethr"}) .Define("dE_rel", eResol_rel, {"Esim","Ethr"})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment