From d4c1340bca9fc5b9cbb042b48a4fec501138a364 Mon Sep 17 00:00:00 2001 From: "jihee.kim" <jihee.kim@anl.gov> Date: Thu, 30 Jul 2020 16:50:21 -0500 Subject: [PATCH] Edited readout name. --- calorimeters/simple_checking_crystal.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calorimeters/simple_checking_crystal.cxx b/calorimeters/simple_checking_crystal.cxx index bd68e33..32997fb 100644 --- a/calorimeters/simple_checking_crystal.cxx +++ b/calorimeters/simple_checking_crystal.cxx @@ -16,7 +16,7 @@ void simple_checking_crystal(const char* fname = "sim_output/output_emcal_electr auto nhits = [] (std::vector<dd4hep::sim::Geant4Calorimeter::Hit*>& hits){ return (int) hits.size(); }; - auto d1 = d0.Define("nhits", nhits, {"ZDCHits"}); + auto d1 = d0.Define("nhits", nhits, {"EcalHits"}); auto h0 = d1.Histo1D(TH1D("h0", "nhits; ", 20, 0,20), "nhits"); auto n0 = d1.Filter([](int n){ return (n>0); },{"nhits"}).Count(); -- GitLab