ATLAS Offline Software
Loading...
Searching...
No Matches
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#include "xAODMuon/Muon.h"
11
12namespace Muon {
13
15 public:
16 MomentumTruthPullPlots(PlotBase* pParent, const std::string& sDir,
17 std::string sType);
19
20 std::string m_sType;
21
22 TH1* dp_CB_truthIP{nullptr};
23 TH1* dp_ME_truthIP{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 void fill(const xAOD::Muon& muon, const xAOD::TrackParticle* muontpIP,
38 const xAOD::TruthParticle& truthprt, float weight = 1.0);
39 void initializePlots();
40};
41
42} // namespace Muon
43
44#endif
MomentumTruthPullPlots(PlotBase *pParent, const std::string &sDir, std::string sType)
void fill(const xAOD::Muon &muon, const xAOD::TrackParticle *muontpIP, const xAOD::TruthParticle &truthprt, float weight=1.0)
PlotBase(PlotBase *parent, std::string_view sDir)
Definition PlotBase.cxx:29
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TruthParticle_v1 TruthParticle
Typedef to implementation.
Muon_v1 Muon
Reference the current persistent version: