Skip to content
Snippets Groups Projects
Commit d4c1340b authored by Jihee Kim's avatar Jihee Kim
Browse files

Edited readout name.

parent 6a391bb3
Branches
Tags
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment