◆ PerformanceHist()
41 ,
pt (
name+
"pt",
"", 500, 0, 1000)
42 ,
e (
name+
"e",
"", 500, 0, 1000)
43 ,
eta(
name+
"eta",
"", 100, -3, 3)
44 ,
phi(
name+
"phi",
"", 100, -3.15, 3.15)
46 cout <<
"New set of histograms for " <<
name << endl;
◆ Fill()
void Fill |
( |
const auto & |
Photon, |
|
|
float |
w |
|
) |
| |
|
inline |
51 pt.Fill(Photon.CorrP4().Pt(),
w);
52 e.Fill(Photon.CorrP4().E(),
w);
53 eta.Fill(Photon.CorrP4().Eta(),
w);
54 phi.Fill(Photon.CorrP4().Phi(),
w);
◆ Write()
void Write |
( |
TDirectory * |
dir | ) |
|
|
inline |
60 auto subdir = dir->mkdir(
name);
63 h->SetDirectory(subdir);
64 TString hname = h->GetName();
65 hname.ReplaceAll(
name,
"");
◆ eta
◆ name
TDirectory's name (e.g. barrel_rec)
◆ phi
◆ pt
The documentation for this struct was generated from the following file: