ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
PhysicsValidation
PhysValMonitoring
src
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
21
#include "
AthenaMonitoring/ManagedMonitorToolBase.h
"
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
33
namespace
PhysVal
{
34
35
class
PhysValExample
36
:
public
ManagedMonitorToolBase
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
(
const
EventContext& ctx);
57
virtual
StatusCode
procHistograms
();
58
59
61
// Const methods:
63
65
// Non-const methods:
67
68
70
// Private data:
72
private
:
73
75
PhysValExample
();
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
88
PhysVal::KinematicsPlots
m_jetPlots
;
89
PhysVal::KinematicsPlots
m_elecPlots
;
90
PhysVal::KinematicsPlots
m_photonPlots
;
91
PhysVal::KinematicsPlots
m_muonPlots
;
92
PhysVal::KinematicsPlots
m_tauPlots
;
93
PhysVal::TrkAndVtxPlots
m_trkvtxPlots
;
94
PhysVal::EventInfoPlots
m_evtPlots
;
95
PhysVal::METPlots
m_metPlots
;
96
PhysVal::BTagPlots
m_btagPlots
;
97
98
StatusCode
book
(
PlotBase
& plots);
99
100
//Flags to determine whether to fill example jet,met,btag plots
101
bool
m_doExJet
;
102
bool
m_doExBtag
;
103
bool
m_doExMET
;
104
105
106
};
107
108
}
109
110
#endif
//> !PHYSVALMONITORING_PHYSVALEXAMPLE_H
BTagPlots.h
EventInfoPlots.h
METPlots.h
ManagedMonitorToolBase.h
KinematicsPlots.h
TrkAndVtxPlots.h
ManagedMonitorToolBase::ManagedMonitorToolBase
ManagedMonitorToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ManagedMonitorToolBase.cxx:339
PhysVal::BTagPlots
Definition
BTagPlots.h:15
PhysVal::EventInfoPlots
Definition
EventInfoPlots.h:12
PhysVal::KinematicsPlots
Definition
PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/src/KinematicsPlots.h:15
PhysVal::METPlots
Definition
METPlots.h:15
PhysVal::PhysValExample::m_btagPlots
PhysVal::BTagPlots m_btagPlots
Definition
PhysValExample.h:96
PhysVal::PhysValExample::book
StatusCode book(PlotBase &plots)
Definition
PhysValExample.cxx:87
PhysVal::PhysValExample::PhysValExample
PhysValExample(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
PhysValExample.cxx:44
PhysVal::PhysValExample::m_doExBtag
bool m_doExBtag
Definition
PhysValExample.h:102
PhysVal::PhysValExample::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx)
An inheriting class should either override this function or fillHists().
Definition
PhysValExample.cxx:117
PhysVal::PhysValExample::m_elecPlots
PhysVal::KinematicsPlots m_elecPlots
Definition
PhysValExample.h:89
PhysVal::PhysValExample::~PhysValExample
virtual ~PhysValExample()
Destructor:
Definition
PhysValExample.cxx:74
PhysVal::PhysValExample::PhysValExample
PhysValExample()
Default constructor:
PhysVal::PhysValExample::m_photonName
std::string m_photonName
Definition
PhysValExample.h:80
PhysVal::PhysValExample::m_jetName
std::string m_jetName
Definition
PhysValExample.h:78
PhysVal::PhysValExample::m_doExJet
bool m_doExJet
Definition
PhysValExample.h:101
PhysVal::PhysValExample::m_tauName
std::string m_tauName
Definition
PhysValExample.h:82
PhysVal::PhysValExample::m_trkvtxPlots
PhysVal::TrkAndVtxPlots m_trkvtxPlots
Definition
PhysValExample.h:93
PhysVal::PhysValExample::m_jetPlots
PhysVal::KinematicsPlots m_jetPlots
Definition
PhysValExample.h:88
PhysVal::PhysValExample::initialize
virtual StatusCode initialize()
Definition
PhysValExample.cxx:79
PhysVal::PhysValExample::m_muonPlots
PhysVal::KinematicsPlots m_muonPlots
Definition
PhysValExample.h:91
PhysVal::PhysValExample::m_metPlots
PhysVal::METPlots m_metPlots
Definition
PhysValExample.h:95
PhysVal::PhysValExample::bookHistograms
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
Definition
PhysValExample.cxx:99
PhysVal::PhysValExample::m_photonPlots
PhysVal::KinematicsPlots m_photonPlots
Definition
PhysValExample.h:90
PhysVal::PhysValExample::m_elecName
std::string m_elecName
Definition
PhysValExample.h:79
PhysVal::PhysValExample::m_evtPlots
PhysVal::EventInfoPlots m_evtPlots
Definition
PhysValExample.h:94
PhysVal::PhysValExample::m_tauPlots
PhysVal::KinematicsPlots m_tauPlots
Definition
PhysValExample.h:92
PhysVal::PhysValExample::procHistograms
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
Definition
PhysValExample.cxx:201
PhysVal::PhysValExample::m_metName
std::string m_metName
Definition
PhysValExample.h:83
PhysVal::PhysValExample::m_doExMET
bool m_doExMET
Definition
PhysValExample.h:103
PhysVal::PhysValExample::m_muonName
std::string m_muonName
Definition
PhysValExample.h:81
PhysVal::PhysValExample::m_trackName
std::string m_trackName
Definition
PhysValExample.h:84
PhysVal::PhysValExample::m_vertexName
std::string m_vertexName
Definition
PhysValExample.h:85
PhysVal::TrkAndVtxPlots
Definition
TrkAndVtxPlots.h:16
PlotBase
Definition
PlotBase.h:35
PhysVal
Definition
BTagPlots.cxx:13
type
Generated on
for ATLAS Offline Software by
1.17.0