ATLAS Offline Software
Loading...
Searching...
No Matches
PhysValExample.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7// PhysValExample.h
8// Header file for class PhysValExample
9// Author: S.Binet<binet@cern.ch>
11#ifndef PHYSVALMONITORING_PHYSVALEXAMPLE_H
12#define PHYSVALMONITORING_PHYSVALEXAMPLE_H 1
13
14// STL includes
15#include <string>
16
17// FrameWork includes
18#include "GaudiKernel/ServiceHandle.h"
19
20// Local includes
22#include "KinematicsPlots.h"
23#include "TrkAndVtxPlots.h"
24#include "METPlots.h"
25#include "EventInfoPlots.h"
26
27// Root includes
28#include "TH1.h"
29
30// Forward declaration
31
32namespace PhysVal {
33
36{
38 // Public methods:
40 public:
41
42 // Copy constructor:
43
45 PhysValExample( const std::string& type,
46 const std::string& name,
47 const IInterface* parent );
48
50 virtual ~PhysValExample();
51
52 // Athena algtool's Hooks
53 virtual StatusCode initialize();
54 virtual StatusCode bookHistograms();
55 virtual StatusCode fillHistograms(const EventContext& ctx);
56 virtual StatusCode procHistograms();
57
58
60 // Const methods:
62
64 // Non-const methods:
66
67
69 // Private data:
71 private:
72
75
76 // Containers
77 std::string m_jetName;
78 std::string m_elecName;
79 std::string m_photonName;
80 std::string m_muonName;
81 std::string m_tauName;
82 std::string m_metName;
83 std::string m_trackName;
84 std::string m_vertexName;
85
86 // Hists
95
96 StatusCode book(PlotBase& plots);
97
98 //Flags to determine whether to fill example jet,met plots
101
102
103};
104
105}
106
107#endif //> !PHYSVALMONITORING_PHYSVALEXAMPLE_H
ManagedMonitorToolBase(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode book(PlotBase &plots)
PhysValExample(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode fillHistograms(const EventContext &ctx)
An inheriting class should either override this function or fillHists().
PhysVal::KinematicsPlots m_elecPlots
virtual ~PhysValExample()
Destructor:
PhysValExample()
Default constructor:
PhysVal::TrkAndVtxPlots m_trkvtxPlots
PhysVal::KinematicsPlots m_jetPlots
virtual StatusCode initialize()
PhysVal::KinematicsPlots m_muonPlots
PhysVal::METPlots m_metPlots
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
PhysVal::KinematicsPlots m_photonPlots
PhysVal::EventInfoPlots m_evtPlots
PhysVal::KinematicsPlots m_tauPlots
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().