ATLAS Offline Software
Loading...
Searching...
No Matches
TruthInfoPlots.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_TRUTHINFOPLOTS_H
6#define TRKVALHISTUTILS_TRUTHINFOPLOTS_H
7
8#include "PlotBase.h"
10
11namespace Trk{
12
13class TruthInfoPlots: public PlotBase {
14 public:
15 TruthInfoPlots(PlotBase *pParent, const std::string& sDir):PlotBase(pParent, sDir){ init();}
16 void fill(const xAOD::TruthParticle& truthprt, float weight=1.0);
17
19 TH1* origin;
20
21 private:
22 void init();
23 void initializePlots();
24
25};
26
27}
28
29#endif
30
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
TruthInfoPlots(PlotBase *pParent, const std::string &sDir)
void fill(const xAOD::TruthParticle &truthprt, float weight=1.0)
Ensure that the ATLAS eigen extensions are properly loaded.
TruthParticle_v1 TruthParticle
Typedef to implementation.