ATLAS Offline Software
Loading...
Searching...
No Matches
Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ResolutionPlots.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKVALHISTUTILS_RESOLUTIONPLOTS_H
6#define TRKVALHISTUTILS_RESOLUTIONPLOTS_H
7
8#include "PlotBase.h"
11
12namespace Trk{
13
15 public:
16 ResolutionPlots(PlotBase *pParent, const std::string& sDir, const std::string& sType=""):PlotBase(pParent, sDir),m_sType(sType) { init();}
17 void fill(const xAOD::TrackParticle& trkprt, const xAOD::TruthParticle& truthprt, float weight=1.0);
18
19 TH1* Res_pT;
20 TH1* Res_eta;
21 TH1* Res_phi;
22 private:
23 std::string m_sType;
24 void init();
25 void initializePlots();
26
27
28};
29
30}
31
32#endif
33
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
void fill(const xAOD::TrackParticle &trkprt, const xAOD::TruthParticle &truthprt, float weight=1.0)
ResolutionPlots(PlotBase *pParent, const std::string &sDir, const std::string &sType="")
Ensure that the ATLAS eigen extensions are properly loaded.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TruthParticle_v1 TruthParticle
Typedef to implementation.