ATLAS Offline Software
Loading...
Searching...
No Matches
PhysValExample.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2021 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 "BTagPlots.h"
26#include "EventInfoPlots.h"
27
28// Root includes
29#include "TH1.h"
30
31// Forward declaration
32
33namespace PhysVal {
34
37{
39 // Public methods:
41 public:
42
43 // Copy constructor:
44
46 PhysValExample( const std::string& type,
47 const std::string& name,
48 const IInterface* parent );
49
51 virtual ~PhysValExample();
52
53 // Athena algtool's Hooks
54 virtual StatusCode initialize();
55 virtual StatusCode bookHistograms();
56 virtual StatusCode fillHistograms();
57 virtual StatusCode procHistograms();
58
59
61 // Const methods:
63
65 // Non-const methods:
67
68
70 // Private data:
72 private:
73
76
77 // Containers
78 std::string m_jetName;
79 std::string m_elecName;
80 std::string m_photonName;
81 std::string m_muonName;
82 std::string m_tauName;
83 std::string m_metName;
84 std::string m_trackName;
85 std::string m_vertexName;
86
87 // Hists
97
98 StatusCode book(PlotBase& plots);
99
100 //Flags to determine whether to fill example jet,met,btag plots
104
105
106};
107
108}
109
110#endif //> !PHYSVALMONITORING_PHYSVALEXAMPLE_H
ManagedMonitorToolBase(const std::string &type, const std::string &name, const IInterface *parent)
PhysVal::BTagPlots m_btagPlots
StatusCode book(PlotBase &plots)
PhysValExample(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode fillHistograms()
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().