Skip to content

Commit

Permalink
fix: Remove TProfile max in material composition altogether (#2528)
Browse files Browse the repository at this point in the history
I don't think we actually need that at all.
  • Loading branch information
paulgessinger committed Oct 11, 2023
1 parent 2a75e2c commit c77ea1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Examples/Scripts/MaterialMapping/materialComposition.C
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ struct MaterialHistograms {
: name + std::string("_l0_vs_eta_A") + std::to_string(iA);

x0_vs_eta = new TProfile(x0NameEta.c_str(), "X_{0} vs. #eta", bins, -eta,
eta, 0., 50.);
eta);
l0_vs_eta = new TProfile(l0NameEta.c_str(), "L_{0} vs. #eta", bins, -eta,
eta, 0., 50.);
eta);

std::string x0NamePhi =
(iA == 0) ? name + std::string("_x0_vs_phi_all")
Expand All @@ -56,9 +56,9 @@ struct MaterialHistograms {
: name + std::string("_l0_vs_phi_A") + std::to_string(iA);

x0_vs_phi = new TProfile(x0NamePhi.c_str(), "X_{0} vs. #phi", bins, -M_PI,
M_PI, 0., 50.);
M_PI);
l0_vs_phi = new TProfile(l0NamePhi.c_str(), "L_{0} vs. #phi", bins, -M_PI,
M_PI, 0., 50.);
M_PI);
}

/// This fills the event into the histograms
Expand Down

0 comments on commit c77ea1d

Please sign in to comment.