ATLAS Offline Software
IsolationHistograms.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EGAMMAVALIDATION_ISOLATIONHISTOGRAMS_H
6 #define EGAMMAVALIDATION_ISOLATIONHISTOGRAMS_H
7 
8 #include "GaudiKernel/ITHistSvc.h"
9 #include "GaudiKernel/SmartIF.h"
10 
11 #include "xAODEgamma/Egamma.h"
12 
13 #include <map>
14 #include <string>
15 
16 class TH1D;
17 
18 namespace egammaMonitoring {
19 
21 {
22 public:
23  // Histos
25  std::string title,
26  std::string folder,
27  SmartIF<ITHistSvc> rootHistSvc)
28  : m_name(std::move(std::move(name)))
29  , m_title(std::move(std::move(title)))
30  , m_folder(std::move(std::move(folder)))
31  , m_rootHistSvc(std::move(rootHistSvc))
32  {
33  }
34 
35  std::map<std::string, TH1D*> histoMap;
36  StatusCode initializePlots(bool do_var_histos);
37  void fill(const xAOD::Egamma& egamma);
38 
39 protected:
40  std::string m_name;
41  std::string m_title;
42  std::string m_folder;
43  SmartIF<ITHistSvc> m_rootHistSvc;
44 
45 };
46 
47 }
48 
49 #endif
egammaMonitoring::IsolationHistograms::m_title
std::string m_title
Definition: IsolationHistograms.h:41
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
egamma
Definition: egamma.h:58
egammaMonitoring::IsolationHistograms
Definition: IsolationHistograms.h:21
Egamma.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
covarianceTool.title
title
Definition: covarianceTool.py:542
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
egammaMonitoring
Definition: ClusterHistograms.h:19
egammaMonitoring::IsolationHistograms::IsolationHistograms
IsolationHistograms(std::string name, std::string title, std::string folder, SmartIF< ITHistSvc > rootHistSvc)
Definition: IsolationHistograms.h:24
egammaMonitoring::IsolationHistograms::m_rootHistSvc
SmartIF< ITHistSvc > m_rootHistSvc
Definition: IsolationHistograms.h:43
egammaMonitoring::IsolationHistograms::m_folder
std::string m_folder
Definition: IsolationHistograms.h:42
egammaMonitoring::IsolationHistograms::m_name
std::string m_name
Definition: IsolationHistograms.h:40
CaloCondBlobAlgs_fillNoiseFromASCII.folder
folder
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:56
egammaMonitoring::IsolationHistograms::histoMap
std::map< std::string, TH1D * > histoMap
Definition: IsolationHistograms.h:35
egammaMonitoring::IsolationHistograms::fill
void fill(const xAOD::Egamma &egamma)
Definition: IsolationHistograms.cxx:45
egammaMonitoring::IsolationHistograms::initializePlots
StatusCode initializePlots(bool do_var_histos)
Definition: IsolationHistograms.cxx:16