ATLAS Offline Software
MomentumTruthPullPlots.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONHISTUTILS_MOMENTUMTRUTHPULLPLOTS_H
6 #define MUONHISTUTILS_MOMENTUMTRUTHPULLPLOTS_H
7 
9 
10 #include "xAODMuon/Muon.h"
12 
13 namespace Muon{
14 
16  public:
17  MomentumTruthPullPlots(PlotBase* pParent, const std::string& sDir, std::string sType);
19 
20  std::string m_sType;
21 
22  TH1* dp_CB_truthIP{nullptr};
23  TH1* dp_ME_truthIP{nullptr};
24  TH1* dp_ME_truthIP_MS_truthMS{nullptr};
25  TH1* dp_eloss{nullptr};
26 
27  TH2* dp_CB_truthIP_vs_pt{nullptr};
28  TH2* dp_ME_truthIP_vs_pt{nullptr};
30  TH2* dp_eloss_vs_pt{nullptr};
31 
32  TH2* dp_CB_truthIP_vs_eta{nullptr};
33  TH2* dp_ME_truthIP_vs_eta{nullptr};
35  TH2* dp_eloss_vs_eta{nullptr};
36 
37 
38  void fill(const xAOD::Muon& muon, const xAOD::TrackParticle* muontpIP, const xAOD::TruthParticle& truthprt, float weight=1.0);
39  void initializePlots();
40 };
41 
42 
43 }//namespace Muon
44 
45 #endif
xAOD::muon
@ muon
Definition: TrackingPrimitives.h:195
PlotBase
Definition: PlotBase.h:34
Muon::MomentumTruthPullPlots::~MomentumTruthPullPlots
~MomentumTruthPullPlots()
Definition: MomentumTruthPullPlots.cxx:21
Muon.h
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Muon::MomentumTruthPullPlots::dp_ME_truthIP_vs_pt
TH2 * dp_ME_truthIP_vs_pt
Definition: MomentumTruthPullPlots.h:28
Muon::MomentumTruthPullPlots::dp_ME_truthIP_MS_truthMS_vs_pt
TH2 * dp_ME_truthIP_MS_truthMS_vs_pt
Definition: MomentumTruthPullPlots.h:29
Muon::MomentumTruthPullPlots
Definition: MomentumTruthPullPlots.h:15
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::MomentumTruthPullPlots::initializePlots
void initializePlots()
Definition: MomentumTruthPullPlots.cxx:23
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
Muon::MomentumTruthPullPlots::dp_eloss_vs_pt
TH2 * dp_eloss_vs_pt
Definition: MomentumTruthPullPlots.h:30
Muon::MomentumTruthPullPlots::MomentumTruthPullPlots
MomentumTruthPullPlots(PlotBase *pParent, const std::string &sDir, std::string sType)
Definition: MomentumTruthPullPlots.cxx:16
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
Muon::MomentumTruthPullPlots::dp_ME_truthIP_MS_truthMS
TH1 * dp_ME_truthIP_MS_truthMS
Definition: MomentumTruthPullPlots.h:24
Muon::MomentumTruthPullPlots::dp_ME_truthIP_vs_eta
TH2 * dp_ME_truthIP_vs_eta
Definition: MomentumTruthPullPlots.h:33
Muon::MomentumTruthPullPlots::m_sType
std::string m_sType
Definition: MomentumTruthPullPlots.h:20
Muon::MomentumTruthPullPlots::dp_eloss
TH1 * dp_eloss
Definition: MomentumTruthPullPlots.h:25
Muon::MomentumTruthPullPlots::dp_ME_truthIP
TH1 * dp_ME_truthIP
Definition: MomentumTruthPullPlots.h:23
Muon::MomentumTruthPullPlots::dp_CB_truthIP_vs_eta
TH2 * dp_CB_truthIP_vs_eta
Definition: MomentumTruthPullPlots.h:32
Muon::MomentumTruthPullPlots::dp_eloss_vs_eta
TH2 * dp_eloss_vs_eta
Definition: MomentumTruthPullPlots.h:35
Muon::MomentumTruthPullPlots::dp_CB_truthIP
TH1 * dp_CB_truthIP
Definition: MomentumTruthPullPlots.h:22
Muon::MomentumTruthPullPlots::dp_ME_truthIP_MS_truthMS_vs_eta
TH2 * dp_ME_truthIP_MS_truthMS_vs_eta
Definition: MomentumTruthPullPlots.h:34
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
Muon::MomentumTruthPullPlots::dp_CB_truthIP_vs_pt
TH2 * dp_CB_truthIP_vs_pt
Definition: MomentumTruthPullPlots.h:27
TruthParticle.h
PlotBase.h
Muon::MomentumTruthPullPlots::fill
void fill(const xAOD::Muon &muon, const xAOD::TrackParticle *muontpIP, const xAOD::TruthParticle &truthprt, float weight=1.0)
Definition: MomentumTruthPullPlots.cxx:49