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

#include <ShowerShapesPlots.h>

Inheritance diagram for Egamma::ShowerShapesPlots:
Collaboration diagram for Egamma::ShowerShapesPlots:

Public Member Functions

 ShowerShapesPlots (PlotBase *pParent, const std::string &sDir, std::string sParticleType)
 
void fill (const xAOD::Egamma &egamma, const xAOD::EventInfo &eventInfo)
 
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 ()
 

Public Attributes

std::string m_sParticleType
 
TH1 * hadleak
 
TH1 * middlee
 
TH1 * reta37
 
TH1 * reta33
 
TH1 * weta1
 
TH1 * weta2
 
TH1 * demax1
 
TH1 * demax2
 
TH1 * de
 
TH1 * fracs1
 
TH1 * wtots1
 
TH1 * f1
 
TH1 * f3
 
TH1 * pos7
 
TH1 * clusiso
 
TH1 * Eratio
 
TH1 * E0
 
TH1 * E1
 
TH1 * E2
 
TH1 * E3
 
TH1 * Rhad
 
TH1 * Rhad1
 
TH1 * Reta
 
TH1 * Rphi
 
TH2 * hadleakvset
 
TH2 * middleevset
 
TH2 * reta37vset
 
TH2 * reta33vset
 
TH2 * weta1vset
 
TH2 * weta2vset
 
TH2 * demax1vset
 
TH2 * demax2vset
 
TH2 * devset
 
TH2 * fracs1vset
 
TH2 * wtots1vset
 
TH2 * f1vset
 
TH2 * f3vset
 
TH2 * pos7vset
 
TH2 * clusisovset
 
TH2 * Eratiovset
 
TH2 * Rhadvset
 
TH2 * Rhad1vset
 
TH2 * Retavset
 
TH2 * Rphivset
 
TH2 * hadleakvseta
 
TH2 * middleevseta
 
TH2 * reta37vseta
 
TH2 * reta33vseta
 
TH2 * weta1vseta
 
TH2 * weta2vseta
 
TH2 * demax1vseta
 
TH2 * demax2vseta
 
TH2 * devseta
 
TH2 * fracs1vseta
 
TH2 * wtots1vseta
 
TH2 * f1vseta
 
TH2 * f3vseta
 
TH2 * pos7vseta
 
TH2 * clusisovseta
 
TH2 * Eratiovseta
 
TH2 * Rhadvseta
 
TH2 * Rhad1vseta
 
TH2 * Retavseta
 
TH2 * Rphivseta
 

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)
 

Detailed Description

Definition at line 16 of file ShowerShapesPlots.h.

Constructor & Destructor Documentation

◆ ShowerShapesPlots()

Egamma::ShowerShapesPlots::ShowerShapesPlots ( PlotBase pParent,
const std::string &  sDir,
std::string  sParticleType 
)

Definition at line 14 of file ShowerShapesPlots.cxx.

14  :PlotBase(pParent, sDir),
15  m_sParticleType(std::move(sParticleType)),
16  hadleak(nullptr),
17  middlee(nullptr),
18  reta37 (nullptr),
19  reta33 (nullptr),
20  weta1 (nullptr),
21  weta2 (nullptr),
22  demax1 (nullptr),
23  demax2 (nullptr),
24  de (nullptr),
25  fracs1 (nullptr),
26  wtots1 (nullptr),
27  f1 (nullptr),
28  f3 (nullptr),
29  pos7 (nullptr),
30  clusiso(nullptr),
31  Eratio(nullptr),
32  E0(nullptr),
33  E1(nullptr),
34  E2(nullptr),
35  E3(nullptr),
36  Rhad(nullptr),
37  Rhad1(nullptr),
38  Reta(nullptr),
39  Rphi(nullptr),
40  hadleakvset(nullptr),
41  middleevset(nullptr),
42  reta37vset (nullptr),
43  reta33vset (nullptr),
44  weta1vset (nullptr),
45  weta2vset (nullptr),
46  demax1vset (nullptr),
47  demax2vset (nullptr),
48  devset (nullptr),
49  fracs1vset (nullptr),
50  wtots1vset (nullptr),
51  f1vset (nullptr),
52  f3vset (nullptr),
53  pos7vset (nullptr),
54  clusisovset(nullptr),
55  Eratiovset(nullptr),
56  Rhadvset(nullptr),
57  Rhad1vset(nullptr),
58  Retavset(nullptr),
59  Rphivset(nullptr),
60  hadleakvseta(nullptr),
61  middleevseta(nullptr),
62  reta37vseta(nullptr),
63  reta33vseta(nullptr),
64  weta1vseta(nullptr),
65  weta2vseta(nullptr),
66  demax1vseta(nullptr),
67  demax2vseta(nullptr),
68  devseta(nullptr),
69  fracs1vseta(nullptr),
70  wtots1vseta(nullptr),
71  f1vseta(nullptr),
72  f3vseta(nullptr),
73  pos7vseta(nullptr),
74  clusisovseta(nullptr),
75  Eratiovseta(nullptr),
76  Rhadvseta(nullptr),
77  Rhad1vseta(nullptr),
78  Retavseta(nullptr),
79  Rphivseta(nullptr)
80 
81  {}

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 Egamma::ShowerShapesPlots::fill ( const xAOD::Egamma egamma,
const xAOD::EventInfo eventInfo 
)

Definition at line 154 of file ShowerShapesPlots.cxx.

154  {
155 
156  float weight = 1.;
157  weight = eventInfo.beamSpotWeight();
158 
159  float eta2 = fabs (egamma.caloCluster()->etaBE (2));
160  float et37 = egamma.caloCluster()->e() / cosh (eta2);
161  float ethad(0);
162  float ethad1(0);
163  float raphad(0);
164  float raphad1(0);
165  if(egamma.showerShapeValue(ethad, xAOD::EgammaParameters::ethad )){
166  raphad = et37 > 0. ? ethad / et37 : 0.;
167  }
168  if(egamma.showerShapeValue(ethad1, xAOD::EgammaParameters::ethad1 )){
169  raphad1 = et37 > 0. ? ethad1 / et37 : 0.;
170  }
171  float hadrleak = (eta2 >= 0.8 && eta2 < 1.37) ? raphad : raphad1;
172  hadleak->Fill(hadrleak, weight);
173  hadleakvset->Fill(hadrleak, egamma.pt()/GeV, weight);
174  hadleakvseta->Fill(hadrleak, egamma.eta(), weight);
175 
176  float e277(0);
177  float e237(0);
178  float e233(0);
179 
180  if(egamma.showerShapeValue(e277, xAOD::EgammaParameters::e277 ) &&
181  egamma.showerShapeValue(e237, xAOD::EgammaParameters::e237 ) &&
182  egamma.showerShapeValue(e233, xAOD::EgammaParameters::e233 ) ){
183 
184  middlee->Fill(e277/GeV, weight);
185  middleevset->Fill(e277/GeV, egamma.pt()/GeV, weight);
186  middleevseta->Fill(e277/GeV, egamma.eta(), weight);
187  float rateta37 = e277!= 0. ? e237/e277:0.;
188  float rateta33 = e277!= 0. ? e233/e277:0.;
189  reta37->Fill(rateta37, weight);
190  reta33->Fill(rateta33, weight);
191  reta37vset->Fill(rateta37, egamma.pt()/GeV, weight);
192  reta33vset->Fill(rateta33, egamma.pt()/GeV, weight);
193  reta37vseta->Fill(rateta37, egamma.eta(), weight);
194  reta33vseta->Fill(rateta33, egamma.eta(), weight);
195  }
196 
197  float shweta1(0);
198  float shweta2(0);
199  if(egamma.showerShapeValue(shweta1, xAOD::EgammaParameters::weta1 )&&
200  egamma.showerShapeValue(shweta2, xAOD::EgammaParameters::weta2 )){
201  weta1->Fill(shweta1, weight);
202  weta2->Fill(shweta2, weight);
203  weta1vset->Fill(shweta1, egamma.pt()/GeV, weight);
204  weta2vset->Fill(shweta2, egamma.pt()/GeV, weight);
205  weta1vseta->Fill(shweta1, egamma.eta(), weight);
206  weta2vseta->Fill(shweta2, egamma.eta(), weight);
207  }
208 
209  float emax(0);
210  float emin(0);
211  float emax2(0);
212  if(egamma.showerShapeValue(emax, xAOD::EgammaParameters::emaxs1 )&&
213  egamma.showerShapeValue(emin, xAOD::EgammaParameters::emins1 )&&
214  egamma.showerShapeValue(emax2, xAOD::EgammaParameters::e2tsts1 )){
215 
216  float deltemax1 = fabs (emax + emax2) > 0. ? (emax - emax2) / (emax + emax2) : 0.;
217  demax1->Fill(deltemax1, weight);
218  demax2->Fill(emax2 / (1. + 0.009 * et37/GeV)/GeV, weight);
219  de->Fill( (emax2 - emin)/GeV, weight);
220 
221  demax1vset->Fill(deltemax1, egamma.pt()/GeV, weight);
222  demax2vset->Fill(emax2 / (1. + 0.009 * et37/GeV)/GeV, egamma.pt()/GeV, weight);
223  devset->Fill( (emax2 - emin)/GeV, egamma.pt()/GeV, weight);
224  demax1vseta->Fill(deltemax1, egamma.eta(), weight);
225  demax2vseta->Fill(emax2 / (1. + 0.009 * et37/GeV)/GeV, egamma.eta(), weight);
226  devseta->Fill( (emax2 - emin)/GeV, egamma.eta(), weight);
227  }
228 
229  float shfracs1(0);
230  float shwtots1(0);
231  float fracf1(0);
232  float fracf3(0);
233  float eRatio(0);
234  float difpos7(0);
235  float rhad(0);
236  float rhad1(0);
237  float reta(0);
238  float rphi(0);
239 
240  if(egamma.showerShapeValue(shfracs1, xAOD::EgammaParameters::fracs1 )){
241  fracs1->Fill(shfracs1, weight);
242  fracs1vset->Fill(shfracs1, egamma.pt()/GeV, weight);
243  fracs1vseta->Fill(shfracs1, egamma.eta(), weight);
244  }
245 
246  if(egamma.showerShapeValue(shwtots1, xAOD::EgammaParameters::wtots1 )){
247  wtots1->Fill(shwtots1, weight);
248  wtots1vset->Fill(shwtots1, egamma.pt()/GeV, weight);
249  wtots1vseta->Fill(shwtots1, egamma.eta(), weight);
250  }
251 
252  if(egamma.showerShapeValue(fracf1, xAOD::EgammaParameters::f1 )){
253  f1->Fill(fracf1, weight);
254  f1vset->Fill(fracf1, egamma.pt()/GeV, weight);
255  f1vseta->Fill(fracf1, egamma.eta(), weight);
256  }
257 
258  if(egamma.showerShapeValue(fracf3, xAOD::EgammaParameters::f3 )){
259  f3->Fill(fracf3, weight);
260  f3vset->Fill(fracf3, egamma.pt()/GeV, weight);
261  f3vseta->Fill(fracf3, egamma.eta(), weight);
262  }
263  if(egamma.showerShapeValue(eRatio, xAOD::EgammaParameters::Eratio )){
264  Eratio->Fill(eRatio, weight);
265  Eratiovset->Fill(eRatio, egamma.pt()/GeV, weight);
266  Eratiovseta->Fill(eRatio, egamma.eta(), weight);
267  }
268 
269  if(egamma.showerShapeValue(difpos7, xAOD::EgammaParameters:: pos7)){
270  pos7->Fill(difpos7, weight);
271  pos7vset->Fill(difpos7, egamma.pt()/GeV, weight);
272  pos7vseta->Fill(difpos7, egamma.eta(), weight);
273  }
274 
275  if(egamma.showerShapeValue(rhad, xAOD::EgammaParameters::Rhad )){
276  Rhad->Fill(rhad, weight);
277  Rhadvset->Fill(rhad, egamma.pt()/GeV, weight);
278  Rhadvseta->Fill(rhad, egamma.eta(), weight);
279  }
280 
281  if(egamma.showerShapeValue(rhad1, xAOD::EgammaParameters::Rhad1 )){
282  Rhad1->Fill(rhad1, weight);
283  Rhad1vset->Fill(rhad1, egamma.pt()/GeV, weight);
284  Rhad1vseta->Fill(rhad1, egamma.eta(), weight);
285  }
286 
287  if(egamma.showerShapeValue(reta, xAOD::EgammaParameters::Reta )){
288  Reta->Fill(reta, weight);
289  Retavset->Fill(reta, egamma.pt()/GeV, weight);
290  Retavseta->Fill(reta, egamma.eta(), weight);
291  }
292 
293  if(egamma.showerShapeValue(rphi, xAOD::EgammaParameters::Rphi )){
294  Rphi->Fill(rphi, weight);
295  Rphivset->Fill(rphi, egamma.pt()/GeV, weight);
296  Rphivseta->Fill(rphi, egamma.eta(), weight);
297  }
298 
299  float topoEtconeIso(0);
300  float shetcone20(0);
301  if(egamma.isolationValue(shetcone20, xAOD::Iso::topoetcone20)){ //rel20
302 // if(egamma.isolationValue(shetcone20, xAOD::EgammaParameters::topoetcone20)){//rel19
303  topoEtconeIso = et37!=0. ? shetcone20/et37 : 0.;
304  clusiso->Fill(topoEtconeIso, weight);
305  clusisovset->Fill(topoEtconeIso, egamma.pt()/GeV, weight);
306  clusisovseta->Fill(topoEtconeIso, egamma.eta(), weight);
307  }
308 
309  if(egamma.caloCluster()){
310  const double e0 = egamma.caloCluster()->energyBE(0);
311  const double e1 = egamma.caloCluster()->energyBE(1);
312  const double e2 = egamma.caloCluster()->energyBE(2);
313  const double e3 = egamma.caloCluster()->energyBE(3);
314 
315  E0->Fill(e0, weight);
316  E1->Fill(e1, weight);
317  E2->Fill(e2, weight);
318  E3->Fill(e3, weight);
319  }
320  }

◆ 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()

void Egamma::ShowerShapesPlots::initializePlots ( )
privatevirtual

Reimplemented from PlotBase.

Definition at line 83 of file ShowerShapesPlots.cxx.

83  {
84 
85  hadleak = Book1D("hadleak", "Hadronic leakage of " + m_sParticleType+"; E_{hadleak} (GeV);Entries", 100, -0.07, 0.13);
86  middlee = Book1D("middlee", "E_{middle} of "+ m_sParticleType+"; E_{277} (GeV); Entries" , 210,-10.,200.);
87  reta37 = Book1D("reta37", "R_{#eta37} of "+ m_sParticleType+";R_{#eta37};Entries", 355, 0., 1.1005);
88  reta33 = Book1D("reta33", "R_{#eta33} of "+ m_sParticleType+";R_{#eta33};Entries", 355, 0., 1.1005);
89  weta1 = Book1D("weta1", "W_{#etas1} of "+ m_sParticleType+";W_{#etas1};Entries", 100, 0., 1.);
90  weta2 = Book1D("weta2", "W_{#etas2} of "+ m_sParticleType+";W_{#etas2};Entries", 100, 0., 0.03);
91  demax1 = Book1D("demax1", "#DeltaE_{maxs1} of "+ m_sParticleType+";#DeltaE_{maxs1};Entries" , 100, 0., 1.);
92  demax2 = Book1D("demax2", "#DeltaE_{maxs2} of "+ m_sParticleType+";#DeltaE_{maxs2};Entries" , 80, 0., 0.8);
93  de = Book1D("de", "#DeltaE of "+ m_sParticleType+";#DeltaE (GeV);Entries", 250, 0., 0.5);
94  fracs1 = Book1D("fracs1", "Fracs1 of "+ m_sParticleType+";Fracs1;Entries", 350, 0., 3.5);
95  wtots1 = Book1D("wtots1", "W_{tots1} of "+ m_sParticleType+";W_{tots1};Entries", 100, 0., 10.);
96  f1 = Book1D("f1", "f1 of "+ m_sParticleType+";f1;Entries" , 120, -0.2, 1.0);
97  f3 = Book1D("f3", "f3 of "+ m_sParticleType+";f3;Entries" , 120, -0.2, 1.0);
98  Eratio = Book1D("Eratio", "Eratio of "+ m_sParticleType+";Eratio;Entries" , 100, 0., 1.0);
99  pos7 = Book1D("pos7", "pos7 of "+ m_sParticleType+";pos7;Entries", 80, -4., 4.);
100  clusiso = Book1D("clusiso","Cluster Isolation of "+ m_sParticleType+"; E_{T}^{cone20}/E_{T};Entries", 100, 0., 1.);
101  E0 = Book1D("E0", "E0 of "+ m_sParticleType+"; E0 (GeV); Entries" , 210,-10.,200.);
102  E1 = Book1D("E1", "E1 of "+ m_sParticleType+"; E1 (GeV); Entries" , 210,-10.,200.);
103  E2 = Book1D("E2", "E2 of "+ m_sParticleType+"; E2 (GeV); Entries" , 210,-10.,200.);
104  E3 = Book1D("E3", "E3 of "+ m_sParticleType+"; E3 (GeV); Entries" , 210,-10.,200.);
105  Rhad = Book1D("Rhad", "Rhad of "+ m_sParticleType+";Rhad;Entries", 100, -0.5, 2.);
106  Rhad1 = Book1D("Rhad1", "Rhad1 of "+ m_sParticleType+";Rhad1;Entries", 100, -0.5, 1.5);
107  Reta = Book1D("Reta", "Reta of "+ m_sParticleType+";Reta;Entries", 100, -0., 3.);
108  Rphi = Book1D("Rphi", "Rphi of "+ m_sParticleType+";Rphi;Entries", 100, -1., 1.);
109 
110  hadleakvset = Book2D("hadleakvset", "Hadronic leakage vs E_{T} of " + m_sParticleType+"; E_{hadleak} (GeV) ; E_{T} (GeV) ", 100, -0.07, 0.13, 200, 0., 200);
111  middleevset = Book2D("middleevset", "E_{middle} vs E_{T} of "+ m_sParticleType+"; E_{277} (GeV); E_{T} (GeV) " , 210,-10.,200., 200, 0., 200);
112  reta37vset = Book2D("reta37vset", "R_{#eta37} vs E_{T} of "+ m_sParticleType+";R_{#eta37}; E_{T} (GeV) ", 355, 0., 1.1005, 200, 0., 200);
113  reta33vset = Book2D("reta33vset", "R_{#eta33} vs E_{T} of "+ m_sParticleType+";R_{#eta33}; E_{T} (GeV) ", 355, 0., 1.1005, 200, 0., 200);
114  weta1vset = Book2D("weta1vset", "W_{#etas1} vs E_{T} of "+ m_sParticleType+";W_{#etas1}; E_{T} (GeV) ", 100, 0., 1., 200, 0., 200);
115  weta2vset = Book2D("weta2vset", "W_{#etas2} vs E_{T} of "+ m_sParticleType+";W_{#etas2}; E_{T} (GeV) ", 100, 0., 0.03, 200, 0., 200);
116  demax1vset = Book2D("demax1vset", "#DeltaE_{maxs1} vs E_{T} of "+ m_sParticleType+";#DeltaE_{maxs1}; E_{T} (GeV) " , 100, 0., 1., 200, 0., 200);
117  demax2vset = Book2D("demax2vset", "#DeltaE_{maxs2} vs E_{T} of "+ m_sParticleType+";#DeltaE_{maxs2}; E_{T} (GeV) " , 80, 0., 0.8, 200, 0., 200);
118  devset = Book2D("devset", "#DeltaE vs E_{T} of "+ m_sParticleType+";#DeltaE (GeV); E_{T} (GeV) ", 250, 0., 0.5, 200, 0., 200);
119  fracs1vset = Book2D("fracs1vset", "Fracs1 vs E_{T} of "+ m_sParticleType+";Fracs1; E_{T} (GeV) ", 350, 0., 3.5, 200, 0., 200);
120  wtots1vset = Book2D("wtots1vset", "W_{tots1} vsE_{T} of "+ m_sParticleType+";W_{tots1}; E_{T} (GeV) ", 100, 0., 10., 200, 0., 200);
121  f1vset = Book2D("f1vset", "f1 vs E_{T} of "+ m_sParticleType+";f1; E_{T} (GeV) " , 100, 0., 1.0, 200, 0., 200);
122  f3vset = Book2D("f3vset", "f3 vs E_{T} of "+ m_sParticleType+";f3; E_{T} (GeV) " , 120, -0.2, 1.0, 200, 0., 200);
123  Eratiovset = Book2D("Eratiovset", "Eratio vs E_{T} of "+ m_sParticleType+";Eratio; E_{T} (GeV) " , 100, 0., 1.0, 200, 0., 200);
124  pos7vset = Book2D("pos7vset", "pos7 vs E_{T} of "+ m_sParticleType+";pos7; E_{T} (GeV) ", 80, -4., 4., 200, 0., 200);
125  clusisovset = Book2D("clusisovset","Cluster Isolation vs E_{T} of "+ m_sParticleType+"; E_{T}^{cone20}/E_{T}; E_{T} (GeV) ", 100, 0., 1., 200, 0., 200);
126  Rhadvset = Book2D("Rhadvset", "Rhad vs E_{T} of "+ m_sParticleType+";Rhad;E_{T} (GeV)", 100, -0.5, 2., 200, 0., 200);
127  Rhad1vset = Book2D("Rhad1vset", "Rhad1 vs E_{T} of "+ m_sParticleType+";Rhad1;E_{T} (GeV)", 100, -0.5, 1.5, 200, 0., 200);
128  Retavset = Book2D("Retavset", "Reta vs E_{T} of "+ m_sParticleType+";Reta;E_{T} (GeV)", 100, -0., 3., 200, 0., 200);
129  Rphivset = Book2D("Rphivset", "Rphi vs E_{T} of "+ m_sParticleType+";Rphi;E_{T} (GeV)", 100, -1., 1., 200, 0., 200);
130 
131  hadleakvseta = Book2D("hadleakvseta", "Hadronic leakage vs E_{T} of " + m_sParticleType+"; E_{hadleak} (GeV) ; #eta ", 100, -0.07, 0.13, 1000,-5.,5.);
132  middleevseta = Book2D("middleevseta", "E_{middle} vs E_{T} of "+ m_sParticleType+"; E_{277} (GeV); #eta " , 210,-10.,200., 1000,-5.,5.);
133  reta37vseta = Book2D("reta37vseta", "R_{#eta37} vs E_{T} of "+ m_sParticleType+";R_{#eta37}; #eta ", 355, 0., 1.1005, 1000,-5.,5.);
134  reta33vseta = Book2D("reta33vseta", "R_{#eta33} vs E_{T} of "+ m_sParticleType+";R_{#eta33}; #eta ", 355, 0., 1.1005, 1000,-5.,5.);
135  weta1vseta = Book2D("weta1vseta", "W_{#etas1} vs E_{T} of "+ m_sParticleType+";W_{#etas1}; #eta ", 100, 0., 1., 1000,-5.,5.);
136  weta2vseta = Book2D("weta2vseta", "W_{#etas2} vs E_{T} of "+ m_sParticleType+";W_{#etas2}; #eta ", 100, 0., 0.03, 1000,-5.,5.);
137  demax1vseta = Book2D("demax1vseta", "#DeltaE_{maxs1} vs E_{T} of "+ m_sParticleType+";#DeltaE_{maxs1}; #eta " , 100, 0., 1., 1000,-5.,5.);
138  demax2vseta = Book2D("demax2vseta", "#DeltaE_{maxs2} vs E_{T} of "+ m_sParticleType+";#DeltaE_{maxs2}; #eta " , 80, 0., 0.8, 1000,-5.,5.);
139  devseta = Book2D("devseta", "#DeltaE vs E_{T} of "+ m_sParticleType+";#DeltaE (GeV); #eta ", 250, 0., 0.5, 1000,-5.,5.);
140  fracs1vseta = Book2D("fracs1vseta", "Fracs1 vs E_{T} of "+ m_sParticleType+";Fracs1; #eta ", 350, 0., 3.5, 1000,-5.,5.);
141  wtots1vseta = Book2D("wtots1vseta", "W_{tots1} vsE_{T} of "+ m_sParticleType+";W_{tots1}; #eta ", 100, 0., 10., 1000,-5.,5.);
142  f1vseta = Book2D("f1vseta", "f1 vs E_{T} of "+ m_sParticleType+";f1; #eta " , 100, 0., 1.0, 1000,-5.,5.);
143  f3vseta = Book2D("f3vseta", "f3 vs #eta of "+ m_sParticleType+";f3; #eta " , 120, -0.2, 1.0, 1000,-5.,5.);
144  Eratiovseta = Book2D("Eratiovseta", "Eratio vs #eta of "+ m_sParticleType+";Eratio; #eta " , 100, 0., 1.0, 1000,-5.,5.);
145  pos7vseta = Book2D("pos7vseta", "pos7 vs #eta of "+ m_sParticleType+";pos7; #eta ", 80, -4., 4., 1000,-5.,5.);
146  clusisovseta = Book2D("clusisovseta","Cluster Isolation vs #eta of "+ m_sParticleType+"; E_{T}^{topoEtcone20}/E_{T}; #eta ", 100, 0., 1., 1000,-5.,5.);
147  Rhadvseta = Book2D("Rhadvseta", "Rhad vs #eta of "+ m_sParticleType+";Rhad;#eta", 100, -0.5, 2., 1000,-5.,5.);
148  Rhad1vseta = Book2D("Rhad1vseta", "Rhad1 vs #eta of "+ m_sParticleType+";Rhad1;#eta", 100, -0.5, 1.5, 1000,-5.,5.);
149  Retavseta = Book2D("Retavseta", "Reta vs #eta of "+ m_sParticleType+";Reta;#eta", 100, -0., 3., 1000,-5.,5.);
150  Rphivseta = Book2D("Rphivseta", "Rphi vs #eta of "+ m_sParticleType+";Rphi;#eta", 100, -1., 1., 1000,-5.,5.);
151 
152  }

◆ 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

◆ clusiso

TH1* Egamma::ShowerShapesPlots::clusiso

Definition at line 37 of file ShowerShapesPlots.h.

◆ clusisovset

TH2* Egamma::ShowerShapesPlots::clusisovset

Definition at line 62 of file ShowerShapesPlots.h.

◆ clusisovseta

TH2* Egamma::ShowerShapesPlots::clusisovseta

Definition at line 83 of file ShowerShapesPlots.h.

◆ de

TH1* Egamma::ShowerShapesPlots::de

Definition at line 31 of file ShowerShapesPlots.h.

◆ demax1

TH1* Egamma::ShowerShapesPlots::demax1

Definition at line 29 of file ShowerShapesPlots.h.

◆ demax1vset

TH2* Egamma::ShowerShapesPlots::demax1vset

Definition at line 54 of file ShowerShapesPlots.h.

◆ demax1vseta

TH2* Egamma::ShowerShapesPlots::demax1vseta

Definition at line 75 of file ShowerShapesPlots.h.

◆ demax2

TH1* Egamma::ShowerShapesPlots::demax2

Definition at line 30 of file ShowerShapesPlots.h.

◆ demax2vset

TH2* Egamma::ShowerShapesPlots::demax2vset

Definition at line 55 of file ShowerShapesPlots.h.

◆ demax2vseta

TH2* Egamma::ShowerShapesPlots::demax2vseta

Definition at line 76 of file ShowerShapesPlots.h.

◆ devset

TH2* Egamma::ShowerShapesPlots::devset

Definition at line 56 of file ShowerShapesPlots.h.

◆ devseta

TH2* Egamma::ShowerShapesPlots::devseta

Definition at line 77 of file ShowerShapesPlots.h.

◆ E0

TH1* Egamma::ShowerShapesPlots::E0

Definition at line 39 of file ShowerShapesPlots.h.

◆ E1

TH1* Egamma::ShowerShapesPlots::E1

Definition at line 40 of file ShowerShapesPlots.h.

◆ E2

TH1* Egamma::ShowerShapesPlots::E2

Definition at line 41 of file ShowerShapesPlots.h.

◆ E3

TH1* Egamma::ShowerShapesPlots::E3

Definition at line 42 of file ShowerShapesPlots.h.

◆ Eratio

TH1* Egamma::ShowerShapesPlots::Eratio

Definition at line 38 of file ShowerShapesPlots.h.

◆ Eratiovset

TH2* Egamma::ShowerShapesPlots::Eratiovset

Definition at line 63 of file ShowerShapesPlots.h.

◆ Eratiovseta

TH2* Egamma::ShowerShapesPlots::Eratiovseta

Definition at line 84 of file ShowerShapesPlots.h.

◆ f1

TH1* Egamma::ShowerShapesPlots::f1

Definition at line 34 of file ShowerShapesPlots.h.

◆ f1vset

TH2* Egamma::ShowerShapesPlots::f1vset

Definition at line 59 of file ShowerShapesPlots.h.

◆ f1vseta

TH2* Egamma::ShowerShapesPlots::f1vseta

Definition at line 80 of file ShowerShapesPlots.h.

◆ f3

TH1* Egamma::ShowerShapesPlots::f3

Definition at line 35 of file ShowerShapesPlots.h.

◆ f3vset

TH2* Egamma::ShowerShapesPlots::f3vset

Definition at line 60 of file ShowerShapesPlots.h.

◆ f3vseta

TH2* Egamma::ShowerShapesPlots::f3vseta

Definition at line 81 of file ShowerShapesPlots.h.

◆ fracs1

TH1* Egamma::ShowerShapesPlots::fracs1

Definition at line 32 of file ShowerShapesPlots.h.

◆ fracs1vset

TH2* Egamma::ShowerShapesPlots::fracs1vset

Definition at line 57 of file ShowerShapesPlots.h.

◆ fracs1vseta

TH2* Egamma::ShowerShapesPlots::fracs1vseta

Definition at line 78 of file ShowerShapesPlots.h.

◆ hadleak

TH1* Egamma::ShowerShapesPlots::hadleak

Definition at line 23 of file ShowerShapesPlots.h.

◆ hadleakvset

TH2* Egamma::ShowerShapesPlots::hadleakvset

Definition at line 48 of file ShowerShapesPlots.h.

◆ hadleakvseta

TH2* Egamma::ShowerShapesPlots::hadleakvseta

Definition at line 69 of file ShowerShapesPlots.h.

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

std::string Egamma::ShowerShapesPlots::m_sParticleType

Definition at line 21 of file ShowerShapesPlots.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.

◆ middlee

TH1* Egamma::ShowerShapesPlots::middlee

Definition at line 24 of file ShowerShapesPlots.h.

◆ middleevset

TH2* Egamma::ShowerShapesPlots::middleevset

Definition at line 49 of file ShowerShapesPlots.h.

◆ middleevseta

TH2* Egamma::ShowerShapesPlots::middleevseta

Definition at line 70 of file ShowerShapesPlots.h.

◆ pos7

TH1* Egamma::ShowerShapesPlots::pos7

Definition at line 36 of file ShowerShapesPlots.h.

◆ pos7vset

TH2* Egamma::ShowerShapesPlots::pos7vset

Definition at line 61 of file ShowerShapesPlots.h.

◆ pos7vseta

TH2* Egamma::ShowerShapesPlots::pos7vseta

Definition at line 82 of file ShowerShapesPlots.h.

◆ Reta

TH1* Egamma::ShowerShapesPlots::Reta

Definition at line 45 of file ShowerShapesPlots.h.

◆ reta33

TH1* Egamma::ShowerShapesPlots::reta33

Definition at line 26 of file ShowerShapesPlots.h.

◆ reta33vset

TH2* Egamma::ShowerShapesPlots::reta33vset

Definition at line 51 of file ShowerShapesPlots.h.

◆ reta33vseta

TH2* Egamma::ShowerShapesPlots::reta33vseta

Definition at line 72 of file ShowerShapesPlots.h.

◆ reta37

TH1* Egamma::ShowerShapesPlots::reta37

Definition at line 25 of file ShowerShapesPlots.h.

◆ reta37vset

TH2* Egamma::ShowerShapesPlots::reta37vset

Definition at line 50 of file ShowerShapesPlots.h.

◆ reta37vseta

TH2* Egamma::ShowerShapesPlots::reta37vseta

Definition at line 71 of file ShowerShapesPlots.h.

◆ Retavset

TH2* Egamma::ShowerShapesPlots::Retavset

Definition at line 66 of file ShowerShapesPlots.h.

◆ Retavseta

TH2* Egamma::ShowerShapesPlots::Retavseta

Definition at line 87 of file ShowerShapesPlots.h.

◆ Rhad

TH1* Egamma::ShowerShapesPlots::Rhad

Definition at line 43 of file ShowerShapesPlots.h.

◆ Rhad1

TH1* Egamma::ShowerShapesPlots::Rhad1

Definition at line 44 of file ShowerShapesPlots.h.

◆ Rhad1vset

TH2* Egamma::ShowerShapesPlots::Rhad1vset

Definition at line 65 of file ShowerShapesPlots.h.

◆ Rhad1vseta

TH2* Egamma::ShowerShapesPlots::Rhad1vseta

Definition at line 86 of file ShowerShapesPlots.h.

◆ Rhadvset

TH2* Egamma::ShowerShapesPlots::Rhadvset

Definition at line 64 of file ShowerShapesPlots.h.

◆ Rhadvseta

TH2* Egamma::ShowerShapesPlots::Rhadvseta

Definition at line 85 of file ShowerShapesPlots.h.

◆ Rphi

TH1* Egamma::ShowerShapesPlots::Rphi

Definition at line 46 of file ShowerShapesPlots.h.

◆ Rphivset

TH2* Egamma::ShowerShapesPlots::Rphivset

Definition at line 67 of file ShowerShapesPlots.h.

◆ Rphivseta

TH2* Egamma::ShowerShapesPlots::Rphivseta

Definition at line 88 of file ShowerShapesPlots.h.

◆ weta1

TH1* Egamma::ShowerShapesPlots::weta1

Definition at line 27 of file ShowerShapesPlots.h.

◆ weta1vset

TH2* Egamma::ShowerShapesPlots::weta1vset

Definition at line 52 of file ShowerShapesPlots.h.

◆ weta1vseta

TH2* Egamma::ShowerShapesPlots::weta1vseta

Definition at line 73 of file ShowerShapesPlots.h.

◆ weta2

TH1* Egamma::ShowerShapesPlots::weta2

Definition at line 28 of file ShowerShapesPlots.h.

◆ weta2vset

TH2* Egamma::ShowerShapesPlots::weta2vset

Definition at line 53 of file ShowerShapesPlots.h.

◆ weta2vseta

TH2* Egamma::ShowerShapesPlots::weta2vseta

Definition at line 74 of file ShowerShapesPlots.h.

◆ wtots1

TH1* Egamma::ShowerShapesPlots::wtots1

Definition at line 33 of file ShowerShapesPlots.h.

◆ wtots1vset

TH2* Egamma::ShowerShapesPlots::wtots1vset

Definition at line 58 of file ShowerShapesPlots.h.

◆ wtots1vseta

TH2* Egamma::ShowerShapesPlots::wtots1vseta

Definition at line 79 of file ShowerShapesPlots.h.


The documentation for this class was generated from the following files:
xAOD::EgammaParameters::e233
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
Definition: EgammaEnums.h:68
PlotBase::constructPrefix
static std::string constructPrefix(std::string dir, bool prependDir)
Definition: PlotBase.cxx:293
Egamma::ShowerShapesPlots::wtots1
TH1 * wtots1
Definition: ShowerShapesPlots.h:33
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
PlotBase::m_iDetailLevel
int m_iDetailLevel
Definition: PlotBase.h:101
Egamma::ShowerShapesPlots::f3vseta
TH2 * f3vseta
Definition: ShowerShapesPlots.h:81
Egamma::ShowerShapesPlots::Rphivseta
TH2 * Rphivseta
Definition: ShowerShapesPlots.h:88
PlotBase::m_vBookedHistograms
std::vector< HistData > m_vBookedHistograms
Definition: PlotBase.h:97
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
xAOD::Iso::topoetcone20
@ topoetcone20
Topo-cluster ET-sum.
Definition: IsolationType.h:48
ParticleImpl::pt
virtual double pt() const
transverse momentum
Definition: ParticleImpl.h:554
ParticleGun_SamplingFraction.eta2
eta2
Definition: ParticleGun_SamplingFraction.py:96
Egamma::ShowerShapesPlots::fracs1vset
TH2 * fracs1vset
Definition: ShowerShapesPlots.h:57
Egamma::ShowerShapesPlots::Rhad1
TH1 * Rhad1
Definition: ShowerShapesPlots.h:44
Egamma::ShowerShapesPlots::f3vset
TH2 * f3vset
Definition: ShowerShapesPlots.h:60
xAOD::EgammaParameters::Reta
@ Reta
e237/e277
Definition: EgammaEnums.h:154
make_coralServer_rep.opt
opt
Definition: make_coralServer_rep.py:19
egammaEnergyPositionAllSamples::e1
double e1(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 1st sampling
Egamma::ShowerShapesPlots::Retavset
TH2 * Retavset
Definition: ShowerShapesPlots.h:66
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
plotmaker.hist
hist
Definition: plotmaker.py:148
Egamma::ShowerShapesPlots::Rhad1vseta
TH2 * Rhad1vseta
Definition: ShowerShapesPlots.h:86
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
Egamma::ShowerShapesPlots::fracs1vseta
TH2 * fracs1vseta
Definition: ShowerShapesPlots.h:78
Egamma::ShowerShapesPlots::m_sParticleType
std::string m_sParticleType
Definition: ShowerShapesPlots.h:21
Egamma::ShowerShapesPlots::devseta
TH2 * devseta
Definition: ShowerShapesPlots.h:77
Egamma::ShowerShapesPlots::demax1vset
TH2 * demax1vset
Definition: ShowerShapesPlots.h:54
Egamma::ShowerShapesPlots::middleevseta
TH2 * middleevseta
Definition: ShowerShapesPlots.h:70
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
Egamma::ShowerShapesPlots::hadleak
TH1 * hadleak
Definition: ShowerShapesPlots.h:23
xAOD::EgammaParameters::ethad1
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
Definition: EgammaEnums.h:42
Egamma::ShowerShapesPlots::pos7
TH1 * pos7
Definition: ShowerShapesPlots.h:36
Egamma::ShowerShapesPlots::E2
TH1 * E2
Definition: ShowerShapesPlots.h:41
Egamma::ShowerShapesPlots::weta2vset
TH2 * weta2vset
Definition: ShowerShapesPlots.h:53
Egamma::ShowerShapesPlots::wtots1vset
TH2 * wtots1vset
Definition: ShowerShapesPlots.h:58
Egamma::ShowerShapesPlots::middlee
TH1 * middlee
Definition: ShowerShapesPlots.h:24
Egamma::ShowerShapesPlots::clusiso
TH1 * clusiso
Definition: ShowerShapesPlots.h:37
xAOD::EgammaParameters::Rphi
@ Rphi
e233/e237
Definition: EgammaEnums.h:156
Egamma::ShowerShapesPlots::weta2vseta
TH2 * weta2vseta
Definition: ShowerShapesPlots.h:74
Egamma::ShowerShapesPlots::de
TH1 * de
Definition: ShowerShapesPlots.h:31
Egamma::ShowerShapesPlots::wtots1vseta
TH2 * wtots1vseta
Definition: ShowerShapesPlots.h:79
Egamma::ShowerShapesPlots::pos7vseta
TH2 * pos7vseta
Definition: ShowerShapesPlots.h:82
Egamma::ShowerShapesPlots::Rhadvseta
TH2 * Rhadvseta
Definition: ShowerShapesPlots.h:85
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
xAOD::EgammaParameters::wtots1
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
Definition: EgammaEnums.h:140
PlotBase::PlotBase
PlotBase(PlotBase *parent, const std::string &sDir)
Definition: PlotBase.cxx:29
Egamma::ShowerShapesPlots::weta2
TH1 * weta2
Definition: ShowerShapesPlots.h:28
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
egamma
Definition: egamma.h:58
Egamma::ShowerShapesPlots::reta33vseta
TH2 * reta33vseta
Definition: ShowerShapesPlots.h:72
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
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
Egamma::ShowerShapesPlots::weta1vseta
TH2 * weta1vseta
Definition: ShowerShapesPlots.h:73
Egamma::ShowerShapesPlots::Rhad1vset
TH2 * Rhad1vset
Definition: ShowerShapesPlots.h:65
Egamma::ShowerShapesPlots::Rphi
TH1 * Rphi
Definition: ShowerShapesPlots.h:46
Egamma::ShowerShapesPlots::fracs1
TH1 * fracs1
Definition: ShowerShapesPlots.h:32
ParticleImpl::e
virtual double e() const
energy
Definition: ParticleImpl.h:534
Egamma::ShowerShapesPlots::weta1
TH1 * weta1
Definition: ShowerShapesPlots.h:27
Egamma::ShowerShapesPlots::Rphivset
TH2 * Rphivset
Definition: ShowerShapesPlots.h:67
xAOD::EgammaParameters::f3
@ f3
fraction of energy reconstructed in 3rd sampling
Definition: EgammaEnums.h:54
Egamma::ShowerShapesPlots::f1vseta
TH2 * f1vseta
Definition: ShowerShapesPlots.h:80
xAOD::EgammaParameters::ethad
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
Definition: EgammaEnums.h:45
beamspotnt.labels
list labels
Definition: bin/beamspotnt.py:1447
PlotBase::m_vSubNodes
std::vector< PlotBase * > m_vSubNodes
Definition: PlotBase.h:96
Egamma::ShowerShapesPlots::f3
TH1 * f3
Definition: ShowerShapesPlots.h:35
Egamma::ShowerShapesPlots::demax2vseta
TH2 * demax2vseta
Definition: ShowerShapesPlots.h:76
CheckAppliedSFs.e3
e3
Definition: CheckAppliedSFs.py:264
xAOD::EgammaParameters::f1
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
Definition: EgammaEnums.h:52
WritePulseShapeToCool.xhi
xhi
Definition: WritePulseShapeToCool.py:152
Egamma::ShowerShapesPlots::Eratio
TH1 * Eratio
Definition: ShowerShapesPlots.h:38
Egamma::ShowerShapesPlots::Retavseta
TH2 * Retavseta
Definition: ShowerShapesPlots.h:87
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition: TrigEgammaMonitorHelper.py:81
Egamma::ShowerShapesPlots::reta37vset
TH2 * reta37vset
Definition: ShowerShapesPlots.h:50
xAOD::EgammaParameters::pos7
@ pos7
Difference between the track and the shower positions: sum_{i=i_m-7}^{i=i_m+7}E_i x (i-i_m) / sum_{i=...
Definition: EgammaEnums.h:133
xAOD::EgammaParameters::emins1
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
Definition: EgammaEnums.h:143
ChangeHistoRange.binsY
list binsY
Definition: ChangeHistoRange.py:59
Egamma::ShowerShapesPlots::f1
TH1 * f1
Definition: ShowerShapesPlots.h:34
Egamma::ShowerShapesPlots::E3
TH1 * E3
Definition: ShowerShapesPlots.h:42
Egamma::ShowerShapesPlots::demax1vseta
TH2 * demax1vseta
Definition: ShowerShapesPlots.h:75
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
Egamma::ShowerShapesPlots::hadleakvseta
TH2 * hadleakvseta
Definition: ShowerShapesPlots.h:69
Egamma::ShowerShapesPlots::reta37vseta
TH2 * reta37vseta
Definition: ShowerShapesPlots.h:71
Egamma::ShowerShapesPlots::pos7vset
TH2 * pos7vset
Definition: ShowerShapesPlots.h:61
Egamma::ShowerShapesPlots::weta1vset
TH2 * weta1vset
Definition: ShowerShapesPlots.h:52
ParticleImpl::eta
virtual double eta() const
pseudo rapidity
Definition: ParticleImpl.h:514
WritePulseShapeToCool.xlo
xlo
Definition: WritePulseShapeToCool.py:133
Egamma::ShowerShapesPlots::demax2vset
TH2 * demax2vset
Definition: ShowerShapesPlots.h:55
WritePulseShapeToCool.ylo
ylo
Definition: WritePulseShapeToCool.py:134
xAOD::EgammaParameters::Rhad1
@ Rhad1
ethad1/et
Definition: EgammaEnums.h:162
Egamma::ShowerShapesPlots::E0
TH1 * E0
Definition: ShowerShapesPlots.h:39
beamspotman.dir
string dir
Definition: beamspotman.py:623
Egamma::ShowerShapesPlots::Eratiovseta
TH2 * Eratiovseta
Definition: ShowerShapesPlots.h:84
dumpTgcDigiJitter.nBins
list nBins
Definition: dumpTgcDigiJitter.py:29
Egamma::ShowerShapesPlots::reta33
TH1 * reta33
Definition: ShowerShapesPlots.h:26
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Egamma::ShowerShapesPlots::Reta
TH1 * Reta
Definition: ShowerShapesPlots.h:45
Egamma::ShowerShapesPlots::demax2
TH1 * demax2
Definition: ShowerShapesPlots.h:30
Egamma::ShowerShapesPlots::f1vset
TH2 * f1vset
Definition: ShowerShapesPlots.h:59
Egamma::ShowerShapesPlots::clusisovset
TH2 * clusisovset
Definition: ShowerShapesPlots.h:62
Egamma::ShowerShapesPlots::clusisovseta
TH2 * clusisovseta
Definition: ShowerShapesPlots.h:83
egammaEnergyPositionAllSamples::e2
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
Egamma::ShowerShapesPlots::hadleakvset
TH2 * hadleakvset
Definition: ShowerShapesPlots.h:48
Egamma::ShowerShapesPlots::Rhadvset
TH2 * Rhadvset
Definition: ShowerShapesPlots.h:64
Egamma::ShowerShapesPlots::E1
TH1 * E1
Definition: ShowerShapesPlots.h:40
xAOD::EgammaParameters::e277
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition: EgammaEnums.h:80
Egamma::ShowerShapesPlots::reta33vset
TH2 * reta33vset
Definition: ShowerShapesPlots.h:51
Egamma::ShowerShapesPlots::Rhad
TH1 * Rhad
Definition: ShowerShapesPlots.h:43
ChangeHistoRange.binsX
list binsX
Definition: ChangeHistoRange.py:56
xAOD::EgammaParameters::weta1
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
Definition: EgammaEnums.h:97
xAOD::EgammaParameters::Eratio
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
Definition: EgammaEnums.h:158
xAOD::EgammaParameters::e237
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
Definition: EgammaEnums.h:77
Egamma::ShowerShapesPlots::demax1
TH1 * demax1
Definition: ShowerShapesPlots.h:29
egammaEnergyPositionAllSamples::e0
double e0(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in pre-sampler
Egamma::ShowerShapesPlots::middleevset
TH2 * middleevset
Definition: ShowerShapesPlots.h:49
xAOD::EgammaParameters::e2tsts1
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
Definition: EgammaEnums.h:108
xAOD::EgammaParameters::Rhad
@ Rhad
ethad/et
Definition: EgammaEnums.h:160
Egamma::ShowerShapesPlots::reta37
TH1 * reta37
Definition: ShowerShapesPlots.h:25
Egamma::ShowerShapesPlots::Eratiovset
TH2 * Eratiovset
Definition: ShowerShapesPlots.h:63
Egamma::ShowerShapesPlots::devset
TH2 * devset
Definition: ShowerShapesPlots.h:56
xAOD::EgammaParameters::emaxs1
@ emaxs1
energy of strip with maximal energy deposit
Definition: EgammaEnums.h:145
PlotBase::finalizePlots
virtual void finalizePlots()
Definition: PlotBase.h:92
xAOD::EventInfo_v1::beamSpotWeight
float beamSpotWeight() const
Weight for beam spot size reweighting.
Definition: EventInfo_v1.cxx:970
PlotBase::m_vBookedTrees
std::vector< TreeData > m_vBookedTrees
Definition: PlotBase.h:98
xAOD::EgammaParameters::fracs1
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
Definition: EgammaEnums.h:111
xAOD::EgammaParameters::weta2
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
Definition: EgammaEnums.h:103