ATLAS Offline Software
InDetPerfPlot_Duplicate.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETPHYSVALMONITORING_INDETPERFPLOT_DUPLICATE
6 #define INDETPHYSVALMONITORING_INDETPERFPLOT_DUPLICATE
7 
8 #include "InDetPlotBase.h"
10 
11 #include "TEfficiency.h"
12 #include "TProfile.h"
13 
15 
16  public:
17  InDetPerfPlot_Duplicate(InDetPlotBase* pParent, const std::string& dirName);
18 
19  void fill(const xAOD::TruthParticle& truth, unsigned int ntracks, float weight);
20 
21  private:
22  TEfficiency* m_rate_vs_pt{};
23  TEfficiency* m_rate_vs_eta{};
24 
27 
30 
31  // plot base has nop default implementation of this; we use it to book the histos
32  void initializePlots();
33  void finalizePlots(){}
34 
35 };
36 
37 #endif
InDetPerfPlot_Duplicate::m_number_vs_pt
TProfile * m_number_vs_pt
Definition: InDetPerfPlot_Duplicate.h:25
InDetPerfPlot_Duplicate::m_number_vs_eta
TProfile * m_number_vs_eta
Definition: InDetPerfPlot_Duplicate.h:26
InDetPerfPlot_Duplicate
Definition: InDetPerfPlot_Duplicate.h:14
InDetPerfPlot_Duplicate::m_rate_vs_eta
TEfficiency * m_rate_vs_eta
Definition: InDetPerfPlot_Duplicate.h:23
InDetPerfPlot_Duplicate::finalizePlots
void finalizePlots()
Definition: InDetPerfPlot_Duplicate.h:33
InDetPerfPlot_Duplicate::InDetPerfPlot_Duplicate
InDetPerfPlot_Duplicate(InDetPlotBase *pParent, const std::string &dirName)
Definition: InDetPerfPlot_Duplicate.cxx:9
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
InDetPlotBase
Mixin class to give extra capabilities to plots such as ATH_MSG and an easier booking interface,...
Definition: InDetPlotBase.h:33
InDetPlotBase.h
InDetPerfPlot_Duplicate::m_number_nonzero_vs_eta
TProfile * m_number_nonzero_vs_eta
Definition: InDetPerfPlot_Duplicate.h:29
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition: TrigEgammaMonitorHelper.py:81
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
InDetPerfPlot_Duplicate::m_number_nonzero_vs_pt
TProfile * m_number_nonzero_vs_pt
Definition: InDetPerfPlot_Duplicate.h:28
InDetPerfPlot_Duplicate::fill
void fill(const xAOD::TruthParticle &truth, unsigned int ntracks, float weight)
Definition: InDetPerfPlot_Duplicate.cxx:28
InDetPerfPlot_Duplicate::initializePlots
void initializePlots()
Definition: InDetPerfPlot_Duplicate.cxx:14
TruthParticle.h
InDetPerfPlot_Duplicate::m_rate_vs_pt
TEfficiency * m_rate_vs_pt
Definition: InDetPerfPlot_Duplicate.h:22