ATLAS Offline Software
JetKinematicHistos.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef JETMONITORING_JETKINEMATICHISTOS_H
8 #define JETMONITORING_JETKINEMATICHISTOS_H
9 
17 #include <string>
18 class TH1F;
19 class TH2F;
20 class TProfile2D;
21 
24 
25 public:
26 
27  JetKinematicHistos(const std::string &t);
29 
30  virtual int buildHistos();
31 
32  virtual int fillHistosFromContainer(const xAOD::JetContainer & cont, float weight);
33  virtual int fillHistosFromJet(const xAOD::Jet &j, float weight);
34 
35 protected:
36 
40  TH1F* m_pt{};
41  TH1F* m_eta{};
42  TH1F* m_phi{};
43  TH1F* m_m{};
44  TH1F* m_e{};
46 
47  // high pT
53 
55  TProfile2D* m_averagePtEtaPhi{};
56  TProfile2D* m_averageE_EtaPhi{};
57 
58  std::string m_jetScale;
59 
60  bool m_doN{};
61  bool m_doM{};
62  bool m_doE{};
63  bool m_doOccupancy{};
64  bool m_doAveragePt{};
65  bool m_doAverageE{};
66  bool m_doNConstit{};
67 };
68 #endif
JetHistoBase.h
JetKinematicHistos::fillHistosFromContainer
virtual int fillHistosFromContainer(const xAOD::JetContainer &cont, float weight)
Definition: JetKinematicHistos.cxx:104
JetKinematicHistos::m_njet_passJVT
TH1F * m_njet_passJVT
Definition: JetKinematicHistos.h:38
JetKinematicHistos::m_nConstit
TH1F * m_nConstit
Definition: JetKinematicHistos.h:45
JetKinematicHistos::m_njet_failJVT
TH1F * m_njet_failJVT
Definition: JetKinematicHistos.h:39
JetKinematicHistos::m_averageE_EtaPhi
TProfile2D * m_averageE_EtaPhi
Definition: JetKinematicHistos.h:56
JetKinematicHistos::m_pt
TH1F * m_pt
Definition: JetKinematicHistos.h:40
JetKinematicHistos::m_e_high
TH1F * m_e_high
Definition: JetKinematicHistos.h:51
JetKinematicHistos::m_m
TH1F * m_m
Definition: JetKinematicHistos.h:43
JetKinematicHistos::m_doE
bool m_doE
Definition: JetKinematicHistos.h:62
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
JetKinematicHistos::JetKinematicHistos
JetKinematicHistos(const std::string &t)
Definition: JetKinematicHistos.cxx:13
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
JetKinematicHistos::m_doAveragePt
bool m_doAveragePt
Definition: JetKinematicHistos.h:64
JetKinematicHistos::m_averagePtEtaPhi
TProfile2D * m_averagePtEtaPhi
Definition: JetKinematicHistos.h:55
JetKinematicHistos::m_eta_high
TH1F * m_eta_high
Definition: JetKinematicHistos.h:49
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
JetHistoBase
Definition: JetHistoBase.h:27
JetKinematicHistos::m_phi
TH1F * m_phi
Definition: JetKinematicHistos.h:42
JetKinematicHistos::m_doAverageE
bool m_doAverageE
Definition: JetKinematicHistos.h:65
JetKinematicHistos::~JetKinematicHistos
~JetKinematicHistos()
Definition: JetKinematicHistos.h:28
JetKinematicHistos::m_doN
bool m_doN
Definition: JetKinematicHistos.h:60
JetKinematicHistos::buildHistos
virtual int buildHistos()
Definition: JetKinematicHistos.cxx:33
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
JetKinematicHistos::m_pt_high
TH1F * m_pt_high
Definition: JetKinematicHistos.h:48
JetKinematicHistos::m_doM
bool m_doM
Definition: JetKinematicHistos.h:61
JetKinematicHistos::m_doOccupancy
bool m_doOccupancy
Definition: JetKinematicHistos.h:63
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
JetKinematicHistos::fillHistosFromJet
virtual int fillHistosFromJet(const xAOD::Jet &j, float weight)
Definition: JetKinematicHistos.cxx:139
JetKinematicHistos
Definition: JetKinematicHistos.h:22
JetKinematicHistos::m_eta
TH1F * m_eta
Definition: JetKinematicHistos.h:41
JetKinematicHistos::m_jetScale
std::string m_jetScale
Definition: JetKinematicHistos.h:58
JetKinematicHistos::m_e
TH1F * m_e
Definition: JetKinematicHistos.h:44
JetKinematicHistos::m_occupancyEtaPhi
TH2F * m_occupancyEtaPhi
Definition: JetKinematicHistos.h:54
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
JetKinematicHistos::m_m_high
TH1F * m_m_high
Definition: JetKinematicHistos.h:50
JetKinematicHistos::ASG_TOOL_CLASS0
ASG_TOOL_CLASS0(JetKinematicHistos)
JetKinematicHistos::m_nConstit_high
TH1F * m_nConstit_high
Definition: JetKinematicHistos.h:52
JetKinematicHistos::m_doNConstit
bool m_doNConstit
Definition: JetKinematicHistos.h:66
JetKinematicHistos::m_njet
TH1F * m_njet
Definition: JetKinematicHistos.h:37