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

Disable emcal barre pion rejection analysis when no ScFi

parent 2db8d2fd
No related branches found
No related tags found
1 merge request!112Disable emcal barre pion rejection analysis when no ScFi
...@@ -69,6 +69,12 @@ void emcal_barrel_pion_rejection_analysis( ...@@ -69,6 +69,12 @@ void emcal_barrel_pion_rejection_analysis(
ROOT::EnableImplicitMT(); ROOT::EnableImplicitMT();
ROOT::RDataFrame d0("events", {input_fname1, input_fname2}); ROOT::RDataFrame d0("events", {input_fname1, input_fname2});
// Script requires EcalBarrelScFiHits
if (! d0.HasColumn("EcalBarrelScFiHits")) {
std::cout << "EcalBarrelScFiHits is required" << std::endl;
return;
}
// Environment Variables // Environment Variables
std::string detector_path = ""; std::string detector_path = "";
std::string detector_name = "athena";//athena std::string detector_name = "athena";//athena
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment