ATLAS Offline Software
PhysValExample.h
Go to the documentation of this file.
1 
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 
33 namespace PhysVal {
34 
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();
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 
99 
100  //Flags to determine whether to fill example jet,met,btag plots
101  bool m_doExJet;
103  bool m_doExMET;
104 
105 
106 };
107 
108 }
109 
110 #endif //> !PHYSVALMONITORING_PHYSVALEXAMPLE_H
METPlots.h
PhysVal::PhysValExample::PhysValExample
PhysValExample()
Default constructor:
KinematicsPlots.h
PlotBase
Definition: PlotBase.h:34
PhysVal::PhysValExample::m_photonName
std::string m_photonName
Definition: PhysValExample.h:80
PhysVal::PhysValExample::fillHistograms
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
Definition: PhysValExample.cxx:117
ManagedMonitorToolBase
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition: ManagedMonitorToolBase.h:73
PhysVal::PhysValExample::m_metPlots
PhysVal::METPlots m_metPlots
Definition: PhysValExample.h:95
PhysVal::PhysValExample::m_tauName
std::string m_tauName
Definition: PhysValExample.h:82
PhysVal::TrkAndVtxPlots
Definition: TrkAndVtxPlots.h:16
PhysVal::PhysValExample::~PhysValExample
virtual ~PhysValExample()
Destructor:
Definition: PhysValExample.cxx:74
PhysVal::EventInfoPlots
Definition: EventInfoPlots.h:12
PhysVal::PhysValExample::m_doExJet
bool m_doExJet
Definition: PhysValExample.h:101
PhysVal::PhysValExample::m_doExMET
bool m_doExMET
Definition: PhysValExample.h:103
TrkAndVtxPlots.h
PhysVal::BTagPlots
Definition: BTagPlots.h:15
PhysVal::PhysValExample::m_trackName
std::string m_trackName
Definition: PhysValExample.h:84
PhysVal::METPlots
Definition: METPlots.h:15
PhysVal::PhysValExample::m_elecName
std::string m_elecName
Definition: PhysValExample.h:79
ManagedMonitorToolBase.h
PhysVal::PhysValExample
Definition: PhysValExample.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PhysVal::KinematicsPlots
Definition: PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/src/KinematicsPlots.h:15
test_pyathena.parent
parent
Definition: test_pyathena.py:15
PhysVal::PhysValExample::m_muonPlots
PhysVal::KinematicsPlots m_muonPlots
Definition: PhysValExample.h:91
EventInfoPlots.h
PhysVal::PhysValExample::m_jetPlots
PhysVal::KinematicsPlots m_jetPlots
Definition: PhysValExample.h:88
PhysVal::PhysValExample::m_metName
std::string m_metName
Definition: PhysValExample.h:83
PhysVal::PhysValExample::m_doExBtag
bool m_doExBtag
Definition: PhysValExample.h:102
PhysVal::PhysValExample::procHistograms
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
Definition: PhysValExample.cxx:201
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
PhysVal
Definition: BTagPlots.cxx:13
PhysVal::PhysValExample::initialize
virtual StatusCode initialize()
Definition: PhysValExample.cxx:79
PhysVal::PhysValExample::m_elecPlots
PhysVal::KinematicsPlots m_elecPlots
Definition: PhysValExample.h:89
PhysVal::PhysValExample::m_btagPlots
PhysVal::BTagPlots m_btagPlots
Definition: PhysValExample.h:96
PhysVal::PhysValExample::m_vertexName
std::string m_vertexName
Definition: PhysValExample.h:85
BTagPlots.h
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_tauPlots
PhysVal::KinematicsPlots m_tauPlots
Definition: PhysValExample.h:92
PhysVal::PhysValExample::book
StatusCode book(PlotBase &plots)
Definition: PhysValExample.cxx:87
PhysVal::PhysValExample::m_jetName
std::string m_jetName
Definition: PhysValExample.h:78
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
covarianceTool.plots
plots
Definition: covarianceTool.py:698
PhysVal::PhysValExample::m_trkvtxPlots
PhysVal::TrkAndVtxPlots m_trkvtxPlots
Definition: PhysValExample.h:93
PhysVal::PhysValExample::m_evtPlots
PhysVal::EventInfoPlots m_evtPlots
Definition: PhysValExample.h:94
PhysVal::PhysValExample::m_muonName
std::string m_muonName
Definition: PhysValExample.h:81