ATLAS Offline Software
Loading...
Searching...
No Matches
SummaryPlots.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INDETTRACKPERFMON_PLOTS_SUMMARYPLOTS_H
6#define INDETTRACKPERFMON_PLOTS_SUMMARYPLOTS_H
7
12
14#include "../PlotMgr.h"
16
17
18namespace IDTPM {
19
20 class SummaryPlots : public PlotMgr {
21
22 public:
23
26 PlotMgr* pParent,
27 const std::string& dirName,
28 const std::string& anaTag,
29 bool doTrigger = false );
30
32 virtual ~SummaryPlots() = default;
33
35 StatusCode fillPlots(
36 const std::vector< size_t >& testTrackCounts,
37 const std::vector< size_t >& refTrackCounts,
38 bool isNewEvent,
39 float weight );
40
42 void initializePlots(); // needed to override PlotBase
43 StatusCode bookPlots();
44
46 void finalizePlots();
47
48 private:
49
51
60
71
85
86 TH1* m_summary{};
88
89 }; // class SummaryPlots
90
91} // namespace IDTPM
92
93#endif // > ! INDETTRACKPERFMON_PLOTS_SUMMARYPLOTS_H
Derived class to give extra capabilities to TrkValHistUtils/PlotBase.h such as ATH_MSG and an easier ...
Class to hold for each event collections needed in the TrkAnalsis.
PlotMgr(const std::string &dirName, const std::string &anaTag, PlotMgr *pParent=nullptr)
Constructor taking parent node and directory name for plots pParent = nullptr by default to book plot...
Definition PlotMgr.cxx:25
void finalizePlots()
Print out final stats on histograms.
StatusCode fillPlots(const std::vector< size_t > &testTrackCounts, const std::vector< size_t > &refTrackCounts, bool isNewEvent, float weight)
Dedicated fill method.
SummaryPlots(PlotMgr *pParent, const std::string &dirName, const std::string &anaTag, bool doTrigger=false)
Constructor.
void initializePlots()
Book the histograms.
virtual ~SummaryPlots()=default
Destructor.
StatusCode bookPlots()
Counter
Importing Counter enum.
Athena include(s).