ATLAS Offline Software
Loading...
Searching...
No Matches
PFO::PFOClusterMomentPlots Class Reference

#include <PFOClusterMomentPlots.h>

Inheritance diagram for PFO::PFOClusterMomentPlots:
Collaboration diagram for PFO::PFOClusterMomentPlots:

Public Member Functions

 PFOClusterMomentPlots (PlotBase *pParent, const std::string &sDir, const std::string &sFEContainerName)
void fill (const xAOD::FlowElement &FE, const xAOD::EventInfo &eventInfo)
void initialize ()
void finalize ()
void setDetailLevel (int iDetailLevel)
void RegisterSubPlot (PlotBase *pPlotBase)
std::vector< HistDataretrieveBookedHistograms ()
 Retrieve all booked histograms.
std::vector< TreeDataretrieveBookedTrees ()
 Retrieve all booked trees.
std::vector< EfficiencyDataretrieveBookedEfficiencies ()
 Retrieve all booked efficiency objects.
TTree * BookTree (const std::string &name, bool prependDir=true)
 Book a TTree.
const std::string & getDirectory ()
Methods to book monitoring histograms

Note: methods starting with capitals should be deprecated in favour of camel-cased methods

TH1D * Book1D (const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
 Book a TH1D histogram.
TH1D * Book1D (const std::string &name, TH1 *refHist, const std::string &labels, bool prependDir=true)
 Book a TH1D histogram using refHist as reference for number of bins and axis range.
TH2F * Book2D (const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, bool prependDir=true)
 Book a TH2F histogram.
TH2F * Book2D (const std::string &name, TH2 *refHist, const std::string &labels, bool prependDir=true)
 Book a TH2D histogram using refHist as reference for number of bins and axis range.
TH2F * Book2D (const std::string &name, const std::string &labels, int nBinsX, Double_t *binsX, int nBinsY, Double_t startY, Double_t endY, bool prependDir=true)
 Book a TH2F histogram with variable x axis binning.
TH3F * Book3D (const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, int nBinsZ, float startZ, float endZ, bool prependDir=true)
 Book a TH3F histogram.
TH3F * Book3D (const std::string &name, TH3 *refHist, const std::string &labels, bool prependDir=true)
 Book a TH3F histogram using refHist as reference for number of bins and axis range.
TProfile * BookTProfile (const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, float startY=-1, float endY=-1, bool prependDir=true, bool useRMS=false)
 Book a TProfile histogram.
TProfile * BookTProfile (const std::string &name, const std::string &labels, int nBinsX, float *binsX, bool prependDir=true)
 Book a TProfile histogram with variable binning in x-axis.
TProfile * BookTProfileRangeY (const std::string &name, const std::string &labels, int nBinsX, double *binsX, double startY, double endY, bool prependDir=true)
 Book a TProfile histogram with variable binning in x-axis and limits in y-values.
TProfile2D * BookTProfile2D (const std::string &name, const std::string &labels, const int nBinsX, const double xlo, const double xhi, const int nBinsY, const double ylo, const double yhi, bool prependDir=true, bool useRMS=false)
 Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values.
TProfile2D * BookTProfile2D (const std::string &name, const std::string &labels, const int nBinsX, double *binsX, const int nBinsY, double *binsY, bool prependDir=true, bool useRMS=false)
 Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values.
TEfficiency * BookTEfficiency (const std::string &name, const std::string &labels, const int nBinsX, const float xlo, const float xhi, const bool prependDir=true)
 Book a (1-D) TEfficiency histogram.
TEfficiency * BookTEfficiency (const std::string &name, const std::string &labels, const int nBinsX, const float xlo, const float xhi, const int nBinsy, const float ylo, const float yhi, const bool prependDir=true)
 Book a (2-D) TEfficiency histogram.

Protected Attributes

std::vector< PlotBase * > m_vSubNodes
std::vector< HistDatam_vBookedHistograms
std::vector< TreeDatam_vBookedTrees
std::vector< EfficiencyDatam_vBookedEfficiencies
std::string m_sDirectory
int m_iDetailLevel

Private Member Functions

void initializePlots ()
virtual void finalizePlots ()

Static Private Member Functions

static std::string constructPrefix (std::string dir, bool prependDir)

Private Attributes

TH1 * m_FE_SECOND_R {}
 Histograms inclusive in eta.
TH1 * m_FE_CENTER_LAMBDA {}
TH1 * m_FE_ISOLATION {}
TH1 * m_FE_ENG_BAD_CELLS {}
TH1 * m_FE_N_BAD_CELLS {}
TH1 * m_FE_BADLARQ_FRAC {}
TH1 * m_FE_ENG_POS {}
TH1 * m_FE_AVG_LAR_Q {}
TH1 * m_FE_AVG_TILE_Q {}
TH1 * m_FE_EM_PROBABILITY {}
TH1 * m_FE_SECOND_LAMBDA {}
TH1 * m_FE_SECOND_R_etaBinA {}
 Same histograms binned in eta regions.
TH1 * m_FE_CENTER_LAMBDA_etaBinA {}
TH1 * m_FE_ISOLATION_etaBinA {}
TH1 * m_FE_ENG_BAD_CELLS_etaBinA {}
TH1 * m_FE_N_BAD_CELLS_etaBinA {}
TH1 * m_FE_BADLARQ_FRAC_etaBinA {}
TH1 * m_FE_ENG_POS_etaBinA {}
TH1 * m_FE_AVG_LAR_Q_etaBinA {}
TH1 * m_FE_AVG_TILE_Q_etaBinA {}
TH1 * m_FE_EM_PROBABILITY_etaBinA {}
TH1 * m_FE_SECOND_LAMBDA_etaBinA {}
TH1 * m_FE_SECOND_R_etaBinB {}
TH1 * m_FE_CENTER_LAMBDA_etaBinB {}
TH1 * m_FE_ISOLATION_etaBinB {}
TH1 * m_FE_ENG_BAD_CELLS_etaBinB {}
TH1 * m_FE_N_BAD_CELLS_etaBinB {}
TH1 * m_FE_BADLARQ_FRAC_etaBinB {}
TH1 * m_FE_ENG_POS_etaBinB {}
TH1 * m_FE_AVG_LAR_Q_etaBinB {}
TH1 * m_FE_AVG_TILE_Q_etaBinB {}
TH1 * m_FE_EM_PROBABILITY_etaBinB {}
TH1 * m_FE_SECOND_LAMBDA_etaBinB {}
TH1 * m_FE_SECOND_R_etaBinC {}
TH1 * m_FE_CENTER_LAMBDA_etaBinC {}
TH1 * m_FE_ISOLATION_etaBinC {}
TH1 * m_FE_ENG_BAD_CELLS_etaBinC {}
TH1 * m_FE_N_BAD_CELLS_etaBinC {}
TH1 * m_FE_BADLARQ_FRAC_etaBinC {}
TH1 * m_FE_ENG_POS_etaBinC {}
TH1 * m_FE_AVG_LAR_Q_etaBinC {}
TH1 * m_FE_AVG_TILE_Q_etaBinC {}
TH1 * m_FE_EM_PROBABILITY_etaBinC {}
TH1 * m_FE_SECOND_LAMBDA_etaBinC {}
TH1 * m_FE_SECOND_R_etaBinD {}
TH1 * m_FE_CENTER_LAMBDA_etaBinD {}
TH1 * m_FE_ISOLATION_etaBinD {}
TH1 * m_FE_ENG_BAD_CELLS_etaBinD {}
TH1 * m_FE_N_BAD_CELLS_etaBinD {}
TH1 * m_FE_BADLARQ_FRAC_etaBinD {}
TH1 * m_FE_ENG_POS_etaBinD {}
TH1 * m_FE_AVG_LAR_Q_etaBinD {}
TH1 * m_FE_AVG_TILE_Q_etaBinD {}
TH1 * m_FE_EM_PROBABILITY_etaBinD {}
TH1 * m_FE_SECOND_LAMBDA_etaBinD {}
std::string m_sFEContainerName

Detailed Description

Definition at line 15 of file PFOClusterMomentPlots.h.

Constructor & Destructor Documentation

◆ PFOClusterMomentPlots()

PFO::PFOClusterMomentPlots::PFOClusterMomentPlots ( PlotBase * pParent,
const std::string & sDir,
const std::string & sFEContainerName )

Definition at line 9 of file PFOClusterMomentPlots.cxx.

9 : PlotBase(pParent, sDir), m_sFEContainerName(sFEContainerName){
10
11
12 }
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29

Member Function Documentation

◆ Book1D() [1/2]

TH1D * PlotBase::Book1D ( const std::string & name,
const std::string & labels,
int nBins,
float start,
float end,
bool prependDir = true )
inherited

Book a TH1D histogram.

Definition at line 94 of file PlotBase.cxx.

95 {
96 std::string prefix = constructPrefix(m_sDirectory, prependDir);
97 Bool_t oldstat = TH1::AddDirectoryStatus();
98 TH1::AddDirectory(false);
99 TH1D *hist = new TH1D((prefix + name).c_str(), labels.c_str(), nBins, start, end);
100 TH1::AddDirectory(oldstat);
101
102 hist->Sumw2();
103 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
104 return hist;
105}
static std::string constructPrefix(std::string dir, bool prependDir)
Definition PlotBase.cxx:293
std::vector< HistData > m_vBookedHistograms
Definition PlotBase.h:97
std::string m_sDirectory
Definition PlotBase.h:100

◆ Book1D() [2/2]

TH1D * PlotBase::Book1D ( const std::string & name,
TH1 * refHist,
const std::string & labels,
bool prependDir = true )
inherited

Book a TH1D histogram using refHist as reference for number of bins and axis range.

Definition at line 108 of file PlotBase.cxx.

108 {
109 std::string prefix = constructPrefix(m_sDirectory, prependDir);
110 Bool_t oldstat = TH1::AddDirectoryStatus();
111 TH1::AddDirectory(false);
112 TH1D *hist = new TH1D((prefix + name).c_str(), labels.c_str(), refHist->GetNbinsX(),
113 refHist->GetXaxis()->GetXbins()->GetArray());
114 hist->Sumw2();
115 TH1::AddDirectory(oldstat);
116
117
118 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
119 return hist;
120}

◆ Book2D() [1/3]

TH2F * PlotBase::Book2D ( const std::string & name,
const std::string & labels,
int nBinsX,
Double_t * binsX,
int nBinsY,
Double_t startY,
Double_t endY,
bool prependDir = true )
inherited

Book a TH2F histogram with variable x axis binning.

Definition at line 144 of file PlotBase.cxx.

145 {
146 std::string prefix = constructPrefix(m_sDirectory, prependDir);
147 Bool_t oldstat = TH2::AddDirectoryStatus();
148 TH2::AddDirectory(false);
149 TH2F *hist = new TH2F((prefix + name).c_str(), labels.c_str(), nBinsX, binsX, nBinsY, startY, endY);
150 hist->Sumw2();
151 TH2::AddDirectory(oldstat);
152 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
153 return hist;
154}
TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)

◆ Book2D() [2/3]

TH2F * PlotBase::Book2D ( const std::string & name,
const std::string & labels,
int nBinsX,
float startX,
float endX,
int nBinsY,
float startY,
float endY,
bool prependDir = true )
inherited

Book a TH2F histogram.

Definition at line 123 of file PlotBase.cxx.

124 {
125 std::string prefix = constructPrefix(m_sDirectory, prependDir);
126 Bool_t oldstat = TH2::AddDirectoryStatus();
127 TH2::AddDirectory(false);
128 TH2F *hist = new TH2F((prefix + name).c_str(), labels.c_str(), nBinsX, startX, endX, nBinsY, startY, endY);
129 hist->Sumw2();
130 TH2::AddDirectory(oldstat);
131
132
133 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
134 return hist;
135}

◆ Book2D() [3/3]

TH2F * PlotBase::Book2D ( const std::string & name,
TH2 * refHist,
const std::string & labels,
bool prependDir = true )
inherited

Book a TH2D histogram using refHist as reference for number of bins and axis range.

Definition at line 138 of file PlotBase.cxx.

138 {
139 return Book2D(name, labels, refHist->GetNbinsX(), refHist->GetXaxis()->GetXmin(), refHist->GetXaxis()->GetXmax(),
140 refHist->GetNbinsY(), refHist->GetYaxis()->GetXmin(), refHist->GetYaxis()->GetXmax(), prependDir);
141}
TH2F * Book2D(const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, bool prependDir=true)
Book a TH2F histogram.
Definition PlotBase.cxx:123

◆ Book3D() [1/2]

TH3F * PlotBase::Book3D ( const std::string & name,
const std::string & labels,
int nBinsX,
float startX,
float endX,
int nBinsY,
float startY,
float endY,
int nBinsZ,
float startZ,
float endZ,
bool prependDir = true )
inherited

Book a TH3F histogram.

Definition at line 157 of file PlotBase.cxx.

158 {
159 std::string prefix = constructPrefix(m_sDirectory, prependDir);
160 Bool_t oldstat = TH3::AddDirectoryStatus();
161 TH3::AddDirectory(false);
162 TH3F *hist = new TH3F((prefix + name).c_str(),
163 labels.c_str(), nBinsX, startX, endX, nBinsY, startY, endY, nBinsZ, startZ, endZ);
164 hist->Sumw2();
165 TH3::AddDirectory(oldstat);
166 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
167 return hist;
168}

◆ Book3D() [2/2]

TH3F * PlotBase::Book3D ( const std::string & name,
TH3 * refHist,
const std::string & labels,
bool prependDir = true )
inherited

Book a TH3F histogram using refHist as reference for number of bins and axis range.

Definition at line 171 of file PlotBase.cxx.

171 {
172 std::string prefix = constructPrefix(m_sDirectory, prependDir);
173 Bool_t oldstat = TH3::AddDirectoryStatus();
174 TH3::AddDirectory(false);
175 TH3F *hist = new TH3F((prefix + name).c_str(), labels.c_str(), refHist->GetNbinsX(),
176 refHist->GetXaxis()->GetXbins()->GetArray(), refHist->GetNbinsY(),
177 refHist->GetYaxis()->GetXbins()->GetArray(), refHist->GetNbinsZ(),
178 refHist->GetZaxis()->GetXbins()->GetArray());
179 TH3::AddDirectory(oldstat);
180
181 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
182 return hist;
183}

◆ BookTEfficiency() [1/2]

TEfficiency * PlotBase::BookTEfficiency ( const std::string & name,
const std::string & labels,
const int nBinsX,
const float xlo,
const float xhi,
const bool prependDir = true )
inherited

Book a (1-D) TEfficiency histogram.

Definition at line 257 of file PlotBase.cxx.

257 {
258 std::string prefix = constructPrefix(m_sDirectory, prependDir);
259 //Bool_t oldstat = TEfficiency::AddDirectoryStatus();
260 TEfficiency *hist = new TEfficiency((prefix + name).c_str(), labels.c_str(), nBinsX, xlo, xhi);
261 //hist->SetAutoSave(0);
262 //hist->SetAtoFlush(0);
263 hist->SetDirectory(nullptr);
264 m_vBookedEfficiencies.emplace_back(hist, m_sDirectory);
265 //TEfficiency::AddDirectory(oldstat);
266 return hist;
267}
std::vector< EfficiencyData > m_vBookedEfficiencies
Definition PlotBase.h:99

◆ BookTEfficiency() [2/2]

TEfficiency * PlotBase::BookTEfficiency ( const std::string & name,
const std::string & labels,
const int nBinsX,
const float xlo,
const float xhi,
const int nBinsy,
const float ylo,
const float yhi,
const bool prependDir = true )
inherited

Book a (2-D) TEfficiency histogram.

Definition at line 270 of file PlotBase.cxx.

270 {
271 std::string prefix = constructPrefix(m_sDirectory, prependDir);
272
273 TEfficiency *hist = new TEfficiency((prefix + name).c_str(), labels.c_str(), nBinsX, xlo, xhi, nBinsY, ylo, yhi);
274 hist->SetDirectory(nullptr);
275 m_vBookedEfficiencies.emplace_back(hist, m_sDirectory);
276
277 return hist;
278}

◆ BookTProfile() [1/2]

TProfile * PlotBase::BookTProfile ( const std::string & name,
const std::string & labels,
int nBinsX,
float * binsX,
bool prependDir = true )
inherited

Book a TProfile histogram with variable binning in x-axis.

Definition at line 204 of file PlotBase.cxx.

204 {
205 std::string prefix = constructPrefix(m_sDirectory, prependDir);
206 TProfile *hist(nullptr);
207 Bool_t oldstat = TProfile::AddDirectoryStatus();
208 TProfile::AddDirectory(false);
209
210 hist = new TProfile((prefix + name).c_str(), labels.c_str(), nBinsX, binsX);
211 TProfile::AddDirectory(oldstat);
212 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
213 return hist;
214}

◆ BookTProfile() [2/2]

TProfile * PlotBase::BookTProfile ( const std::string & name,
const std::string & labels,
int nBinsX,
float startX,
float endX,
float startY = -1,
float endY = -1,
bool prependDir = true,
bool useRMS = false )
inherited

Book a TProfile histogram.

Definition at line 186 of file PlotBase.cxx.

187 {
188 std::string prefix = constructPrefix(m_sDirectory, prependDir);
189 TProfile *hist(nullptr);
190 Bool_t oldstat = TProfile::AddDirectoryStatus();
191 TProfile::AddDirectory(false);
192 std::string opt = useRMS ? "S" : "";
193 if ((startY == -1) and (endY == -1)) {
194 hist = new TProfile((prefix + name).c_str(), labels.c_str(), nBinsX, startX, endX, opt.c_str());
195 } else {
196 hist = new TProfile((prefix + name).c_str(), labels.c_str(), nBinsX, startX, endX, startY, endY, opt.c_str());
197 }
198 TProfile::AddDirectory(oldstat);
199 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
200 return hist;
201}

◆ BookTProfile2D() [1/2]

TProfile2D * PlotBase::BookTProfile2D ( const std::string & name,
const std::string & labels,
const int nBinsX,
const double xlo,
const double xhi,
const int nBinsY,
const double ylo,
const double yhi,
bool prependDir = true,
bool useRMS = false )
inherited

Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values.

Definition at line 231 of file PlotBase.cxx.

233 {
234 std::string prefix = constructPrefix(m_sDirectory, prependDir);
235 Bool_t oldstat = TProfile2D::AddDirectoryStatus();
236 TProfile2D::AddDirectory(false);
237 std::string opt = useRMS ? "S" : "";
238 TProfile2D *hist = new TProfile2D((prefix + name).c_str(), labels.c_str(), nBinsX, xlo, xhi, nBinsY, ylo, yhi, opt.c_str());
239 TProfile2D::AddDirectory(oldstat);
240 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
241 return hist;
242}

◆ BookTProfile2D() [2/2]

TProfile2D * PlotBase::BookTProfile2D ( const std::string & name,
const std::string & labels,
const int nBinsX,
double * binsX,
const int nBinsY,
double * binsY,
bool prependDir = true,
bool useRMS = false )
inherited

Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values.

Definition at line 245 of file PlotBase.cxx.

245 {
246 std::string prefix = constructPrefix(m_sDirectory, prependDir);
247 Bool_t oldstat = TProfile2D::AddDirectoryStatus();
248 TProfile2D::AddDirectory(false);
249 std::string opt = useRMS ? "S" : "";
250 TProfile2D *hist = new TProfile2D((prefix + name).c_str(), labels.c_str(), nBinsX, binsX, nBinsY, binsY, opt.c_str());
251 TProfile2D::AddDirectory(oldstat);
252 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
253 return hist;
254}

◆ BookTProfileRangeY()

TProfile * PlotBase::BookTProfileRangeY ( const std::string & name,
const std::string & labels,
int nBinsX,
double * binsX,
double startY,
double endY,
bool prependDir = true )
inherited

Book a TProfile histogram with variable binning in x-axis and limits in y-values.

Definition at line 217 of file PlotBase.cxx.

218 {
219 std::string prefix = constructPrefix(m_sDirectory, prependDir);
220 TProfile *hist(nullptr);
221 Bool_t oldstat = TProfile::AddDirectoryStatus();
222 TProfile::AddDirectory(false);
223
224 hist = new TProfile((prefix + name).c_str(), labels.c_str(), (Int_t) nBinsX, binsX, startY, endY);
225 TProfile::AddDirectory(oldstat);
226 m_vBookedHistograms.emplace_back(hist, m_sDirectory);
227 return hist;
228}

◆ BookTree()

TTree * PlotBase::BookTree ( const std::string & name,
bool prependDir = true )
inherited

Book a TTree.

Definition at line 281 of file PlotBase.cxx.

281 {
282 std::string prefix = constructPrefix(m_sDirectory, prependDir);
283 TTree *tree = new TTree((prefix + name).c_str(), "");
284
285 tree->SetAutoSave(0);
286 tree->SetAutoFlush(0);
287 tree->SetDirectory(nullptr);
288 m_vBookedTrees.emplace_back(tree, m_sDirectory);
289 return tree;
290}
std::vector< TreeData > m_vBookedTrees
Definition PlotBase.h:98
TChain * tree

◆ constructPrefix()

std::string PlotBase::constructPrefix ( std::string dir,
bool prependDir )
staticprivateinherited

Definition at line 293 of file PlotBase.cxx.

293 {
294 if (!prependDir) {
295 return "";
296 }
297 std::replace(dir.begin(), dir.end(), '/', '_');
298 return dir;
299}

◆ fill()

void PFO::PFOClusterMomentPlots::fill ( const xAOD::FlowElement & FE,
const xAOD::EventInfo & eventInfo )

Definition at line 81 of file PFOClusterMomentPlots.cxx.

81 {
82 float moment_SECOND_R = -1.0;
83 float moment_CENTER_LAMBDA = -1.0;
84 float moment_ISOLATION = -1.0;
85 float moment_ENG_BAD_CELLS=-1.0;
86 float moment_N_BAD_CELLS = -1.0;
87 float moment_BADLARQ_FRAC = -1.0;
88 float moment_ENG_POS = -1.0;
89 float moment_AVG_LAR_Q = -1.0;
90 float moment_AVG_TILE_Q = -1.0;
91 float moment_EM_PROBABILITY = -1.0;
92 float moment_SECOND_LAMBDA = -1.0;
93
94 //as opposed to PFO which uses specific functions to grab the cluster moments, the auxdata is used
95 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_SECOND_R("SECOND_R");
96 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_CENTER_LAMBDA("CENTER_LAMBDA");
97 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_ISOLATION("ISOLATION");
98 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_ENG_BAD_CELLS("ENG_BAD_CELLS");
99 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_N_BAD_CELLS("N_BAD_CELLS");
100 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_BADLARQ_FRAC("BADLARQ_FRAC");
101 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_ENG_POS("ENG_POS");
102 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_AVG_LAR_Q("AVG_LAR_Q");
103 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_AVG_TILE_Q("AVG_TILE_Q");
104 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_EM_PROBABILITY("EM_PROBABILITY");
105 static const SG::AuxElement::ConstAccessor<float>acc_FE_moment_SECOND_LAMBDA("SECOND_LAMBDA");
106
107 //use accessors to retrieve the auxvars
108 if(acc_FE_moment_SECOND_R.isAvailable(FE))
109 moment_SECOND_R=acc_FE_moment_SECOND_R(FE);
110
111 if(acc_FE_moment_CENTER_LAMBDA.isAvailable(FE))
112 moment_CENTER_LAMBDA=acc_FE_moment_CENTER_LAMBDA(FE);
113
114 if(acc_FE_moment_ISOLATION.isAvailable(FE))
115 moment_ISOLATION=acc_FE_moment_ISOLATION(FE);
116
117 if(acc_FE_moment_ENG_BAD_CELLS.isAvailable(FE))
118 moment_ENG_BAD_CELLS=acc_FE_moment_ENG_BAD_CELLS(FE);
119
120 if(acc_FE_moment_N_BAD_CELLS.isAvailable(FE))
121 moment_N_BAD_CELLS=acc_FE_moment_N_BAD_CELLS(FE);
122
123 if(acc_FE_moment_BADLARQ_FRAC.isAvailable(FE))
124 moment_BADLARQ_FRAC=acc_FE_moment_BADLARQ_FRAC(FE);
125
126 if(acc_FE_moment_ENG_POS.isAvailable(FE))
127 moment_ENG_POS=acc_FE_moment_ENG_POS(FE);
128
129 if(acc_FE_moment_AVG_LAR_Q.isAvailable(FE))
130 moment_AVG_LAR_Q=acc_FE_moment_AVG_LAR_Q(FE);
131
132 if(acc_FE_moment_AVG_TILE_Q.isAvailable(FE))
133 moment_AVG_TILE_Q=acc_FE_moment_AVG_TILE_Q(FE);
134
135 if(acc_FE_moment_EM_PROBABILITY.isAvailable(FE))
136 moment_EM_PROBABILITY=acc_FE_moment_EM_PROBABILITY(FE);
137
138 if(acc_FE_moment_SECOND_LAMBDA.isAvailable(FE))
139 moment_SECOND_LAMBDA=acc_FE_moment_SECOND_LAMBDA(FE);
140
141 float FE_eta=FE.eta();
142 m_FE_SECOND_R->Fill(moment_SECOND_R,eventInfo.beamSpotWeight());
143 m_FE_CENTER_LAMBDA->Fill(moment_CENTER_LAMBDA,eventInfo.beamSpotWeight());
144 m_FE_ISOLATION->Fill(moment_ISOLATION,eventInfo.beamSpotWeight());
145 m_FE_ENG_BAD_CELLS->Fill(moment_ENG_BAD_CELLS,eventInfo.beamSpotWeight());
146 m_FE_N_BAD_CELLS->Fill(moment_N_BAD_CELLS,eventInfo.beamSpotWeight());
147 m_FE_BADLARQ_FRAC->Fill(moment_BADLARQ_FRAC,eventInfo.beamSpotWeight());
148 m_FE_ENG_POS->Fill(moment_ENG_POS,eventInfo.beamSpotWeight());
149 m_FE_AVG_LAR_Q->Fill(moment_AVG_LAR_Q,eventInfo.beamSpotWeight());
150 m_FE_AVG_TILE_Q->Fill(moment_AVG_TILE_Q,eventInfo.beamSpotWeight());
151 m_FE_EM_PROBABILITY->Fill(moment_EM_PROBABILITY,eventInfo.beamSpotWeight());
152 m_FE_SECOND_LAMBDA->Fill(moment_SECOND_LAMBDA,eventInfo.beamSpotWeight());
153
154 if (fabs(FE_eta) < 1.5){
155 m_FE_SECOND_R_etaBinA->Fill(moment_SECOND_R,eventInfo.beamSpotWeight());
156 m_FE_CENTER_LAMBDA_etaBinA->Fill(moment_CENTER_LAMBDA,eventInfo.beamSpotWeight());
157 m_FE_ISOLATION_etaBinA->Fill(moment_ISOLATION,eventInfo.beamSpotWeight());
158 m_FE_ENG_BAD_CELLS_etaBinA->Fill(moment_ENG_BAD_CELLS,eventInfo.beamSpotWeight());
159 m_FE_N_BAD_CELLS_etaBinA->Fill(moment_N_BAD_CELLS,eventInfo.beamSpotWeight());
160 m_FE_BADLARQ_FRAC_etaBinA->Fill(moment_BADLARQ_FRAC,eventInfo.beamSpotWeight());
161 m_FE_ENG_POS_etaBinA->Fill(moment_ENG_POS,eventInfo.beamSpotWeight());
162 m_FE_AVG_LAR_Q_etaBinA->Fill(moment_AVG_LAR_Q,eventInfo.beamSpotWeight());
163 m_FE_AVG_TILE_Q_etaBinA->Fill(moment_AVG_TILE_Q,eventInfo.beamSpotWeight());
164 m_FE_EM_PROBABILITY_etaBinA->Fill(moment_EM_PROBABILITY,eventInfo.beamSpotWeight());
165 m_FE_SECOND_LAMBDA_etaBinA->Fill(moment_SECOND_LAMBDA,eventInfo.beamSpotWeight());
166 }//|eta| < 1.5
167 else if (fabs(FE_eta) < 2.5){
168 m_FE_SECOND_R_etaBinB->Fill(moment_SECOND_R,eventInfo.beamSpotWeight());
169 m_FE_CENTER_LAMBDA_etaBinB->Fill(moment_CENTER_LAMBDA,eventInfo.beamSpotWeight());
170 m_FE_ISOLATION_etaBinB->Fill(moment_ISOLATION,eventInfo.beamSpotWeight());
171 m_FE_ENG_BAD_CELLS_etaBinB->Fill(moment_ENG_BAD_CELLS,eventInfo.beamSpotWeight());
172 m_FE_N_BAD_CELLS_etaBinB->Fill(moment_N_BAD_CELLS,eventInfo.beamSpotWeight());
173 m_FE_BADLARQ_FRAC_etaBinB->Fill(moment_BADLARQ_FRAC,eventInfo.beamSpotWeight());
174 m_FE_ENG_POS_etaBinB->Fill(moment_ENG_POS,eventInfo.beamSpotWeight());
175 m_FE_AVG_LAR_Q_etaBinB->Fill(moment_AVG_LAR_Q,eventInfo.beamSpotWeight());
176 m_FE_AVG_TILE_Q_etaBinB->Fill(moment_AVG_TILE_Q,eventInfo.beamSpotWeight());
177 m_FE_EM_PROBABILITY_etaBinB->Fill(moment_EM_PROBABILITY,eventInfo.beamSpotWeight());
178 m_FE_SECOND_LAMBDA_etaBinB->Fill(moment_SECOND_LAMBDA,eventInfo.beamSpotWeight());
179 }
180 else if (fabs(FE_eta) < 3.2){
181 m_FE_SECOND_R_etaBinC->Fill(moment_SECOND_R,eventInfo.beamSpotWeight());
182 m_FE_CENTER_LAMBDA_etaBinC->Fill(moment_CENTER_LAMBDA,eventInfo.beamSpotWeight());
183 m_FE_ISOLATION_etaBinC->Fill(moment_ISOLATION,eventInfo.beamSpotWeight());
184 m_FE_ENG_BAD_CELLS_etaBinC->Fill(moment_ENG_BAD_CELLS,eventInfo.beamSpotWeight());
185 m_FE_N_BAD_CELLS_etaBinC->Fill(moment_N_BAD_CELLS,eventInfo.beamSpotWeight());
186 m_FE_BADLARQ_FRAC_etaBinC->Fill(moment_BADLARQ_FRAC,eventInfo.beamSpotWeight());
187 m_FE_ENG_POS_etaBinC->Fill(moment_ENG_POS,eventInfo.beamSpotWeight());
188 m_FE_AVG_LAR_Q_etaBinC->Fill(moment_AVG_LAR_Q,eventInfo.beamSpotWeight());
189 m_FE_AVG_TILE_Q_etaBinC->Fill(moment_AVG_TILE_Q,eventInfo.beamSpotWeight());
190 m_FE_EM_PROBABILITY_etaBinC->Fill(moment_EM_PROBABILITY,eventInfo.beamSpotWeight());
191 m_FE_SECOND_LAMBDA_etaBinC->Fill(moment_SECOND_LAMBDA,eventInfo.beamSpotWeight());
192 }
193 else{
194 m_FE_SECOND_R_etaBinD->Fill(moment_SECOND_R,eventInfo.beamSpotWeight());
195 m_FE_CENTER_LAMBDA_etaBinD->Fill(moment_CENTER_LAMBDA,eventInfo.beamSpotWeight());
196 m_FE_ISOLATION_etaBinD->Fill(moment_ISOLATION,eventInfo.beamSpotWeight());
197 m_FE_ENG_BAD_CELLS_etaBinD->Fill(moment_ENG_BAD_CELLS,eventInfo.beamSpotWeight());
198 m_FE_N_BAD_CELLS_etaBinD->Fill(moment_N_BAD_CELLS,eventInfo.beamSpotWeight());
199 m_FE_BADLARQ_FRAC_etaBinD->Fill(moment_BADLARQ_FRAC,eventInfo.beamSpotWeight());
200 m_FE_ENG_POS_etaBinD->Fill(moment_ENG_POS,eventInfo.beamSpotWeight());
201 m_FE_AVG_LAR_Q_etaBinD->Fill(moment_AVG_LAR_Q,eventInfo.beamSpotWeight());
202 m_FE_AVG_TILE_Q_etaBinD->Fill(moment_AVG_TILE_Q,eventInfo.beamSpotWeight());
203 m_FE_EM_PROBABILITY_etaBinD->Fill(moment_EM_PROBABILITY,eventInfo.beamSpotWeight());
204 m_FE_SECOND_LAMBDA_etaBinD->Fill(moment_SECOND_LAMBDA,eventInfo.beamSpotWeight());
205 }
206
207
208 }
TH1 * m_FE_SECOND_R
Histograms inclusive in eta.
TH1 * m_FE_SECOND_R_etaBinA
Same histograms binned in eta regions.
float beamSpotWeight() const
Weight for beam spot size reweighting.
virtual double eta() const override
The pseudorapidity ( ) of the particle.

◆ finalize()

void PlotBase::finalize ( )
inherited

Definition at line 47 of file PlotBase.cxx.

47 {
48 for (auto *subNode: m_vSubNodes) {
49 subNode->finalize();
50 }
52}
std::vector< PlotBase * > m_vSubNodes
Definition PlotBase.h:96
virtual void finalizePlots()
Definition PlotBase.h:92

◆ finalizePlots()

◆ getDirectory()

const std::string & PlotBase::getDirectory ( )
inlineinherited

Definition at line 88 of file PlotBase.h.

88{return m_sDirectory;}

◆ initialize()

void PlotBase::initialize ( )
inherited

Definition at line 39 of file PlotBase.cxx.

39 {
40 for (auto *subNode: m_vSubNodes) {
41 subNode->initialize();
42 }
44}
virtual void initializePlots()
Definition PlotBase.h:91

◆ initializePlots()

void PFO::PFOClusterMomentPlots::initializePlots ( )
privatevirtual

Reimplemented from PlotBase.

Definition at line 14 of file PFOClusterMomentPlots.cxx.

14 {
15
16 // FlowElement
17 if(!m_sFEContainerName.empty()){
18 m_FE_SECOND_R = Book1D("_SECOND_R",m_sFEContainerName + "_SECOND_R",60,-1.0,50.0);
19 m_FE_CENTER_LAMBDA = Book1D("_CENTER_LAMBDA",m_sFEContainerName + "_CENTER_LAMBDA",60,-50.0,3000.0);
20 m_FE_ISOLATION = Book1D("_ISOLATION",m_sFEContainerName + "_ISOLATION",60,-1.0,2.0);
21 m_FE_ENG_BAD_CELLS = Book1D("_ENG_BAD_CELLS",m_sFEContainerName + "_ENG_BAD_CELLS",60,-1.0,5);
22 m_FE_N_BAD_CELLS = Book1D("_N_BAD_CELLS",m_sFEContainerName + "_N_BAD_CELLS",30,-1.0,2.0);
23 m_FE_BADLARQ_FRAC = Book1D("_BADLARQ_FRAC",m_sFEContainerName + "_BADLARQ_FRAC",25,-1.0,1.5);
24 m_FE_ENG_POS = Book1D("_ENG_POS",m_sFEContainerName + "_ENG_POS",60,-100.0,10000.0);
25 m_FE_AVG_LAR_Q = Book1D("_AVG_LAR_Q",m_sFEContainerName + "_AVG_LAR_Q",31,-1000.0,30000.0);
26 m_FE_AVG_TILE_Q = Book1D("_AVG_TILE_Q",m_sFEContainerName + "_AVG_TILE_Q",21,-10.0,200.0);
27 m_FE_EM_PROBABILITY = Book1D("_EM_PROBABILITY",m_sFEContainerName + "_EM_PROBABILITY",21,-1.0,1.0);
28 m_FE_SECOND_LAMBDA = Book1D("_SECOND_LAMBDA",m_sFEContainerName + "_SECOND_LAMBDA",60,-1.0,3000.0);
29
30 m_FE_SECOND_R_etaBinA = Book1D("_SECOND_R_A",m_sFEContainerName + "_SECOND_R (|eta| < 1.5)",60,-1.0,50.0);
31 m_FE_CENTER_LAMBDA_etaBinA = Book1D("_CENTER_LAMBDA_A",m_sFEContainerName + "_CENTER_LAMBDA (|eta| < 1.5)",60,-50.0,3000.0);
32 m_FE_ISOLATION_etaBinA = Book1D("_ISOLATION_A",m_sFEContainerName + "_ISOLATION (|eta| < 1.5)",60,-1.0,2.0);
33 m_FE_ENG_BAD_CELLS_etaBinA = Book1D("_ENG_BAD_CELLS_A",m_sFEContainerName + "_ENG_BAD_CELLS (|eta| < 1.5)",60,-1.0,5);
34 m_FE_N_BAD_CELLS_etaBinA = Book1D("_N_BAD_CELLS_A",m_sFEContainerName + "_N_BAD_CELLS (|eta| < 1.5)",30,-1.0,2.0);
35 m_FE_BADLARQ_FRAC_etaBinA = Book1D("_BADLARQ_FRAC_A",m_sFEContainerName + "_BADLARQ_FRAC (|eta| < 1.5)",25,-1.0,1.5);
36 m_FE_ENG_POS_etaBinA = Book1D("_ENG_POS_A",m_sFEContainerName + "_ENG_POS (|eta| < 1.5)",60,-100.0,10000.0);
37 m_FE_AVG_LAR_Q_etaBinA = Book1D("_AVG_LAR_Q_A",m_sFEContainerName + "_AVG_LAR_Q (|eta| < 1.5)",31,-1000.0,30000.0);
38 m_FE_AVG_TILE_Q_etaBinA = Book1D("_AVG_TILE_Q_A",m_sFEContainerName + "_AVG_TILE_Q (|eta| < 1.5)",21,-10.0,200.0);
39 m_FE_EM_PROBABILITY_etaBinA = Book1D("_EM_PROBABILITY_A",m_sFEContainerName + "_EM_PROBABILITY (|eta| < 1.5)",21,-1.0,1.0);
40 m_FE_SECOND_LAMBDA_etaBinA = Book1D("_SECOND_LAMBDA_A",m_sFEContainerName + "_SECOND_LAMBDA (|eta| < 1.5)",60,-1.0,3000.0);
41
42 m_FE_SECOND_R_etaBinB = Book1D("_SECOND_R_B",m_sFEContainerName + "_SECOND_R (1.5 <= |eta| < 2.5)",60,-1.0,50.0);
43 m_FE_CENTER_LAMBDA_etaBinB = Book1D("_CENTER_LAMBDA_B",m_sFEContainerName + "_CENTER_LAMBDA (1.5 <= |eta| < 2.5)",60,-50.0,3000.0);
44 m_FE_ISOLATION_etaBinB = Book1D("_ISOLATION_B",m_sFEContainerName + "_ISOLATION (1.5 <= |eta| < 2.5)",60,-1.0,2.0);
45 m_FE_ENG_BAD_CELLS_etaBinB = Book1D("_ENG_BAD_CELLS_B",m_sFEContainerName + "_ENG_BAD_CELLS (1.5 <= |eta| < 2.5)",60,-1.0,5);
46 m_FE_N_BAD_CELLS_etaBinB = Book1D("_N_BAD_CELLS_B",m_sFEContainerName + "_N_BAD_CELLS (1.5 <= |eta| < 2.5)",30,-1.0,2.0);
47 m_FE_BADLARQ_FRAC_etaBinB = Book1D("_BADLARQ_FRAC_B",m_sFEContainerName + "_BADLARQ_FRAC (1.5 <= |eta| < 2.5)",25,-1.0,1.5);
48 m_FE_ENG_POS_etaBinB = Book1D("_ENG_POS_B",m_sFEContainerName + "_ENG_POS (1.5 <= |eta| < 2.5)",60,-100.0,10000.0);
49 m_FE_AVG_LAR_Q_etaBinB = Book1D("_AVG_LAR_Q_B",m_sFEContainerName + "_AVG_LAR_Q (1.5 <= |eta| < 2.5)",31,-1000.0,30000.0);
50 m_FE_AVG_TILE_Q_etaBinB = Book1D("_AVG_TILE_Q_B",m_sFEContainerName + "_AVG_TILE_Q (1.5 <= |eta| < 2.5)",21,-10.0,200.0);
51 m_FE_EM_PROBABILITY_etaBinB = Book1D("_EM_PROBABILITY_B",m_sFEContainerName + "_EM_PROBABILITY (1.5 <= |eta| < 2.5)",21,-1.0,1.0);
52 m_FE_SECOND_LAMBDA_etaBinB = Book1D("_SECOND_LAMBDA_B",m_sFEContainerName + "_SECOND_LAMBDA (1.5 <= |eta| < 2.5)",60,-1.0,3000.0);
53
54 m_FE_SECOND_R_etaBinC = Book1D("_SECOND_R_C",m_sFEContainerName + "_SECOND_R (2.5 <= |eta| < 3.2)",60,-1.0,50.0);
55 m_FE_CENTER_LAMBDA_etaBinC = Book1D("_CENTER_LAMBDA_C",m_sFEContainerName + "_CENTER_LAMBDA (2.5 <= |eta| < 3.2)",60,-50.0,3000.0);
56 m_FE_ISOLATION_etaBinC = Book1D("_ISOLATION_C",m_sFEContainerName + "_ISOLATION (2.5 <= |eta| < 3.2)",60,-1.0,2.0);
57 m_FE_ENG_BAD_CELLS_etaBinC = Book1D("_ENG_BAD_CELLS_C",m_sFEContainerName + "_ENG_BAD_CELLS (2.5 <= |eta| < 3.2)",60,-1.0,5);
58 m_FE_N_BAD_CELLS_etaBinC = Book1D("_N_BAD_CELLS_C",m_sFEContainerName + "_N_BAD_CELLS (2.5 <= |eta| < 3.2)",30,-1.0,2.0);
59 m_FE_BADLARQ_FRAC_etaBinC = Book1D("_BADLARQ_FRAC_C",m_sFEContainerName + "_BADLARQ_FRAC (2.5 <= |eta| < 3.2)",25,-1.0,1.5);
60 m_FE_ENG_POS_etaBinC = Book1D("_ENG_POS_C",m_sFEContainerName + "_ENG_POS (2.5 <= |eta| < 3.2)",60,-100.0,10000.0);
61 m_FE_AVG_LAR_Q_etaBinC = Book1D("_AVG_LAR_Q_C",m_sFEContainerName + "_AVG_LAR_Q (2.5 <= |eta| < 3.2)",31,-1000.0,30000.0);
62 m_FE_AVG_TILE_Q_etaBinC = Book1D("_AVG_TILE_Q_C",m_sFEContainerName + "_AVG_TILE_Q (2.5 <= |eta| < 3.2)",21,-10.0,200.0);
63 m_FE_EM_PROBABILITY_etaBinC = Book1D("_EM_PROBABILITY_C",m_sFEContainerName + "_EM_PROBABILITY (2.5 <= |eta| < 3.2)",21,-1.0,1.0);
64 m_FE_SECOND_LAMBDA_etaBinC = Book1D("_SECOND_LAMBDA_C",m_sFEContainerName + "_SECOND_LAMBDA (2.5 <= |eta| < 3.2)",60,-1.0,3000.0);
65
66 m_FE_SECOND_R_etaBinD = Book1D("_SECOND_R_D",m_sFEContainerName + "_SECOND_R (|eta| >= 3.2)",60,-1.0,50.0);
67 m_FE_CENTER_LAMBDA_etaBinD = Book1D("_CENTER_LAMBDA_D",m_sFEContainerName + "_CENTER_LAMBDA (|eta| >= 3.2)",60,-50.0,3000.0);
68 m_FE_ISOLATION_etaBinD = Book1D("_ISOLATION_D",m_sFEContainerName + "_ISOLATION (|eta| >= 3.2)",60,-1.0,2.0);
69 m_FE_ENG_BAD_CELLS_etaBinD = Book1D("_ENG_BAD_CELLS_D",m_sFEContainerName + "_ENG_BAD_CELLS (|eta| >= 3.2)",60,-1.0,5);
70 m_FE_N_BAD_CELLS_etaBinD = Book1D("_N_BAD_CELLS_D",m_sFEContainerName + "_N_BAD_CELLS (|eta| >= 3.2)",30,-1.0,2.0);
71 m_FE_BADLARQ_FRAC_etaBinD = Book1D("_BADLARQ_FRAC_D",m_sFEContainerName + "_BADLARQ_FRAC (|eta| >= 3.2)",25,-1.0,1.5);
72 m_FE_ENG_POS_etaBinD = Book1D("_ENG_POS_D",m_sFEContainerName + "_ENG_POS (|eta| >= 3.2)",60,-100.0,10000.0);
73 m_FE_AVG_LAR_Q_etaBinD = Book1D("_AVG_LAR_Q_D",m_sFEContainerName + "_AVG_LAR_Q (|eta| >= 3.2)",31,-1000.0,30000.0);
74 m_FE_AVG_TILE_Q_etaBinD = Book1D("_AVG_TILE_Q_D",m_sFEContainerName + "_AVG_TILE_Q (|eta| >= 3.2)",21,-10.0,200.0);
75 m_FE_EM_PROBABILITY_etaBinD = Book1D("_EM_PROBABILITY_D",m_sFEContainerName + "_EM_PROBABILITY (|eta| >= 3.2)",21,-1.0,1.0);
76 m_FE_SECOND_LAMBDA_etaBinD = Book1D("_SECOND_LAMBDA_D",m_sFEContainerName + "_SECOND_LAMBDA (|eta| >= 3.2)",60,-1.0,3000.0);
77 }
78 }
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
Definition PlotBase.cxx:94

◆ RegisterSubPlot()

void PlotBase::RegisterSubPlot ( PlotBase * pPlotBase)
inlineinherited

Definition at line 41 of file PlotBase.h.

41{m_vSubNodes.push_back(pPlotBase);}

◆ retrieveBookedEfficiencies()

std::vector< EfficiencyData > PlotBase::retrieveBookedEfficiencies ( )
inherited

Retrieve all booked efficiency objects.

Definition at line 83 of file PlotBase.cxx.

83 {
84 std::vector<EfficiencyData> vBookedEfficiencies = m_vBookedEfficiencies;
85 for (const auto &subNode: m_vSubNodes) {
86 std::vector<EfficiencyData> subNodeHists = subNode->retrieveBookedEfficiencies();
87 vBookedEfficiencies.insert(vBookedEfficiencies.end(), subNodeHists.begin(), subNodeHists.end());
88 }
89 return vBookedEfficiencies;
90}

◆ retrieveBookedHistograms()

std::vector< HistData > PlotBase::retrieveBookedHistograms ( )
inherited

Retrieve all booked histograms.

Definition at line 63 of file PlotBase.cxx.

63 {
64 std::vector<HistData> vBookedHistograms = m_vBookedHistograms;
65 for (const auto &subNode: m_vSubNodes) {
66 std::vector<HistData> subNodeHists = subNode->retrieveBookedHistograms();
67 vBookedHistograms.insert(vBookedHistograms.end(), subNodeHists.begin(), subNodeHists.end());
68 }
69 return vBookedHistograms;
70}

◆ retrieveBookedTrees()

std::vector< TreeData > PlotBase::retrieveBookedTrees ( )
inherited

Retrieve all booked trees.

Definition at line 73 of file PlotBase.cxx.

73 {
74 std::vector<TreeData> vBookedTrees = m_vBookedTrees;
75 for (auto *subNode: m_vSubNodes) {
76 std::vector<TreeData> subNodeTrees = subNode->retrieveBookedTrees();
77 vBookedTrees.insert(vBookedTrees.end(), subNodeTrees.begin(), subNodeTrees.end());
78 }
79 return vBookedTrees;
80}

◆ setDetailLevel()

void PlotBase::setDetailLevel ( int iDetailLevel)
inherited

Definition at line 55 of file PlotBase.cxx.

55 {
56 for (auto *subNode: m_vSubNodes) {
57 subNode->setDetailLevel(iDetailLevel);
58 }
59 m_iDetailLevel = iDetailLevel;
60}
int m_iDetailLevel
Definition PlotBase.h:101

Member Data Documentation

◆ m_FE_AVG_LAR_Q

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_LAR_Q {}
private

Definition at line 32 of file PFOClusterMomentPlots.h.

32{};

◆ m_FE_AVG_LAR_Q_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_LAR_Q_etaBinA {}
private

Definition at line 45 of file PFOClusterMomentPlots.h.

45{};

◆ m_FE_AVG_LAR_Q_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_LAR_Q_etaBinB {}
private

Definition at line 57 of file PFOClusterMomentPlots.h.

57{};

◆ m_FE_AVG_LAR_Q_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_LAR_Q_etaBinC {}
private

Definition at line 69 of file PFOClusterMomentPlots.h.

69{};

◆ m_FE_AVG_LAR_Q_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_LAR_Q_etaBinD {}
private

Definition at line 81 of file PFOClusterMomentPlots.h.

81{};

◆ m_FE_AVG_TILE_Q

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_TILE_Q {}
private

Definition at line 33 of file PFOClusterMomentPlots.h.

33{};

◆ m_FE_AVG_TILE_Q_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_TILE_Q_etaBinA {}
private

Definition at line 46 of file PFOClusterMomentPlots.h.

46{};

◆ m_FE_AVG_TILE_Q_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_TILE_Q_etaBinB {}
private

Definition at line 58 of file PFOClusterMomentPlots.h.

58{};

◆ m_FE_AVG_TILE_Q_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_TILE_Q_etaBinC {}
private

Definition at line 70 of file PFOClusterMomentPlots.h.

70{};

◆ m_FE_AVG_TILE_Q_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_AVG_TILE_Q_etaBinD {}
private

Definition at line 82 of file PFOClusterMomentPlots.h.

82{};

◆ m_FE_BADLARQ_FRAC

TH1* PFO::PFOClusterMomentPlots::m_FE_BADLARQ_FRAC {}
private

Definition at line 30 of file PFOClusterMomentPlots.h.

30{};

◆ m_FE_BADLARQ_FRAC_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_BADLARQ_FRAC_etaBinA {}
private

Definition at line 43 of file PFOClusterMomentPlots.h.

43{};

◆ m_FE_BADLARQ_FRAC_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_BADLARQ_FRAC_etaBinB {}
private

Definition at line 55 of file PFOClusterMomentPlots.h.

55{};

◆ m_FE_BADLARQ_FRAC_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_BADLARQ_FRAC_etaBinC {}
private

Definition at line 67 of file PFOClusterMomentPlots.h.

67{};

◆ m_FE_BADLARQ_FRAC_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_BADLARQ_FRAC_etaBinD {}
private

Definition at line 79 of file PFOClusterMomentPlots.h.

79{};

◆ m_FE_CENTER_LAMBDA

TH1* PFO::PFOClusterMomentPlots::m_FE_CENTER_LAMBDA {}
private

Definition at line 26 of file PFOClusterMomentPlots.h.

26{};

◆ m_FE_CENTER_LAMBDA_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_CENTER_LAMBDA_etaBinA {}
private

Definition at line 39 of file PFOClusterMomentPlots.h.

39{};

◆ m_FE_CENTER_LAMBDA_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_CENTER_LAMBDA_etaBinB {}
private

Definition at line 51 of file PFOClusterMomentPlots.h.

51{};

◆ m_FE_CENTER_LAMBDA_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_CENTER_LAMBDA_etaBinC {}
private

Definition at line 63 of file PFOClusterMomentPlots.h.

63{};

◆ m_FE_CENTER_LAMBDA_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_CENTER_LAMBDA_etaBinD {}
private

Definition at line 75 of file PFOClusterMomentPlots.h.

75{};

◆ m_FE_EM_PROBABILITY

TH1* PFO::PFOClusterMomentPlots::m_FE_EM_PROBABILITY {}
private

Definition at line 34 of file PFOClusterMomentPlots.h.

34{};

◆ m_FE_EM_PROBABILITY_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_EM_PROBABILITY_etaBinA {}
private

Definition at line 47 of file PFOClusterMomentPlots.h.

47{};

◆ m_FE_EM_PROBABILITY_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_EM_PROBABILITY_etaBinB {}
private

Definition at line 59 of file PFOClusterMomentPlots.h.

59{};

◆ m_FE_EM_PROBABILITY_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_EM_PROBABILITY_etaBinC {}
private

Definition at line 71 of file PFOClusterMomentPlots.h.

71{};

◆ m_FE_EM_PROBABILITY_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_EM_PROBABILITY_etaBinD {}
private

Definition at line 83 of file PFOClusterMomentPlots.h.

83{};

◆ m_FE_ENG_BAD_CELLS

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_BAD_CELLS {}
private

Definition at line 28 of file PFOClusterMomentPlots.h.

28{};

◆ m_FE_ENG_BAD_CELLS_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_BAD_CELLS_etaBinA {}
private

Definition at line 41 of file PFOClusterMomentPlots.h.

41{};

◆ m_FE_ENG_BAD_CELLS_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_BAD_CELLS_etaBinB {}
private

Definition at line 53 of file PFOClusterMomentPlots.h.

53{};

◆ m_FE_ENG_BAD_CELLS_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_BAD_CELLS_etaBinC {}
private

Definition at line 65 of file PFOClusterMomentPlots.h.

65{};

◆ m_FE_ENG_BAD_CELLS_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_BAD_CELLS_etaBinD {}
private

Definition at line 77 of file PFOClusterMomentPlots.h.

77{};

◆ m_FE_ENG_POS

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_POS {}
private

Definition at line 31 of file PFOClusterMomentPlots.h.

31{};

◆ m_FE_ENG_POS_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_POS_etaBinA {}
private

Definition at line 44 of file PFOClusterMomentPlots.h.

44{};

◆ m_FE_ENG_POS_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_POS_etaBinB {}
private

Definition at line 56 of file PFOClusterMomentPlots.h.

56{};

◆ m_FE_ENG_POS_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_POS_etaBinC {}
private

Definition at line 68 of file PFOClusterMomentPlots.h.

68{};

◆ m_FE_ENG_POS_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_ENG_POS_etaBinD {}
private

Definition at line 80 of file PFOClusterMomentPlots.h.

80{};

◆ m_FE_ISOLATION

TH1* PFO::PFOClusterMomentPlots::m_FE_ISOLATION {}
private

Definition at line 27 of file PFOClusterMomentPlots.h.

27{};

◆ m_FE_ISOLATION_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_ISOLATION_etaBinA {}
private

Definition at line 40 of file PFOClusterMomentPlots.h.

40{};

◆ m_FE_ISOLATION_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_ISOLATION_etaBinB {}
private

Definition at line 52 of file PFOClusterMomentPlots.h.

52{};

◆ m_FE_ISOLATION_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_ISOLATION_etaBinC {}
private

Definition at line 64 of file PFOClusterMomentPlots.h.

64{};

◆ m_FE_ISOLATION_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_ISOLATION_etaBinD {}
private

Definition at line 76 of file PFOClusterMomentPlots.h.

76{};

◆ m_FE_N_BAD_CELLS

TH1* PFO::PFOClusterMomentPlots::m_FE_N_BAD_CELLS {}
private

Definition at line 29 of file PFOClusterMomentPlots.h.

29{};

◆ m_FE_N_BAD_CELLS_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_N_BAD_CELLS_etaBinA {}
private

Definition at line 42 of file PFOClusterMomentPlots.h.

42{};

◆ m_FE_N_BAD_CELLS_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_N_BAD_CELLS_etaBinB {}
private

Definition at line 54 of file PFOClusterMomentPlots.h.

54{};

◆ m_FE_N_BAD_CELLS_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_N_BAD_CELLS_etaBinC {}
private

Definition at line 66 of file PFOClusterMomentPlots.h.

66{};

◆ m_FE_N_BAD_CELLS_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_N_BAD_CELLS_etaBinD {}
private

Definition at line 78 of file PFOClusterMomentPlots.h.

78{};

◆ m_FE_SECOND_LAMBDA

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_LAMBDA {}
private

Definition at line 35 of file PFOClusterMomentPlots.h.

35{};

◆ m_FE_SECOND_LAMBDA_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_LAMBDA_etaBinA {}
private

Definition at line 48 of file PFOClusterMomentPlots.h.

48{};

◆ m_FE_SECOND_LAMBDA_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_LAMBDA_etaBinB {}
private

Definition at line 60 of file PFOClusterMomentPlots.h.

60{};

◆ m_FE_SECOND_LAMBDA_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_LAMBDA_etaBinC {}
private

Definition at line 72 of file PFOClusterMomentPlots.h.

72{};

◆ m_FE_SECOND_LAMBDA_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_LAMBDA_etaBinD {}
private

Definition at line 84 of file PFOClusterMomentPlots.h.

84{};

◆ m_FE_SECOND_R

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_R {}
private

Histograms inclusive in eta.

Definition at line 25 of file PFOClusterMomentPlots.h.

25{};

◆ m_FE_SECOND_R_etaBinA

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_R_etaBinA {}
private

Same histograms binned in eta regions.

Definition at line 38 of file PFOClusterMomentPlots.h.

38{};

◆ m_FE_SECOND_R_etaBinB

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_R_etaBinB {}
private

Definition at line 50 of file PFOClusterMomentPlots.h.

50{};

◆ m_FE_SECOND_R_etaBinC

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_R_etaBinC {}
private

Definition at line 62 of file PFOClusterMomentPlots.h.

62{};

◆ m_FE_SECOND_R_etaBinD

TH1* PFO::PFOClusterMomentPlots::m_FE_SECOND_R_etaBinD {}
private

Definition at line 74 of file PFOClusterMomentPlots.h.

74{};

◆ m_iDetailLevel

int PlotBase::m_iDetailLevel
protectedinherited

Definition at line 101 of file PlotBase.h.

◆ m_sDirectory

std::string PlotBase::m_sDirectory
protectedinherited

Definition at line 100 of file PlotBase.h.

◆ m_sFEContainerName

std::string PFO::PFOClusterMomentPlots::m_sFEContainerName
private

Definition at line 88 of file PFOClusterMomentPlots.h.

◆ m_vBookedEfficiencies

std::vector<EfficiencyData> PlotBase::m_vBookedEfficiencies
protectedinherited

Definition at line 99 of file PlotBase.h.

◆ m_vBookedHistograms

std::vector<HistData> PlotBase::m_vBookedHistograms
protectedinherited

Definition at line 97 of file PlotBase.h.

◆ m_vBookedTrees

std::vector<TreeData> PlotBase::m_vBookedTrees
protectedinherited

Definition at line 98 of file PlotBase.h.

◆ m_vSubNodes

std::vector<PlotBase*> PlotBase::m_vSubNodes
protectedinherited

Definition at line 96 of file PlotBase.h.


The documentation for this class was generated from the following files: