CTPPSProtonReconstructionPlotter::SingleRPPlots::SingleRPPlots |
( |
| ) |
|
|
inline |
Definition at line 99 of file CTPPSProtonReconstructionPlotter.cc.
References gen::n.
100 :
h_multiplicity(
new TH1D(
"",
";reconstructed protons", 11, -0.5, 10.5)),
101 h_xi(
new TH1D(
"",
";#xi", 100, 0., 0.3)),
102 h2_th_y_vs_xi(
new TH2D(
"",
";#xi;#theta_{y} (rad)", 100, 0., 0.3, 100, -500E-6, +500E-6)),
103 p_th_y_vs_xi(
new TProfile(
"",
";#xi;#theta_{y} (rad)", 100, 0., 0.3)),
104 h_xi_n1f1(
new TH1D(
"",
";#xi", 100, 0., 0.3)) {
105 for (
unsigned int n = 2;
n <= 10; ++
n)
std::unique_ptr< TH2D > h2_th_y_vs_xi
std::unique_ptr< TProfile > p_th_y_vs_xi
std::unique_ptr< TH1D > h_multiplicity
std::unique_ptr< TH1D > h_xi
std::map< unsigned int, TH1D * > m_h_xi_nTracks
std::unique_ptr< TH1D > h_xi_n1f1
void CTPPSProtonReconstructionPlotter::SingleRPPlots::fill |
( |
const reco::ForwardProton & |
p, |
|
|
unsigned int |
nTracks, |
|
|
bool |
n1f1 |
|
) |
| |
|
inline |
void CTPPSProtonReconstructionPlotter::SingleRPPlots::write |
( |
| ) |
const |
|
inline |
Definition at line 126 of file CTPPSProtonReconstructionPlotter.cc.
References AlCaHLTBitMon_ParallelJobs::p.
133 TDirectory *d_top = gDirectory;
135 gDirectory = d_top->mkdir(
"h_xi_nTracks");
138 sprintf(buf,
"h_xi_nTracks_%u",
p.first);
139 p.second->Write(buf);
std::unique_ptr< TH2D > h2_th_y_vs_xi
std::unique_ptr< TProfile > p_th_y_vs_xi
std::unique_ptr< TH1D > h_multiplicity
std::unique_ptr< TH1D > h_xi
std::map< unsigned int, TH1D * > m_h_xi_nTracks
std::unique_ptr< TH1D > h_xi_n1f1
std::unique_ptr<TH2D> CTPPSProtonReconstructionPlotter::SingleRPPlots::h2_th_y_vs_xi |
std::unique_ptr<TH1D> CTPPSProtonReconstructionPlotter::SingleRPPlots::h_multiplicity |
std::unique_ptr<TH1D> CTPPSProtonReconstructionPlotter::SingleRPPlots::h_xi |
std::unique_ptr<TH1D> CTPPSProtonReconstructionPlotter::SingleRPPlots::h_xi_n1f1 |
std::map<unsigned int, TH1D *> CTPPSProtonReconstructionPlotter::SingleRPPlots::m_h_xi_nTracks |
std::unique_ptr<TProfile> CTPPSProtonReconstructionPlotter::SingleRPPlots::p_th_y_vs_xi |