From 3e8d5f5cbf80d289b4123ab0b3995ecb6f06c722 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Sat, 17 Apr 2021 18:24:23 -0500 Subject: [PATCH] modified: simple_checking_crystal.cxx --- benchmarks/calorimeters/simple_checking_crystal.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/calorimeters/simple_checking_crystal.cxx b/benchmarks/calorimeters/simple_checking_crystal.cxx index ce3797d8..d60c2d6c 100644 --- a/benchmarks/calorimeters/simple_checking_crystal.cxx +++ b/benchmarks/calorimeters/simple_checking_crystal.cxx @@ -14,7 +14,7 @@ void simple_checking_crystal(const char* fname = "sim_output/output_emcal_electr ROOT::RDataFrame d0(*t);//, {"EcalHits","MCParticles"}); - auto nhits = [] (std::vector<dd4hep::sim::Geant4Calorimeter::Hit*>& hits){ return (int) hits.size(); }; + auto nhits = [] (const std::vector<dd4pod::CalorimeterHit>& hits){ return (int) hits.size(); }; auto d1 = d0.Define("nhits", nhits, {"CrystalEcalHits"}); auto h0 = d1.Histo1D(TH1D("h0", "nhits; ", 20, 0,20), "nhits"); -- GitLab