Skip to content
Snippets Groups Projects
Commit 9560a1a9 authored by Alex Jentsch's avatar Alex Jentsch
Browse files

Wrong label for raw RP hits.

parent d18ce327
No related branches found
No related tags found
No related merge requests found
......@@ -105,11 +105,11 @@ int hits_far_forward_protons(const char* fname = "sim_far_forward_protons.root")
//.Define("N_VtxBarrelHits",[](std::vector<eic::TrackerHitData> hits) { return hits.size();},{"VertexBarrelRecHits"})
.Define("N_BarrelHits", [](std::vector<dd4pod::TrackerHitData> hits) { return hits.size();}, {"TrackerBarrelHits"})
.Define("N_EndcapHits", [](std::vector<dd4pod::TrackerHitData> hits) { return hits.size();}, {"TrackerEndcapHits"})
.Define("N_OMD_hits", [](std::vector<dd4pod::TrackerHitData> hits) { return hits.size();}, {"ForwardOffMTrackerHits"})
.Define("N_RP_hits", [](std::vector<dd4pod::TrackerHitData> hits) { return hits.size();}, {"ForwardRomanPotsHits"})
//.Define("N_OMD_hits", [](std::vector<dd4pod::TrackerHitData> hits) { return hits.size();}, {"ForwardOffMTrackerHits"})
//.Define("N_RP_hits", [](std::vector<dd4pod::TrackerHitData> hits) { return hits.size();}, {"ForwardRomanPotsHits"})
;
auto hBarrel_x_vs_y = df0.Histo2D({"hBarrel_x_vs_y", "; x ; y ", 100, -900, 900,100, -900, 900 }, "ForwardRomanPotsHits.position.x", "ForwardRomanPotsHits.position.y");
auto hBarrel_x_vs_y = df0.Histo2D({"hBarrel_x_vs_y", "; x ; y ", 100, -900, 900,100, -900, 900 }, "ForwardRomanPotRawHits.position.x", "ForwardRomanPotRawHits.position.y");
auto hBarrel_N_vs_theta = df0.Histo1D({"hBarrel_N_vs_theta", "; #theta [deg.]", 20, 0, 180 }, "theta0", "N_BarrelHits");
auto hEndcap_N_vs_theta = df0.Histo1D({"hEndcap_N_vs_theta", "; #theta [deg.]", 20, 0, 180 }, "theta0", "N_EndcapHits");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment