ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ActsTrk::PixelClusterValidationPlots Class Reference

#include <PixelClusterValidationPlots.h>

Inheritance diagram for ActsTrk::PixelClusterValidationPlots:
Collaboration diagram for ActsTrk::PixelClusterValidationPlots:

Public Member Functions

 PixelClusterValidationPlots (PlotBase *pParent, const std::string &sDir)
 
virtual ~PixelClusterValidationPlots ()=default
 
void fill (const xAOD::PixelCluster *cluster, float beamSpotWeight, const PixelID *)
 
void initialize ()
 
void finalize ()
 
void setDetailLevel (int iDetailLevel)
 
void RegisterSubPlot (PlotBase *pPlotBase)
 
std::vector< HistDataretrieveBookedHistograms ()
 Retrieve all booked histograms. More...
 
std::vector< TreeDataretrieveBookedTrees ()
 Retrieve all booked trees. More...
 
std::vector< EfficiencyDataretrieveBookedEfficiencies ()
 Retrieve all booked efficiency objects. More...
 
TTree * BookTree (const std::string &name, bool prependDir=true)
 Book a TTree. More...
 
const std::string & getDirectory ()
 

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

virtual void initializePlots ()
 
virtual void finalizePlots ()
 

Static Private Member Functions

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

Private Attributes

TH1 * m_barrelEndcap {}
 
TH1 * m_layerDisk_barrel {}
 
TH1 * m_layerDisk_endcap {}
 
TH1 * m_phiModule_barrel {}
 
TH1 * m_phiModule_endcap {}
 
TH1 * m_etaModule_barrel {}
 
TH1 * m_etaModule_endcap {}
 
TH1 * m_isInnermost_barrel {}
 
TH1 * m_isInnermost_endcap {}
 
TH1 * m_isNextToInnermost_barrel {}
 
TH1 * m_isNextToInnermost_endcap {}
 
TH1 * m_eta_barrel {}
 
TH1 * m_eta_endcap {}
 
TH1 * m_perp_barrel {}
 
TH1 * m_perp_endcap {}
 
TH1 * m_total_charge_barrel {}
 
TH1 * m_total_charge_endcap {}
 
TH1 * m_total_tot_barrel {}
 
TH1 * m_total_tot_endcap {}
 
TH1 * m_omega_x_barrel {}
 
TH1 * m_omega_x_endcap {}
 
TH1 * m_omega_y_barrel {}
 
TH1 * m_omega_y_endcap {}
 
TH1 * m_lvl1a_barrel {}
 
TH1 * m_lvl1a_endcap {}
 
TH1 * m_global_x_barrel {}
 
TH1 * m_global_x_endcap {}
 
TH1 * m_global_y_barrel {}
 
TH1 * m_global_y_endcap {}
 
TH1 * m_global_z_barrel {}
 
TH1 * m_global_z_endcap {}
 
TH1 * m_local_x_barrel {}
 
TH1 * m_local_x_endcap {}
 
TH1 * m_local_y_barrel {}
 
TH1 * m_local_y_endcap {}
 
TH1 * m_localCovXX_barrel {}
 
TH1 * m_localCovXX_endcap {}
 
TH1 * m_localCovYY_barrel {}
 
TH1 * m_localCovYY_endcap {}
 
TH1 * m_sizeX_barrel {}
 
TH1 * m_sizeX_endcap {}
 
TH1 * m_sizeY_barrel {}
 
TH1 * m_sizeY_endcap {}
 
TH1 * m_widthY_barrel {}
 
TH1 * m_widthY_endcap {}
 
TH2 * m_global_xy_barrel {}
 
TH2 * m_global_xy_endcap {}
 
TH2 * m_global_zr_barrel {}
 
TH2 * m_global_zr_endcap {}
 

Detailed Description

Definition at line 14 of file PixelClusterValidationPlots.h.

Constructor & Destructor Documentation

◆ PixelClusterValidationPlots()

ActsTrk::PixelClusterValidationPlots::PixelClusterValidationPlots ( PlotBase pParent,
const std::string &  sDir 
)

Definition at line 9 of file PixelClusterValidationPlots.cxx.

11  : PlotBase(pParent, sDir)
12  {
13  m_barrelEndcap = Book1D("barrelEndcap", "PixelCluster_barrelEndcap;Barrel-Endcap;Entries;", 5, -2, 3, false);
14 
15  m_layerDisk_barrel = Book1D("layerDisk_barrel", "PixelCluster_layerDisk_barrel;Layer Disk;Entries;", 9, 0, 9, false);
16  m_layerDisk_endcap = Book1D("layerDisk_endcap", "PixelCluster_layerDisk_endcap;Layer Disk;Entries;", 9, 0, 9, false);
17 
18  m_phiModule_barrel = Book1D("phiModule_barrel", "PixelCluster_phiModule_barrel;Phi Module;Entries;", 56, 0, 56, false);
19  m_phiModule_endcap = Book1D("phiModule_endcap", "PixelCluster_phiModule_endcap;Phi Module;Entries;", 56, 0, 56, false);
20 
21  m_etaModule_barrel = Book1D("etaModule_barrel", "PixelCluster_etaModule_barrel;Eta Module;Entries;", 46, -18, 28, false);
22  m_etaModule_endcap = Book1D("etaModule_endcap", "PixelCluster_etaModule_endcap;Eta Module;Entries;", 46, -18, 28, false);
23 
24  m_isInnermost_barrel = Book1D("isInnermost_barrel", "PixelCluster_isInnermost_barrel;In Innermost;Entries;", 2, 0, 2, false);
25  m_isInnermost_endcap = Book1D("isInnermost_endcap", "PixelCluster_isInnermost_endcap;In Innermost;Entries;", 2, 0, 2, false);
26 
27  m_isNextToInnermost_barrel = Book1D("isNextToInnermost_barrel", "PixelCluster_isNextToInnermost_barrel;Is Next To Innermost;Entries", 2, 0, 2, false);
28  m_isNextToInnermost_endcap = Book1D("isNextToInnermost_endcap", "PixelCluster_isNextToInnermost_endcap;Is Next To Innermost;Entries", 2, 0, 2, false);
29 
30  m_eta_barrel = Book1D("eta_barrel", "PixelCluster_eta_barrel;eta;Entries;", 50, -5, 5, false);
31  m_eta_endcap = Book1D("eta_endcap", "PixelCluster_eta_endcap;eta;Entries;", 50, -5, 5, false);
32 
33  m_perp_barrel = Book1D("perp_barrel", "PixelCluster_perp_barrel;r [mm];Entries;", 100, 0, 320, false);
34  m_perp_endcap = Book1D("perp_endcap", "PixelCluster_perp_endcap;r [mm];Entries;", 100, 0, 320, false);
35 
36  m_total_charge_barrel = Book1D("total_charge_barrel", "PixelCluster_totalCharge_barrel;charge;Entries;", 50, 0, 300000, false);
37  m_total_charge_endcap = Book1D("total_charge_endcap", "PixelCluster_totalCharge_endcap;charge;Entries;", 50, 0, 300000, false);
38 
39  m_total_tot_barrel = Book1D("total_tot_barrel", "PixelCluster_totalTot_barrel;charge;Entries;", 50, 0, 5000, false);
40  m_total_tot_endcap = Book1D("total_tot_endcap", "PixelCluster_totalTot_endcap;charge;Entries;", 50, 0, 5000, false);
41 
42  m_omega_x_barrel = Book1D("omega_x_barrel", "PixelCluster_omega_x_barrel;omega x;Entries;", 50, 0, 1, false);
43  m_omega_x_endcap = Book1D("omega_x_endcap", "PixelCluster_omega_x_endcap;omega x;Entries;", 50, 0, 1, false);
44 
45  m_omega_y_barrel = Book1D("omega_y_barrel", "PixelCluster_omega_y_barrel;omega x;Entries;", 50, 0, 1, false);
46  m_omega_y_endcap = Book1D("omega_y_endcap", "PixelCluster_omega_y_endcap;omega x;Entries;", 50, 0, 1, false);
47 
48  m_lvl1a_barrel = Book1D("lvl1a_barrel", "PixelCluster_lvl1a_barrel;lvl1a;Entries;",20, 0, 20, false);
49  m_lvl1a_endcap = Book1D("lvl1a_endcap", "PixelCluster_lvl1a_endcap;lvl1a;Entries;",20, 0, 20, false);
50 
51  m_global_x_barrel = Book1D("global_x_barrel", "PixelCluster_global_x_barrel;Global x [mm];Entries;", 64, -350, 350, false);
52  m_global_x_endcap = Book1D("global_x_endcap", "PixelCluster_global_x_endcap;Global x [mm];Entries;", 64, -350, 350, false);
53 
54  m_global_y_barrel = Book1D("global_y_barrel", "PixelCluster_global_y_barrel;Global y [mm];Entries;", 64, -350, 350, false);
55  m_global_y_endcap = Book1D("global_y_endcap", "PixelCluster_global_y_endcap;Global y [mm];Entries;", 64, -350, 350, false);
56 
57  m_global_z_barrel = Book1D("global_z_barrel", "PixelCluster_global_z_barrel;Global z [mm];Entries;", 100, -3000, 3000, false);
58  m_global_z_endcap = Book1D("global_z_endcap", "PixelCluster_global_z_endcap;Global z [mm];Entries;", 100, -3000, 3000, false);
59 
60  m_local_x_barrel = Book1D("local_x_barrel", "PixelCluster_local_x_barrel;Local x [mm];Entries;", 56, -28, 28, false);
61  m_local_x_endcap = Book1D("local_x_endcap", "PixelCluster_local_x_endcap;Local x [mm];Entries;", 56, -28, 28, false);
62 
63  m_local_y_barrel = Book1D("local_y_barrel", "PixelCluster_local_y_barrel;Local y [mm];Entries;", 56, -28, 28, false);
64  m_local_y_endcap = Book1D("local_y_endcap", "PixelCluster_local_y_endcap;Local y [mm];Entries;", 56, -28, 28, false);
65 
66  m_localCovXX_barrel = Book1D("localCovXX_barrel", "PixelCluster_localCovXX_barrel;Local Cov XX [mm2];Entries;", 100, 0, 0.9*1e-3, false);
67  m_localCovXX_endcap = Book1D("localCovXX_endcap", "PixelCluster_localCovXX_endcap;Local Cov XX [mm2];Entries;", 100, 0, 0.9*1e-3, false);
68 
69  m_localCovYY_barrel = Book1D("localCovYY_barrel", "PixelCluster_localCovYY_barrel;Local Cov YY [mm2];Entries;", 100, 0, 0.9*1e-3, false);
70  m_localCovYY_endcap = Book1D("localCovYY_endcap", "PixelCluster_localCovYY_endcap;Local Cov YY [mm2];Entries;", 100, 0, 0.9*1e-3, false);
71 
72  m_sizeX_barrel = Book1D("sizeX_barrel", "PixelCluster_sizeX_barrel;Size X;Entries;", 100, 0, 400, false);
73  m_sizeX_endcap = Book1D("sizeX_endcap", "PixelCluster_sizeX_endcap;Size X;Entries;", 100, 0, 400, false);
74 
75  m_sizeY_barrel = Book1D("sizeY_barrel", "PixelCluster_sizeY_barrel;Size Y;Entries;", 100, 0, 400, false);
76  m_sizeY_endcap = Book1D("sizeY_endcap", "PixelCluster_sizeY_endcap;Size Y;Entries;", 100, 0, 400, false);
77 
78  m_widthY_barrel = Book1D("widthY_barrel", "PixelCluster_widthY_barrel;Width Y;Entries;", 60, 0, 30, false);
79  m_widthY_endcap = Book1D("widthY_endcap", "PixelCluster_widthY_endcap;Width Y;Entries;", 60, 0, 30, false);
80 
81  m_global_xy_barrel = Book2D("global_xy_barrel", "PixelCluster_global_xy_barrel;x [mm];y [mm];", 64, -320, 320, 64, -350, 350, false);
82  m_global_xy_endcap = Book2D("global_xy_endcap", "PixelCluster_global_xy_endcap;x [mm];y [mm];", 64, -320, 320, 64, -350, 350, false);
83 
84  m_global_zr_barrel = Book2D("global_zr_barrel", "PixelCluster_global_zr_barrel;z [mm];r [mm];", 100, -3000, 3000, 100, 0, 350, false);
85  m_global_zr_endcap = Book2D("global_zr_endcap", "PixelCluster_global_zr_endcap;z [mm];r [mm];", 100, -3000, 3000, 100, 0, 350, false);
86  }

◆ ~PixelClusterValidationPlots()

virtual ActsTrk::PixelClusterValidationPlots::~PixelClusterValidationPlots ( )
virtualdefault

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 }

◆ 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 }

◆ 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 }

◆ 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 }

◆ 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 }

◆ 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 ActsTrk::PixelClusterValidationPlots::fill ( const xAOD::PixelCluster cluster,
float  beamSpotWeight,
const PixelID pixelID 
)

Definition at line 88 of file PixelClusterValidationPlots.cxx.

91  {
92  const Identifier& id = pixelID->wafer_id(cluster->identifierHash());
93  int pixBrlEc = pixelID->barrel_ec(id);
94  int pixLayerDisk = pixelID->layer_disk(id);
95 
96 
97  bool isBarrel = (pixBrlEc == 0);
98 
99  m_barrelEndcap->Fill(pixBrlEc, beamSpotWeight);
100 
101  const auto& local_position = cluster->template localPosition<2>();
102  const auto& local_covariance = cluster->template localCovariance<2>();
103  const auto& globalPos = cluster->globalPosition();
104  Amg::Vector3D globalPosition(globalPos(0, 0), globalPos(1, 0), globalPos(2, 0));
105 
106  if (isBarrel) {
107  m_layerDisk_barrel->Fill(pixLayerDisk, beamSpotWeight);
108  m_phiModule_barrel->Fill(pixelID->phi_module(id), beamSpotWeight);
109  m_etaModule_barrel->Fill(pixelID->eta_module(id), beamSpotWeight);
110  m_isInnermost_barrel->Fill(static_cast<int>(pixLayerDisk==0), beamSpotWeight);
111  m_isNextToInnermost_barrel->Fill(static_cast<int>(pixLayerDisk==1), beamSpotWeight);
112 
113  m_eta_barrel->Fill(globalPosition.eta(), beamSpotWeight);
114  m_perp_barrel->Fill(globalPosition.perp(), beamSpotWeight);
115 
116  m_total_charge_barrel->Fill(cluster->totalCharge(), beamSpotWeight);
117  m_total_tot_barrel->Fill(cluster->totalToT(), beamSpotWeight);
118 
119  m_omega_x_barrel->Fill(cluster->omegaX(), beamSpotWeight);
120  m_omega_y_barrel->Fill(cluster->omegaY(), beamSpotWeight);
121 
122  m_lvl1a_barrel->Fill(cluster->lvl1a(), beamSpotWeight);
123 
124  m_global_x_barrel->Fill(globalPos(0, 0), beamSpotWeight);
125  m_global_y_barrel->Fill(globalPos(1, 0), beamSpotWeight);
126  m_global_z_barrel->Fill(globalPos(2, 0), beamSpotWeight);
127 
128  m_local_x_barrel->Fill(local_position(0, 0), beamSpotWeight);
129  m_local_y_barrel->Fill(local_position(1, 0), beamSpotWeight);
130 
131  m_localCovXX_barrel->Fill(local_covariance(0, 0), beamSpotWeight);
132  m_localCovYY_barrel->Fill(local_covariance(1, 1), beamSpotWeight);
133 
134  m_sizeX_barrel->Fill(cluster->channelsInPhi(), beamSpotWeight);
135  m_sizeY_barrel->Fill(cluster->channelsInEta(), beamSpotWeight);
136 
137  m_widthY_barrel->Fill(cluster->widthInEta(), beamSpotWeight);
138 
139  m_global_xy_barrel->Fill(globalPos(0, 0), globalPos(1, 0), beamSpotWeight);
140  m_global_zr_barrel->Fill(globalPos(2, 0), globalPosition.perp(), beamSpotWeight);
141  } else {
142  m_layerDisk_endcap->Fill(pixLayerDisk, beamSpotWeight);
143  m_phiModule_endcap->Fill(pixelID->phi_module(id), beamSpotWeight);
144  m_etaModule_endcap->Fill(pixelID->eta_module(id), beamSpotWeight);
145  m_isInnermost_endcap->Fill(static_cast<int>(pixLayerDisk==0), beamSpotWeight);
146  m_isNextToInnermost_endcap->Fill(static_cast<int>(pixLayerDisk==1 or pixLayerDisk==2), beamSpotWeight);
147 
148  m_eta_endcap->Fill(globalPosition.eta(), beamSpotWeight);
149  m_perp_endcap->Fill(globalPosition.perp(), beamSpotWeight);
150 
151  m_total_charge_endcap->Fill(cluster->totalCharge(), beamSpotWeight);
152  m_total_tot_endcap->Fill(cluster->totalToT(), beamSpotWeight);
153 
154  m_omega_x_endcap->Fill(cluster->omegaX(), beamSpotWeight);
155  m_omega_y_endcap->Fill(cluster->omegaY(), beamSpotWeight);
156 
157  m_lvl1a_endcap->Fill(cluster->lvl1a(), beamSpotWeight);
158 
159  m_global_x_endcap->Fill(globalPos(0, 0), beamSpotWeight);
160  m_global_y_endcap->Fill(globalPos(1, 0), beamSpotWeight);
161  m_global_z_endcap->Fill(globalPos(2, 0), beamSpotWeight);
162 
163  m_local_x_endcap->Fill(local_position(0, 0), beamSpotWeight);
164  m_local_y_endcap->Fill(local_position(1, 0), beamSpotWeight);
165 
166  m_localCovXX_endcap->Fill(local_covariance(0, 0), beamSpotWeight);
167  m_localCovYY_endcap->Fill(local_covariance(1, 1), beamSpotWeight);
168 
169  m_sizeX_endcap->Fill(cluster->channelsInPhi(), beamSpotWeight);
170  m_sizeY_endcap->Fill(cluster->channelsInEta(), beamSpotWeight);
171 
172  m_widthY_endcap->Fill(cluster->widthInEta(), beamSpotWeight);
173 
174  m_global_xy_endcap->Fill(globalPos(0, 0), globalPos(1, 0), beamSpotWeight);
175  m_global_zr_endcap->Fill(globalPos(2, 0), globalPosition.perp(), beamSpotWeight);
176  }
177 
178  }

◆ finalize()

void PlotBase::finalize ( )
inherited

Definition at line 47 of file PlotBase.cxx.

47  {
48  for (auto *subNode: m_vSubNodes) {
49  subNode->finalize();
50  }
51  finalizePlots();
52 }

◆ finalizePlots()

virtual void PlotBase::finalizePlots ( )
inlineprivatevirtualinherited

◆ 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 }

◆ initializePlots()

virtual void PlotBase::initializePlots ( )
inlineprivatevirtualinherited

Reimplemented in TCCPlots, JetTagDQA::BTaggingValidationPlots, InDetPerfPlot_VertexTruthMatching, InDetPerfPlot_Hits, Egamma::LRTElectronPlots, Egamma::ElectronPlots, ZeeValidation::ReconElectronsPlots, RecoMuonPlots, InDetPerfPlot_Efficiency, Tau::NewCorePlots, Egamma::ShowerShapesPlots, InDetPerfPlot_Vertex, PFO::PFOClusterMomentPlots, InDetPerfPlot_Resolution, Trk::ExtrRegionPlots, InDetPerfPlot_TRTExtension, InDetPerfPlot_TrackParameters, Egamma::TrackPlots, RecoPhysPlots, Tau::Migration, PhotonValidationPlots, ZeeValidation::TrueElectronsPlots, Muon::IsoPlots, ZeeValidation::ZeePlots, PFO::FlowElement_LinkerPlots, IDTPM::HitsOnTracksPlots, ZeeValidation::TrueFwdElectronsPlots, Tau::RecoTauPlots, InDetPerfPlot_HitResidual, InDetPerfPlot_HitEfficiency, Muon::MuonParamElossPlots, Trk::IDHitPlots, InDetPerfPlot_FakeRate, Muon::SlowMuonParamPlots, PFO::PFOCalibHitClusterMomentPlots, Egamma::PhotonPlots, PFO::ClusterPlots, PFO::LeptonFELinkerPlots, IDTPM::DuplicateRatePlots, IDTPM::EfficiencyPlots, IDTPM::FakeRatePlots, RecoLumiPlots, ElectronValidationPlots, PFO::ClusterMomentPlots, InDetPerfPlot_nTracks, IDTPM::NtracksPlots, IDTPM::ResolutionPlots, Tau::Had1ProngPlots, RecoMuonTrackPlots, ZeeValidation::FWDZeePlots, Tau::GeneralTauPlots, PFO::PFOPlots, PhysVal::KinematicsPlots, RecoMuonSegmentPlots, Egamma::PhotonCnvPlots, InDetPerfPlot_VerticesVsMu, RecoMuonIDTrackPlots, Muon::MomentumTruthPullPlots, Egamma::ElectronFrwdPlots, Trk::ExtrLayerPlots, IDTPM::OfflineElectronPlots, LRTElectronValidationPlots, PFO::PFOAlgPropertyPlots, Tau::Had3ProngPlots, Muon::IsoCorrPlots, PFO::PFOPVMatchedPlots, IDTPM::TrackParametersPlots, Muon::MomentumPullPlots, Trk::DefParamPullPlots, Muon::RecoInfoPlots, Tau::EfficiencyPtPlots, Tau::EVetoPlots, Egamma::PhotonConversionPlots, InDetPerfPlot_Duplicate, PhysVal::TrkAndVtxPlots, Egamma::IsolationPlots, Egamma::KinematicsPlots, Egamma::PhotonAmbPlots, Egamma::ClusMomentumPlots, InDetBasicPlot, Muon::MuonParamPlots, Muon::BetaPlots, InDetPerfNtuple, PhysVal::METPlots, Trk::EfficiencyPlots, Muon::ChargeDepParamPlots, Tau::ParamPlots, PFO::PFOAttributePlots, Trk::HitTypePlots, Muon::MuonTree, PhysVal::BTagPlots, PhysVal::EventInfoPlots, Trk::HitResidualPlots, Trk::ImpactPlots, Trk::ParamPlots, Trk::RecoInfoPlots, InDetPerfPlot_TrkInJet, RecoVertexPlots, Trk::ResolutionPlots, Trk::TruthInfoPlots, and Muon::HitFracTypePlots.

Definition at line 91 of file PlotBase.h.

91 {;}

◆ 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 }

Member Data Documentation

◆ m_barrelEndcap

TH1* ActsTrk::PixelClusterValidationPlots::m_barrelEndcap {}
private

Definition at line 25 of file PixelClusterValidationPlots.h.

◆ m_eta_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_eta_barrel {}
private

Definition at line 42 of file PixelClusterValidationPlots.h.

◆ m_eta_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_eta_endcap {}
private

Definition at line 43 of file PixelClusterValidationPlots.h.

◆ m_etaModule_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_etaModule_barrel {}
private

Definition at line 33 of file PixelClusterValidationPlots.h.

◆ m_etaModule_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_etaModule_endcap {}
private

Definition at line 34 of file PixelClusterValidationPlots.h.

◆ m_global_x_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_global_x_barrel {}
private

Definition at line 63 of file PixelClusterValidationPlots.h.

◆ m_global_x_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_global_x_endcap {}
private

Definition at line 64 of file PixelClusterValidationPlots.h.

◆ m_global_xy_barrel

TH2* ActsTrk::PixelClusterValidationPlots::m_global_xy_barrel {}
private

Definition at line 93 of file PixelClusterValidationPlots.h.

◆ m_global_xy_endcap

TH2* ActsTrk::PixelClusterValidationPlots::m_global_xy_endcap {}
private

Definition at line 94 of file PixelClusterValidationPlots.h.

◆ m_global_y_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_global_y_barrel {}
private

Definition at line 66 of file PixelClusterValidationPlots.h.

◆ m_global_y_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_global_y_endcap {}
private

Definition at line 67 of file PixelClusterValidationPlots.h.

◆ m_global_z_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_global_z_barrel {}
private

Definition at line 69 of file PixelClusterValidationPlots.h.

◆ m_global_z_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_global_z_endcap {}
private

Definition at line 70 of file PixelClusterValidationPlots.h.

◆ m_global_zr_barrel

TH2* ActsTrk::PixelClusterValidationPlots::m_global_zr_barrel {}
private

Definition at line 96 of file PixelClusterValidationPlots.h.

◆ m_global_zr_endcap

TH2* ActsTrk::PixelClusterValidationPlots::m_global_zr_endcap {}
private

Definition at line 97 of file PixelClusterValidationPlots.h.

◆ m_iDetailLevel

int PlotBase::m_iDetailLevel
protectedinherited

Definition at line 101 of file PlotBase.h.

◆ m_isInnermost_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_isInnermost_barrel {}
private

Definition at line 36 of file PixelClusterValidationPlots.h.

◆ m_isInnermost_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_isInnermost_endcap {}
private

Definition at line 37 of file PixelClusterValidationPlots.h.

◆ m_isNextToInnermost_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_isNextToInnermost_barrel {}
private

Definition at line 39 of file PixelClusterValidationPlots.h.

◆ m_isNextToInnermost_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_isNextToInnermost_endcap {}
private

Definition at line 40 of file PixelClusterValidationPlots.h.

◆ m_layerDisk_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_layerDisk_barrel {}
private

Definition at line 27 of file PixelClusterValidationPlots.h.

◆ m_layerDisk_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_layerDisk_endcap {}
private

Definition at line 28 of file PixelClusterValidationPlots.h.

◆ m_local_x_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_local_x_barrel {}
private

Definition at line 72 of file PixelClusterValidationPlots.h.

◆ m_local_x_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_local_x_endcap {}
private

Definition at line 73 of file PixelClusterValidationPlots.h.

◆ m_local_y_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_local_y_barrel {}
private

Definition at line 75 of file PixelClusterValidationPlots.h.

◆ m_local_y_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_local_y_endcap {}
private

Definition at line 76 of file PixelClusterValidationPlots.h.

◆ m_localCovXX_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_localCovXX_barrel {}
private

Definition at line 78 of file PixelClusterValidationPlots.h.

◆ m_localCovXX_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_localCovXX_endcap {}
private

Definition at line 79 of file PixelClusterValidationPlots.h.

◆ m_localCovYY_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_localCovYY_barrel {}
private

Definition at line 81 of file PixelClusterValidationPlots.h.

◆ m_localCovYY_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_localCovYY_endcap {}
private

Definition at line 82 of file PixelClusterValidationPlots.h.

◆ m_lvl1a_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_lvl1a_barrel {}
private

Definition at line 60 of file PixelClusterValidationPlots.h.

◆ m_lvl1a_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_lvl1a_endcap {}
private

Definition at line 61 of file PixelClusterValidationPlots.h.

◆ m_omega_x_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_omega_x_barrel {}
private

Definition at line 54 of file PixelClusterValidationPlots.h.

◆ m_omega_x_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_omega_x_endcap {}
private

Definition at line 55 of file PixelClusterValidationPlots.h.

◆ m_omega_y_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_omega_y_barrel {}
private

Definition at line 57 of file PixelClusterValidationPlots.h.

◆ m_omega_y_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_omega_y_endcap {}
private

Definition at line 58 of file PixelClusterValidationPlots.h.

◆ m_perp_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_perp_barrel {}
private

Definition at line 45 of file PixelClusterValidationPlots.h.

◆ m_perp_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_perp_endcap {}
private

Definition at line 46 of file PixelClusterValidationPlots.h.

◆ m_phiModule_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_phiModule_barrel {}
private

Definition at line 30 of file PixelClusterValidationPlots.h.

◆ m_phiModule_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_phiModule_endcap {}
private

Definition at line 31 of file PixelClusterValidationPlots.h.

◆ m_sDirectory

std::string PlotBase::m_sDirectory
protectedinherited

Definition at line 100 of file PlotBase.h.

◆ m_sizeX_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_sizeX_barrel {}
private

Definition at line 84 of file PixelClusterValidationPlots.h.

◆ m_sizeX_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_sizeX_endcap {}
private

Definition at line 85 of file PixelClusterValidationPlots.h.

◆ m_sizeY_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_sizeY_barrel {}
private

Definition at line 87 of file PixelClusterValidationPlots.h.

◆ m_sizeY_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_sizeY_endcap {}
private

Definition at line 88 of file PixelClusterValidationPlots.h.

◆ m_total_charge_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_total_charge_barrel {}
private

Definition at line 48 of file PixelClusterValidationPlots.h.

◆ m_total_charge_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_total_charge_endcap {}
private

Definition at line 49 of file PixelClusterValidationPlots.h.

◆ m_total_tot_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_total_tot_barrel {}
private

Definition at line 51 of file PixelClusterValidationPlots.h.

◆ m_total_tot_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_total_tot_endcap {}
private

Definition at line 52 of file PixelClusterValidationPlots.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.

◆ m_widthY_barrel

TH1* ActsTrk::PixelClusterValidationPlots::m_widthY_barrel {}
private

Definition at line 90 of file PixelClusterValidationPlots.h.

◆ m_widthY_endcap

TH1* ActsTrk::PixelClusterValidationPlots::m_widthY_endcap {}
private

Definition at line 91 of file PixelClusterValidationPlots.h.


The documentation for this class was generated from the following files:
PlotBase::constructPrefix
static std::string constructPrefix(std::string dir, bool prependDir)
Definition: PlotBase.cxx:293
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
WritePulseShapeToCool.yhi
yhi
Definition: WritePulseShapeToCool.py:153
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
ActsTrk::PixelClusterValidationPlots::m_phiModule_barrel
TH1 * m_phiModule_barrel
Definition: PixelClusterValidationPlots.h:30
xAOD::UncalibratedMeasurement_v1::identifierHash
DetectorIDHashType identifierHash() const
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
PlotBase::m_iDetailLevel
int m_iDetailLevel
Definition: PlotBase.h:101
ActsTrk::PixelClusterValidationPlots::m_eta_endcap
TH1 * m_eta_endcap
Definition: PixelClusterValidationPlots.h:43
ActsTrk::PixelClusterValidationPlots::m_local_x_endcap
TH1 * m_local_x_endcap
Definition: PixelClusterValidationPlots.h:73
PlotBase::m_vBookedHistograms
std::vector< HistData > m_vBookedHistograms
Definition: PlotBase.h:97
xAOD::PixelCluster_v1::widthInEta
float widthInEta() const
Returns the width of the cluster in phi (x) and eta (y) directions, respectively.
ActsTrk::PixelClusterValidationPlots::m_localCovYY_barrel
TH1 * m_localCovYY_barrel
Definition: PixelClusterValidationPlots.h:81
ActsTrk::PixelClusterValidationPlots::m_sizeY_barrel
TH1 * m_sizeY_barrel
Definition: PixelClusterValidationPlots.h:87
make_coralServer_rep.opt
opt
Definition: make_coralServer_rep.py:19
PixelID::barrel_ec
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition: PixelID.h:619
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
ActsTrk::PixelClusterValidationPlots::m_layerDisk_endcap
TH1 * m_layerDisk_endcap
Definition: PixelClusterValidationPlots.h:28
plotmaker.hist
hist
Definition: plotmaker.py:148
mergePhysValFiles.start
start
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:14
PlotBase::initializePlots
virtual void initializePlots()
Definition: PlotBase.h:91
PlotBase::m_sDirectory
std::string m_sDirectory
Definition: PlotBase.h:100
PlotBase::m_vBookedEfficiencies
std::vector< EfficiencyData > m_vBookedEfficiencies
Definition: PlotBase.h:99
tree
TChain * tree
Definition: tile_monitor.h:30
ActsTrk::PixelClusterValidationPlots::m_omega_y_endcap
TH1 * m_omega_y_endcap
Definition: PixelClusterValidationPlots.h:58
PlotBase::Book2D
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
ActsTrk::PixelClusterValidationPlots::m_total_charge_barrel
TH1 * m_total_charge_barrel
Definition: PixelClusterValidationPlots.h:48
ActsTrk::PixelClusterValidationPlots::m_global_z_barrel
TH1 * m_global_z_barrel
Definition: PixelClusterValidationPlots.h:69
ActsTrk::PixelClusterValidationPlots::m_global_xy_endcap
TH2 * m_global_xy_endcap
Definition: PixelClusterValidationPlots.h:94
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
ActsTrk::PixelClusterValidationPlots::m_perp_endcap
TH1 * m_perp_endcap
Definition: PixelClusterValidationPlots.h:46
xAOD::PixelCluster_v1::totalCharge
float totalCharge() const
Returns the sum of the charges of the channels building the cluster.
ActsTrk::PixelClusterValidationPlots::m_layerDisk_barrel
TH1 * m_layerDisk_barrel
Definition: PixelClusterValidationPlots.h:27
PixelID::wafer_id
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
Definition: PixelID.h:364
PlotBase::PlotBase
PlotBase(PlotBase *parent, const std::string &sDir)
Definition: PlotBase.cxx:29
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
ActsTrk::PixelClusterValidationPlots::m_sizeX_barrel
TH1 * m_sizeX_barrel
Definition: PixelClusterValidationPlots.h:84
ActsTrk::PixelClusterValidationPlots::m_global_y_barrel
TH1 * m_global_y_barrel
Definition: PixelClusterValidationPlots.h:66
PlotBase::Book1D
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
beamspotnt.labels
list labels
Definition: bin/beamspotnt.py:1447
PlotBase::m_vSubNodes
std::vector< PlotBase * > m_vSubNodes
Definition: PlotBase.h:96
ActsTrk::PixelClusterValidationPlots::m_phiModule_endcap
TH1 * m_phiModule_endcap
Definition: PixelClusterValidationPlots.h:31
ActsTrk::PixelClusterValidationPlots::m_localCovXX_barrel
TH1 * m_localCovXX_barrel
Definition: PixelClusterValidationPlots.h:78
ActsTrk::PixelClusterValidationPlots::m_local_y_endcap
TH1 * m_local_y_endcap
Definition: PixelClusterValidationPlots.h:76
ActsTrk::PixelClusterValidationPlots::m_global_xy_barrel
TH2 * m_global_xy_barrel
Definition: PixelClusterValidationPlots.h:93
WritePulseShapeToCool.xhi
xhi
Definition: WritePulseShapeToCool.py:152
ActsTrk::PixelClusterValidationPlots::m_local_y_barrel
TH1 * m_local_y_barrel
Definition: PixelClusterValidationPlots.h:75
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition: TrigEgammaMonitorHelper.py:81
ActsTrk::PixelClusterValidationPlots::m_isInnermost_endcap
TH1 * m_isInnermost_endcap
Definition: PixelClusterValidationPlots.h:37
ActsTrk::PixelClusterValidationPlots::m_local_x_barrel
TH1 * m_local_x_barrel
Definition: PixelClusterValidationPlots.h:72
ChangeHistoRange.binsY
list binsY
Definition: ChangeHistoRange.py:59
ActsTrk::PixelClusterValidationPlots::m_sizeX_endcap
TH1 * m_sizeX_endcap
Definition: PixelClusterValidationPlots.h:85
ActsTrk::PixelClusterValidationPlots::m_total_charge_endcap
TH1 * m_total_charge_endcap
Definition: PixelClusterValidationPlots.h:49
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
ActsTrk::PixelClusterValidationPlots::m_eta_barrel
TH1 * m_eta_barrel
Definition: PixelClusterValidationPlots.h:42
ActsTrk::PixelClusterValidationPlots::m_sizeY_endcap
TH1 * m_sizeY_endcap
Definition: PixelClusterValidationPlots.h:88
ActsTrk::PixelClusterValidationPlots::m_omega_y_barrel
TH1 * m_omega_y_barrel
Definition: PixelClusterValidationPlots.h:57
ActsTrk::PixelClusterValidationPlots::m_etaModule_endcap
TH1 * m_etaModule_endcap
Definition: PixelClusterValidationPlots.h:34
ActsTrk::PixelClusterValidationPlots::m_lvl1a_barrel
TH1 * m_lvl1a_barrel
Definition: PixelClusterValidationPlots.h:60
ActsTrk::PixelClusterValidationPlots::m_total_tot_endcap
TH1 * m_total_tot_endcap
Definition: PixelClusterValidationPlots.h:52
ActsTrk::PixelClusterValidationPlots::m_isNextToInnermost_barrel
TH1 * m_isNextToInnermost_barrel
Definition: PixelClusterValidationPlots.h:39
WritePulseShapeToCool.xlo
xlo
Definition: WritePulseShapeToCool.py:133
ActsTrk::PixelClusterValidationPlots::m_total_tot_barrel
TH1 * m_total_tot_barrel
Definition: PixelClusterValidationPlots.h:51
ActsTrk::PixelClusterValidationPlots::m_barrelEndcap
TH1 * m_barrelEndcap
Definition: PixelClusterValidationPlots.h:25
ActsTrk::PixelClusterValidationPlots::m_omega_x_barrel
TH1 * m_omega_x_barrel
Definition: PixelClusterValidationPlots.h:54
WritePulseShapeToCool.ylo
ylo
Definition: WritePulseShapeToCool.py:134
ActsTrk::PixelClusterValidationPlots::m_isNextToInnermost_endcap
TH1 * m_isNextToInnermost_endcap
Definition: PixelClusterValidationPlots.h:40
beamspotman.dir
string dir
Definition: beamspotman.py:623
ActsTrk::PixelClusterValidationPlots::m_omega_x_endcap
TH1 * m_omega_x_endcap
Definition: PixelClusterValidationPlots.h:55
PixelID::layer_disk
int layer_disk(const Identifier &id) const
Definition: PixelID.h:626
dumpTgcDigiJitter.nBins
list nBins
Definition: dumpTgcDigiJitter.py:29
PixelID::eta_module
int eta_module(const Identifier &id) const
Definition: PixelID.h:651
xAOD::PixelCluster_v1::globalPosition
ConstVectorMap< 3 > globalPosition() const
Returns the global position of the pixel cluster.
Definition: PixelCluster_v1.cxx:15
ActsTrk::PixelClusterValidationPlots::m_global_z_endcap
TH1 * m_global_z_endcap
Definition: PixelClusterValidationPlots.h:70
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
xAOD::PixelCluster_v1::totalToT
int totalToT() const
Returns the sum of the ToTs of the channels building the cluster.
xAOD::PixelCluster_v1::omegaX
float omegaX() const
Returns omegax and omegay, i.e.
ActsTrk::PixelClusterValidationPlots::m_global_x_barrel
TH1 * m_global_x_barrel
Definition: PixelClusterValidationPlots.h:63
ActsTrk::PixelClusterValidationPlots::m_global_x_endcap
TH1 * m_global_x_endcap
Definition: PixelClusterValidationPlots.h:64
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
xAOD::PixelCluster_v1::omegaY
float omegaY() const
ActsTrk::PixelClusterValidationPlots::m_widthY_endcap
TH1 * m_widthY_endcap
Definition: PixelClusterValidationPlots.h:91
ActsTrk::PixelClusterValidationPlots::m_localCovYY_endcap
TH1 * m_localCovYY_endcap
Definition: PixelClusterValidationPlots.h:82
ActsTrk::PixelClusterValidationPlots::m_isInnermost_barrel
TH1 * m_isInnermost_barrel
Definition: PixelClusterValidationPlots.h:36
ActsTrk::PixelClusterValidationPlots::m_widthY_barrel
TH1 * m_widthY_barrel
Definition: PixelClusterValidationPlots.h:90
ActsTrk::PixelClusterValidationPlots::m_global_zr_endcap
TH2 * m_global_zr_endcap
Definition: PixelClusterValidationPlots.h:97
python.LArCondContChannels.isBarrel
isBarrel
Definition: LArCondContChannels.py:659
ActsTrk::PixelClusterValidationPlots::m_lvl1a_endcap
TH1 * m_lvl1a_endcap
Definition: PixelClusterValidationPlots.h:61
ActsTrk::PixelClusterValidationPlots::m_perp_barrel
TH1 * m_perp_barrel
Definition: PixelClusterValidationPlots.h:45
ChangeHistoRange.binsX
list binsX
Definition: ChangeHistoRange.py:56
xAOD::PixelCluster_v1::channelsInEta
int channelsInEta() const
PixelID::phi_module
int phi_module(const Identifier &id) const
Definition: PixelID.h:644
ActsTrk::PixelClusterValidationPlots::m_global_y_endcap
TH1 * m_global_y_endcap
Definition: PixelClusterValidationPlots.h:67
ActsTrk::PixelClusterValidationPlots::m_global_zr_barrel
TH2 * m_global_zr_barrel
Definition: PixelClusterValidationPlots.h:96
PlotBase::finalizePlots
virtual void finalizePlots()
Definition: PlotBase.h:92
PlotBase::m_vBookedTrees
std::vector< TreeData > m_vBookedTrees
Definition: PlotBase.h:98
ActsTrk::PixelClusterValidationPlots::m_localCovXX_endcap
TH1 * m_localCovXX_endcap
Definition: PixelClusterValidationPlots.h:79
xAOD::PixelCluster_v1::channelsInPhi
int channelsInPhi() const
Returns the dimensions of the cluster in numbers of channels in phi (x) and eta (y) directions,...
xAOD::PixelCluster_v1::lvl1a
int lvl1a() const
Return the LVL1 accept.
ActsTrk::PixelClusterValidationPlots::m_etaModule_barrel
TH1 * m_etaModule_barrel
Definition: PixelClusterValidationPlots.h:33
Identifier
Definition: IdentifierFieldParser.cxx:14