ATLAS Offline Software
Loading...
Searching...
No Matches
ParamPlots.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKVALHISTUTILS_PARAMPLOTS_H
6#define TRKVALHISTUTILS_PARAMPLOTS_H
7
8#include "PlotBase.h"
10
11namespace Trk{
12
13class ParamPlots:public PlotBase {
14 public:
15 ParamPlots(PlotBase *pParent, const std::string& sDir, std::string sParticleType);
16 void fill(const xAOD::IParticle& prt, float weight=1.0);
17
18 TH1* eta;
19 TH1* phi;
20 TH1* pt;
21
22 TH2* eta_phi;
23 TH2* eta_pt;
24
25 private:
26 void initializePlots();
27 std::string m_sParticleType;
28};
29
30}
31
32#endif // TRKVALHISTUTILS_PARAMPLOTS_H
33
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
std::string m_sParticleType
Definition ParamPlots.h:27
ParamPlots(PlotBase *pParent, const std::string &sDir, std::string sParticleType)
void fill(const xAOD::IParticle &prt, float weight=1.0)
void initializePlots()
Class providing the definition of the 4-vector interface.
Ensure that the ATLAS eigen extensions are properly loaded.