ATLAS Offline Software
HIMonitoringEventShapeTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 
6 
10 
11 #include "LWHists/TH1D_LW.h"
12 #include "LWHists/TH2D_LW.h"
13 #include "LWHists/TProfile_LW.h"
14 
15 #include <cmath>
17 HIMonitoringEventShapeTool( const std::string & type, const std::string & name,
18  const IInterface* parent ): ManagedMonitorToolBase( type, name, parent )
19 {
20  m_nbins_phi=64;
22  m_eta_range=5.0;
23  declareProperty( "ZDCmon", m_ZDCmon=true);
24  declareProperty( "ESmon", m_ESmon=true);
25  declareProperty( "FCalEt_eta_hist_cut", m_FCalEt_eta_hist_cut=0.05); // in TeV
26  declareProperty( "FCalEt_nbins", m_FCalEt_nbins=95);
27  declareProperty( "lowFCalEt", m_low_FCalEt=-0.15);
28  declareProperty( "highFCalEt", m_high_FCalEt=0.8);
29 }
30 
32 }
33 
34 // Description: Used for rebooking unmanaged histograms
36  return StatusCode::SUCCESS;
37 }
38 
39 // Description: Used for re-booking managed histograms
42  // book histograms that are only made in the online environment...
43  }
44 
46  // book histograms that are only relevant for cosmics data...
47  }
48 
49  if (m_ESmon) bookFCalEt_hist();
50  if (m_ESmon) bookES_hist();
51  if (m_ZDCmon) bookZDC_hist();
52 
53  return StatusCode::SUCCESS;
54 }
55 
57  StatusCode sc;
58 
60  if (m_ESmon) {
61  const xAOD::HIEventShapeContainer* evtShape;
62  sc = evtStore()->retrieve(evtShape, "HIEventShape");
63  if (sc.isFailure()) {
64  ATH_MSG_ERROR("Could not find HIEventShape");
65  return StatusCode::FAILURE;
66  } else {
67  ATH_MSG_INFO("HIEventShape retrieved from StoreGate");
68  }
69 
70  getFCalEt(evtShape);
71  getES(evtShape);
72 
74  fillES_hist();
75  }
76 
78  if (m_ZDCmon) {
79  const xAOD::TrigT2ZdcSignalsContainer* TrigZdc_p;
80  sc = evtStore()->retrieve(TrigZdc_p, "HLT_xAOD__TrigT2ZdcSignalsContainer_zdcsignals");
81  if (sc.isFailure()) {
82  ATH_MSG_ERROR("Could not find TrigT2ZdcSignalsContainer");
83  return StatusCode::FAILURE;
84  } else {
85  ATH_MSG_INFO("TrigT2ZdcSignalsContainer retrieved from StoreGate");
86  }
87 
88  getZDC(TrigZdc_p);
89  fillZDC_hist();
90  }
91 
92  return StatusCode::SUCCESS;
93 }
94 
96  //if( endOfLowStatFlag() || endOfLumiBlockFlag() ) { }
97 
98  if (endOfRunFlag()) {
99  if (m_h_FCalEt->GetEntries() > 0) m_h_FCalEt->Scale(1. / m_h_FCalEt->GetEntries());
100 
101  for (int i = 0; i < 2; i++) {
103  }
104  }
105 
106  return StatusCode::SUCCESS;
107 }
108 
111  std::string path = "HeavyIon/FCal";
112 
113  m_h_FCalEt = new TH1D("h_FCalEt", "; FCal #Sigma E_{T} [TeV]; entries", m_FCalEt_nbins, m_low_FCalEt, m_high_FCalEt);
114  regHist(m_h_FCalEt, path, run).ignore();
115 
116 
117  m_h_FCalEt_vs_eta = TProfile_LW::create("h_FCalEt_vs_eta", "; #eta; < FCal #Sigma E_{T} > [TeV]", m_nbins_eta,
119  regHist(m_h_FCalEt_vs_eta, path, run).ignore();
120 
121  m_h_FCalEt_A_vs_C = TH2D_LW::create("h_FCalEt_A_vs_C",
122  "; FCal #Sigma E_{T} Sice A [TeV]; FCal #Sigma E_{T} Sice C [TeV]",
124  m_high_FCalEt);
125  regHist(m_h_FCalEt_A_vs_C, path, run).ignore();
126 
127  for (int i = 0; i < 2; i++) {
128  TString hist_name = "h_FCalEt_side" + m_side_id[i];
129  TString hist_aixis = "; FCal Side " + m_side_id[i] + " #Sigma E_{T} [TeV]; entries";
130  m_h_FCalEt_sides[i] = new TH1D(hist_name, hist_aixis, m_FCalEt_nbins, m_low_FCalEt, m_high_FCalEt);
131  regHist(m_h_FCalEt_sides[i], path, run).ignore();
132  }
133 }
134 
136  for (int i = 0; i < s_num_of_eta_bins; i++) m_FCalEt_eta[i] = 0.0;
137 
138  int size = evtShape->size();
139  for (int i = 0; i < size; i++) {
140  const xAOD::HIEventShape* sh = evtShape->at(i);
141  float slice_eta = (sh->etaMin() + sh->etaMax()) / 2.0;
142  if (sh->layer() == 21 || sh->layer() == 22 || sh->layer() == 23) {
143  m_FCalEt += sh->et();
144  m_FCalEt_eta[ES_eta_layer2bin(slice_eta)] += sh->et();
145  // m_h_FCalEt_vs_eta->Fill(slice_eta, sh->et());
146  if (slice_eta > 0) m_FCalEt_A += sh->et();
147  else m_FCalEt_C += sh->et();
148  }
149  }
150 
151  m_FCalEt = m_FCalEt / 1000000.;
152  m_FCalEt_A = m_FCalEt_A / 1000000.;
153  m_FCalEt_C = m_FCalEt_C / 1000000.;
154  for (int i = 0; i < s_num_of_eta_bins; i++)
155  if (m_FCalEt_eta[i] != 0) m_FCalEt_eta[i] = m_FCalEt_eta[i] / 1000000.0;
156 }
157 
159  m_h_FCalEt->Fill(m_FCalEt);
160  m_h_FCalEt_sides[0]->Fill(m_FCalEt_A);
161  m_h_FCalEt_sides[1]->Fill(m_FCalEt_C);
163  for (int i = 0; i < s_num_of_eta_bins; i++) {
165  }
166 }
167 
170  std::string path = "HeavyIon/EventShape";
171  TString hist_name = "";
172  TString hist_axis = "";
173 
174  for (int i = 0; i < s_num_of_harm; i++) {
175  std::string fullpath = path + "/q" + m_sqn_num[i];
176 
177  hist_name = "h_q" + m_sqn_num[i] + "x_vs_FCalEt";
178  hist_axis = "; FCal #Sigma E_{T} [TeV]; q_{" + m_sqn_num[i] + ",x}";
180  regHist(m_h_qnx_vs_FCalEt[i], fullpath, run).ignore();
181 
182  hist_name = "h_q" + m_sqn_num[i] + "y_vs_FCalEt";
183  hist_axis = "; FCal #Sigma E_{T} [TeV]; q_{" + m_sqn_num[i] + ",y}";
185  regHist(m_h_qny_vs_FCalEt[i], fullpath, run).ignore();
186 
187  hist_name = "h_q" + m_sqn_num[i] + "x_A_vs_FCalEt";
188  hist_axis = "; FCal #Sigma E_{T} [TeV]; q_{" + m_sqn_num[i] + ",x} Side A";
191 
192  hist_name = "h_q" + m_sqn_num[i] + "y_A_vs_FCalEt";
193  hist_axis = "; FCal #Sigma E_{T} [TeV]; q_{" + m_sqn_num[i] + ",y} Side A";
196 
197  hist_name = "h_q" + m_sqn_num[i] + "x_C_vs_FCalEt";
198  hist_axis = "; FCal #Sigma E_{T} [TeV]; q_{" + m_sqn_num[i] + ",x} Side C";
201 
202  hist_name = "h_q" + m_sqn_num[i] + "y_C_vs_FCalEt";
203  hist_axis = "; FCal #Sigma E_{T} [TeV]; q_{" + m_sqn_num[i] + ",y} Side C";
206 
207  hist_name = "h_q" + m_sqn_num[i] + "x_vs_eta";
208  hist_axis = "; #eta; q_{" + m_sqn_num[i] + ",x}";
210  regHist(m_h_qnx_vs_eta[i], fullpath, run).ignore();
211 
212  hist_name = "h_q" + m_sqn_num[i] + "y_vs_eta";
213  hist_axis = "; #eta; q_{" + m_sqn_num[i] + ",y}";
215  regHist(m_h_qny_vs_eta[i], fullpath, run).ignore();
216 
217  hist_name = "h_q" + m_sqn_num[i] + "_vs_FCalEt";
218  hist_axis = "; FCal #Sigma E_{T} [TeV]; q_{" + m_sqn_num[i] + "}";
219  m_h_qn_vs_FCalEt[i] = TH2D_LW::create(hist_name, hist_axis, m_FCalEt_nbins, m_low_FCalEt, m_high_FCalEt, 300, 0.0,
220  1.0);
221  regHist(m_h_qn_vs_FCalEt[i], fullpath, run).ignore();
222 
223  hist_name = "h_psi" + m_sqn_num[i] + "_A_vs_FCalEt";
224  hist_axis = "; FCal #Sigma E_{T} [TeV]; #psi_{" + m_sqn_num[i] + "} Side A";
226  m_nbins_phi, -M_PI / (i + 1), M_PI / (i + 1));
228 
229  hist_name = "h_psi" + m_sqn_num[i] + "_C_vs_FCalEt";
230  hist_axis = "; FCal #Sigma E_{T} [TeV]; #psi_{" + m_sqn_num[i] + "} Side C";
232  m_nbins_phi, -M_PI / (i + 1), M_PI / (i + 1));
234 
235  hist_name = "h_psi" + m_sqn_num[i] + "_ACdiff_vs_FCalEt";
236  hist_axis = "; FCal #Sigma E_{T} [TeV]; #psi_{" + m_sqn_num[i] + "} Side A - #psi_{" + m_sqn_num[i] + "} Side C";
238  m_nbins_phi, -M_PI / (i + 1), M_PI / (i + 1));
240 
241  hist_name = "h_psi" + m_sqn_num[i] + "_R_vs_FCalEt";
242  hist_axis = "; FCal #Sigma E_{T} [TeV]; < cos " + m_sqn_num[i] + "(#psi_{" + m_sqn_num[i] + "}^{A} - #psi_{" +
243  m_sqn_num[i] + "}^{C}) >";
246  }
247 }
248 
250  for (int i = 0; i < s_num_of_harm; i++) {
251  m_qnx[i] = 0;
252  m_qny[i] = 0;
253  m_qn[i] = 0;
254  m_qnx_A[i] = 0;
255  m_qny_A[i] = 0;
256  m_qnx_C[i] = 0;
257  m_qny_C[i] = 0;
258  for (int j = 0; j < s_num_of_eta_bins; j++) {
259  m_qnx_eta[i][j] = 0;
260  m_qny_eta[i][j] = 0;
261  }
262  }
263 
264  int size = evtShape->size();
265  for (int i = 0; i < size; i++) {
266  const xAOD::HIEventShape* sh = evtShape->at(i);
267  float Et = sh->et();
268  if (Et == 0) continue;
269 
270  float eta = (sh->etaMin() + sh->etaMax()) / 2.0;
271  // std::cout << "eta values " << eta << " -> " << ES_eta_layer2bin(eta) << " -> " <<
272  // ES_bin2eta_layer(ES_eta_layer2bin(eta)) << std::endl;
273 
274  if (sh->layer() == 21 ||
275  sh->layer() == 22 ||
276  sh->layer() == 23) { //FCal Only
277  for (int i = 0; i < s_num_of_harm; i++) {
278  m_qnx[i] += sh->etCos().at(i);
279  m_qny[i] += sh->etSin().at(i);
280  if (eta > 0) {
281  m_qnx_A[i] += sh->etCos().at(i);
282  m_qny_A[i] += sh->etSin().at(i);
283  } else {
284  m_qnx_C[i] += sh->etCos().at(i);
285  m_qny_C[i] += sh->etSin().at(i);
286  }
287 
288  m_qnx_eta[i][ES_eta_layer2bin(eta)] += sh->etCos().at(i);
289  m_qny_eta[i][ES_eta_layer2bin(eta)] += sh->etSin().at(i);
290  }
291  }
292  }
293 
294  for (int i = 0; i < s_num_of_harm; i++) {
295  m_qnx[i] = m_qnx[i] / (m_FCalEt * 1000000.0);
296  m_qny[i] = m_qny[i] / (m_FCalEt * 1000000.0);
297  m_qn[i] = calc_qn(m_qnx[i], m_qny[i]);
298 
299  m_qnx_A[i] = m_qnx_A[i] / (m_FCalEt_A * 1000000.0);
300  m_qny_A[i] = m_qny_A[i] / (m_FCalEt_A * 1000000.0);
301 
302  m_qnx_C[i] = m_qnx_C[i] / (m_FCalEt_A * 1000000.0);
303  m_qny_C[i] = m_qny_C[i] / (m_FCalEt_A * 1000000.0);
304 
307 
308  for (int j = 0; j < s_num_of_eta_bins; j++) {
309  if (m_FCalEt_eta[j] != 0) {
310  m_qnx_eta[i][j] = m_qnx_eta[i][j] / (m_FCalEt_eta[j] * 1000000.0);
311  m_qny_eta[i][j] = m_qny_eta[i][j] / (m_FCalEt_eta[j] * 1000000.0);
312  }
313  }
314  }
315 }
316 
318  for (int i = 0; i < s_num_of_harm; i++) {
322 
325 
328 
333 
335  for (int j = 0; j < s_num_of_eta_bins; j++) {
338  }
339  }
340  }
341 }
342 
345  std::string path = "HeavyIon/FCal";
346  TString hist_name = "";
347 
348  m_h_FCalEt_vs_ZDC_HG = TH2D_LW::create("h_FCalEt_vs_ZDC_HG", "; FCal #Sigma E_{T} [TeV]; ZDC high gain ",
350  regHist(m_h_FCalEt_vs_ZDC_HG, path, run).ignore();
351  m_h_FCalEt_vs_ZDC_LG = TH2D_LW::create("h_FCalEt_vs_ZDC_LG", "; FCal #Sigma E_{T} [TeV]; ZDC low gain ",
353  regHist(m_h_FCalEt_vs_ZDC_LG, path, run).ignore();
354 }
355 
357 
358  double zdc_energies[2] = { 0.0, 0.0 }; // {High gain, Low gain}
359  int size = TrigZdc_p->size();
360 
361  for (int i = 0; i < size; i++) {
362  const xAOD::TrigT2ZdcSignals* zdc = TrigZdc_p->at(i);
363  std::vector<float> triggerEnergies = zdc->triggerEnergies();
364  for (auto & zdc_towers : triggerEnergies)
365  zdc_energies[i]+= zdc_towers;
366  }
367 
368  m_ZDC_HG = zdc_energies[0] * 1e-3;
369  m_ZDC_LG = zdc_energies[1] * 1e-3;
370 }
371 
375 }
376 
378 double HIMonitoringEventShapeTool::calc_qn(double qnx, double qny) {
379  double qn = qnx * qnx + qny * qny;
380 
381  if (qn > 0) qn = sqrt(qn);
382  else qn = 0;
383 
384  return qn;
385 }
386 
387 double HIMonitoringEventShapeTool::calc_psin(int n, double qnx, double qny) {
388  n = n + 1;
389  double psin = (1. / n) * atan2(qny, qnx);
390  return psin;
391 }
392 
393 double HIMonitoringEventShapeTool::calc_psin_diff(int n, double psi1, double psi2) {
394  n = n + 1;
395  double diff = psi1 - psi2;
396  if (diff > (M_PI / n)) {
397  return(diff - (2 * M_PI / n));
398  }
399  if (diff < (-M_PI / n)) {
400  return(diff + (2 * M_PI / n));
401  }
402  if ((diff >= (-M_PI / n)) &&
403  (diff <= (M_PI / n))) {
404  return diff;
405  }
406 
407  return 999.999;
408 }
409 
411  int bin = 0;
412 
413  bin = (int) (((eta - 0.05) * 10.0) + 50.1);
414  return bin;
415 }
416 
418  double eta = 0.0;
419 
420  eta = (double) (((bin - 50.0) / 10.0) + 0.05);
421  return eta;
422 }
HIMonitoringEventShapeTool::HIMonitoringEventShapeTool
HIMonitoringEventShapeTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: HIMonitoringEventShapeTool.cxx:17
HIMonitoringEventShapeTool::bookES_hist
void bookES_hist()
*** event shape veraiables *** ///
Definition: HIMonitoringEventShapeTool.cxx:169
HIMonitoringEventShapeTool::m_qny
double m_qny[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:78
HIMonitoringEventShapeTool::m_high_FCalEt
double m_high_FCalEt
Definition: HIMonitoringEventShapeTool.h:123
HIMonitoringEventShapeTool::m_h_psin_A_vs_FCalEt
TH2D_LW * m_h_psin_A_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:112
HIMonitoringEventShapeTool::m_nbins_phi
int m_nbins_phi
Definition: HIMonitoringEventShapeTool.h:125
HIMonitoringEventShapeTool::calc_psin
double calc_psin(int n, double qnx, double qny)
Definition: HIMonitoringEventShapeTool.cxx:387
HIMonitoringEventShapeTool::m_FCalEt_eta_hist_cut
double m_FCalEt_eta_hist_cut
Definition: HIMonitoringEventShapeTool.h:130
HIMonitoringEventShapeTool::calc_psin_diff
double calc_psin_diff(int n, double psi1, double psi2)
Definition: HIMonitoringEventShapeTool.cxx:393
HIMonitoringEventShapeTool::m_FCalEt_eta
double m_FCalEt_eta[s_num_of_eta_bins]
Definition: HIMonitoringEventShapeTool.h:72
HIMonitoringEventShapeTool::getZDC
void getZDC(const xAOD::TrigT2ZdcSignalsContainer *TrigZdc_p)
Definition: HIMonitoringEventShapeTool.cxx:356
athena.path
path
python interpreter configuration --------------------------------------—
Definition: athena.py:126
HIMonitoringEventShapeTool::m_h_qnx_vs_FCalEt
TProfile_LW * m_h_qnx_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:100
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
HIMonitoringEventShapeTool::m_ESmon
bool m_ESmon
Definition: HIMonitoringEventShapeTool.h:37
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
ManagedMonitorToolBase
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition: ManagedMonitorToolBase.h:74
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
TH1D_LW.h
HIMonitoringEventShapeTool::s_num_of_eta_bins
static const int s_num_of_eta_bins
Definition: HIMonitoringEventShapeTool.h:59
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
TH2D_LW.h
HIMonitoringEventShapeTool::m_h_qnx_C_vs_FCalEt
TProfile_LW * m_h_qnx_C_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:106
HIMonitoringEventShapeTool::s_num_of_harm
static const int s_num_of_harm
Definition: HIMonitoringEventShapeTool.h:58
AthenaMonManager::cosmics
@ cosmics
Definition: AthenaMonManager.h:58
HIMonitoringEventShapeTool::m_ZDC_HG
double m_ZDC_HG
Definition: HIMonitoringEventShapeTool.h:74
HIMonitoringEventShapeTool::m_FCalEt
double m_FCalEt
Definition: HIMonitoringEventShapeTool.h:69
HIMonitoringEventShapeTool::m_qnx
double m_qnx[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:77
TH1D
Definition: rootspy.cxx:342
xAOD::TrigT2ZdcSignals_v1
Definition: TrigT2ZdcSignals_v1.h:12
HIMonitoringEventShapeTool::bookZDC_hist
void bookZDC_hist()
*** ZDC part *** ///
Definition: HIMonitoringEventShapeTool.cxx:344
M_PI
#define M_PI
Definition: ActiveFraction.h:11
bin
Definition: BinsDiffFromStripMedian.h:43
HIMonitoringEventShapeTool::m_FCalEt_A
double m_FCalEt_A
Definition: HIMonitoringEventShapeTool.h:70
mc.diff
diff
Definition: mc.SFGenPy8_MuMu_DD.py:14
ManagedMonitorToolBase::m_dataType
AthenaMonManager::DataType_t m_dataType
Definition: ManagedMonitorToolBase.h:901
HIMonitoringEventShapeTool::m_low_FCalEt
double m_low_FCalEt
Definition: HIMonitoringEventShapeTool.h:122
TProfile_LW.h
HIMonitoringEventShapeTool.h
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
HIMonitoringEventShapeTool::m_h_qny_vs_eta
TProfile_LW * m_h_qny_vs_eta[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:110
HIMonitoringEventShapeTool::m_h_psin_ACdiff_vs_FCalEt
TH2D_LW * m_h_psin_ACdiff_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:114
HIMonitoringEventShapeTool::bookHistograms
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
Definition: HIMonitoringEventShapeTool.cxx:40
HIMonitoringEventShapeTool::m_FCalEt_C
double m_FCalEt_C
Definition: HIMonitoringEventShapeTool.h:71
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
HIMonitoringEventShapeTool::m_nbins_eta
int m_nbins_eta
Definition: HIMonitoringEventShapeTool.h:127
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
xAOD::HIEventShape_v2
Interface class for the HI reconstruction EDM.
Definition: HIEventShape_v2.h:31
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
HIMonitoringEventShapeTool::m_ZDCmon
bool m_ZDCmon
Definition: HIMonitoringEventShapeTool.h:36
HIMonitoringEventShapeTool::getES
void getES(const xAOD::HIEventShapeContainer *evtShape)
Definition: HIMonitoringEventShapeTool.cxx:249
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
HIMonitoringEventShapeTool::m_h_qny_A_vs_FCalEt
TProfile_LW * m_h_qny_A_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:105
TProfile_LW::create
static TProfile_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const char *option=" ")
Definition: TProfile_LW.cxx:32
lumiFormat.i
int i
Definition: lumiFormat.py:92
HIMonitoringEventShapeTool::m_qnx_C
double m_qnx_C[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:84
HIMonitoringEventShapeTool::getFCalEt
void getFCalEt(const xAOD::HIEventShapeContainer *evtShape)
Definition: HIMonitoringEventShapeTool.cxx:135
beamspotman.n
n
Definition: beamspotman.py:731
TH2D_LW::Fill
virtual void Fill(const double &x, const double &y) override
Definition: TH2D_LW.cxx:329
RCU::Shell
Definition: ShellExec.cxx:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthenaMonManager::online
@ online
Definition: AthenaMonManager.h:49
HIMonitoringEventShapeTool::m_FCalEt_nbins
int m_FCalEt_nbins
histograms ranges and bining
Definition: HIMonitoringEventShapeTool.h:121
HIMonitoringEventShapeTool::fillHistograms
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
Definition: HIMonitoringEventShapeTool.cxx:56
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HIMonitoringEventShapeTool::m_eta_range
double m_eta_range
Definition: HIMonitoringEventShapeTool.h:128
AthenaMonManager.h
run
Definition: run.py:1
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
HIMonitoringEventShapeTool::m_h_qny_C_vs_FCalEt
TProfile_LW * m_h_qny_C_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:107
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
HIMonitoringEventShapeTool::m_h_psin_C_vs_FCalEt
TH2D_LW * m_h_psin_C_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:113
TProfile_LW::Fill
void Fill(const double &x, const double &y)
Definition: TProfile_LW.cxx:223
ManagedMonitorToolBase::m_environment
AthenaMonManager::Environment_t m_environment
Definition: ManagedMonitorToolBase.h:902
HIMonitoringEventShapeTool::m_side_id
const std::string m_side_id[2]
Definition: HIMonitoringEventShapeTool.h:62
HIMonitoringEventShapeTool::m_h_FCalEt_vs_ZDC_HG
TH2D_LW * m_h_FCalEt_vs_ZDC_HG
Definition: HIMonitoringEventShapeTool.h:117
HIMonitoringEventShapeTool::procHistograms
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
Definition: HIMonitoringEventShapeTool.cxx:95
HIMonitoringEventShapeTool::m_psin_C
double m_psin_C[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:91
HIMonitoringEventShapeTool::m_qn
double m_qn[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:79
HIMonitoringEventShapeTool::m_qnx_eta
double m_qnx_eta[s_num_of_harm][s_num_of_eta_bins]
Definition: HIMonitoringEventShapeTool.h:87
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
plotBeamSpotVxVal.bin
int bin
Definition: plotBeamSpotVxVal.py:83
HIMonitoringEventShapeTool::m_h_qny_vs_FCalEt
TProfile_LW * m_h_qny_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:101
HIMonitoringEventShapeTool::m_h_psin_R_vs_FCalEt
TProfile_LW * m_h_psin_R_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:115
HIMonitoringEventShapeTool::ES_bin2eta_layer
double ES_bin2eta_layer(int bin)
Definition: HIMonitoringEventShapeTool.cxx:417
HIMonitoringEventShapeTool::m_h_FCalEt_vs_ZDC_LG
TH2D_LW * m_h_FCalEt_vs_ZDC_LG
Definition: HIMonitoringEventShapeTool.h:118
HIMonitoringEventShapeTool::m_h_FCalEt_sides
TH1D * m_h_FCalEt_sides[2]
Definition: HIMonitoringEventShapeTool.h:96
HIMonitoringEventShapeTool::fillFCalEt_hist
void fillFCalEt_hist()
Definition: HIMonitoringEventShapeTool.cxx:158
HIMonitoringEventShapeTool::m_qny_eta
double m_qny_eta[s_num_of_harm][s_num_of_eta_bins]
Definition: HIMonitoringEventShapeTool.h:88
HIMonitoringEventShapeTool::ES_eta_layer2bin
int ES_eta_layer2bin(double eta)
Definition: HIMonitoringEventShapeTool.cxx:410
HIMonitoringEventShapeTool::m_h_qnx_vs_eta
TProfile_LW * m_h_qnx_vs_eta[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:109
HIMonitoringEventShapeTool::m_h_FCalEt_A_vs_C
TH2D_LW * m_h_FCalEt_A_vs_C
Definition: HIMonitoringEventShapeTool.h:98
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
ManagedMonitorToolBase::endOfRunFlag
bool endOfRunFlag() const
Definition: ManagedMonitorToolBase.h:859
HIMonitoringEventShapeTool::bookHistogramsRecurrent
virtual StatusCode bookHistogramsRecurrent()
An inheriting class should either override this function, bookHists() or bookHistograms().
Definition: HIMonitoringEventShapeTool.cxx:35
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
generate::GetEntries
double GetEntries(TH1D *h, int ilow, int ihi)
Definition: rmsFrac.cxx:20
HIMonitoringEventShapeTool::m_qny_C
double m_qny_C[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:85
HIMonitoringEventShapeTool::~HIMonitoringEventShapeTool
virtual ~HIMonitoringEventShapeTool()
Definition: HIMonitoringEventShapeTool.cxx:31
HIMonitoringEventShapeTool::m_qnx_A
double m_qnx_A[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:81
HIMonitoringEventShapeTool::m_h_qnx_A_vs_FCalEt
TProfile_LW * m_h_qnx_A_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:104
HIMonitoringEventShapeTool::m_qny_A
double m_qny_A[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:82
HIMonitoringEventShapeTool::calc_qn
double calc_qn(double qnx, double qny)
*** *** ///
Definition: HIMonitoringEventShapeTool.cxx:378
HIMonitoringEventShapeTool::m_h_FCalEt_vs_eta
TProfile_LW * m_h_FCalEt_vs_eta
Definition: HIMonitoringEventShapeTool.h:97
DataVector::at
const T * at(size_type n) const
Access an element, as an rvalue.
HIMonitoringEventShapeTool::fillES_hist
void fillES_hist()
Definition: HIMonitoringEventShapeTool.cxx:317
HIMonitoringEventShapeTool::m_psin_A
double m_psin_A[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:90
xAOD::TrigT2ZdcSignals_v1::triggerEnergies
const std::vector< float > & triggerEnergies() const
Return the trigger energies of each counter.
TH2D_LW::create
static TH2D_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xmin, const double &xmax, unsigned nbinsy, const double &ymin, const double &ymax)
Definition: TH2D_LW.cxx:33
HIMonitoringEventShapeTool::m_sqn_num
const std::string m_sqn_num[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:65
HIMonitoringEventShapeTool::fillZDC_hist
void fillZDC_hist()
Definition: HIMonitoringEventShapeTool.cxx:372
HIMonitoringEventShapeTool::m_h_qn_vs_FCalEt
TH2D_LW * m_h_qn_vs_FCalEt[s_num_of_harm]
Definition: HIMonitoringEventShapeTool.h:102
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
HIMonitoringEventShapeTool::bookFCalEt_hist
void bookFCalEt_hist()
*** FCal sum Et *** ///
Definition: HIMonitoringEventShapeTool.cxx:110
ManagedMonitorToolBase::regHist
virtual StatusCode regHist(TH1 *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="")
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical ...
Definition: ManagedMonitorToolBase.cxx:1454
HIMonitoringEventShapeTool::m_ZDC_LG
double m_ZDC_LG
Definition: HIMonitoringEventShapeTool.h:75
TrigT2ZdcSignals.h
HIMonitoringEventShapeTool::m_h_FCalEt
TH1D * m_h_FCalEt
histograms
Definition: HIMonitoringEventShapeTool.h:95
beamspotman.fullpath
string fullpath
Definition: beamspotman.py:1039