ATLAS Offline Software
Loading...
Searching...
No Matches
ZeeValidationMonitoringTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ZEEVALIDATION_ZEEVALIDATIONMONITORINGTOOL_H
6#define ZEEVALIDATION_ZEEVALIDATIONMONITORINGTOOL_H
7
8// STL includes
9#include <string>
10
11// FrameWork includes
12#include "GaudiKernel/ServiceHandle.h"
13
14// Local includes
16#include "ReconElectronsPlots.h"
17#include "TrueElectronsPlots.h"
19#include "ZeePlots.h"
20#include "FWDZeePlots.h"
21
22// Root includes
23#include "TH1.h"
24
25// xAOD
26#include "xAODEgamma/Electron.h"
30
31// Forward declaration
32namespace ZeeValidation {
33
36 {
38 // Public methods:
40 public:
41
42 // Copy constructor:
43
44 // Constructor with parameters:
45 ZeeValidationMonitoringTool( const std::string& type,
46 const std::string& name,
47 const IInterface* parent );
48
49 // Destructor:
51
52 // Athena algtool's Hooks
53 virtual StatusCode initialize();
54 virtual StatusCode bookHistograms();
55 virtual StatusCode fillHistograms();
56 virtual StatusCode procHistograms();
57
59 // Const methods:
61
63 // Non-const methods:
65
67 // Private data:
69 private:
70
73
74 // Protect against Truth in Data
76
77 // Containers
78 std::string m_eventInfoName;
79 std::string m_elecName;
80 std::string m_elecFwdName;
81 std::string m_photonName;
82 std::string m_vertexName;
83 std::string m_trackName;
84 std::string m_truthName;
85
86 // Cut Values
92
93 // Hists
99
100 // Matching True-Reco
101 void MatchElec(const xAOD::TruthParticle* truth_electron, const xAOD::ElectronContainer* electrons);
105
106 void MatchPhot(const xAOD::TruthParticle* truth_electron, const xAOD::PhotonContainer* photons);
109
110 StatusCode book(PlotBase& plots);
111 };
112
113}
114
115#endif //> !ZEEVALIDATION_ZEEVALIDATIONMONITORINGTOOL_H
ManagedMonitorToolBase(const std::string &type, const std::string &name, const IInterface *parent)
void MatchElec(const xAOD::TruthParticle *truth_electron, const xAOD::ElectronContainer *electrons)
ZeeValidation::ReconElectronsPlots m_ReconElectronsPlots
ZeeValidationMonitoringTool()
Default constructor:
ZeeValidation::TrueFwdElectronsPlots m_TrueFwdElectronsPlots
ZeeValidation::TrueElectronsPlots m_TrueElectronsPlots
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
ZeeValidationMonitoringTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
void MatchPhot(const xAOD::TruthParticle *truth_electron, const xAOD::PhotonContainer *photons)
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
PhotonContainer_v1 PhotonContainer
Definition of the current "photon container version".
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".
TruthParticle_v1 TruthParticle
Typedef to implementation.
Electron_v1 Electron
Definition of the current "egamma version".