ATLAS Offline Software
RecoClusterHistograms.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_RECOCLUSTERSHISTOGRAMS_H
6 #define EGAMMAVALIDATION_RECOCLUSTERSHISTOGRAMS_H
7 
8 #include <map>
9 
10 #include "GaudiKernel/ITHistSvc.h"
11 #include "GaudiKernel/SmartIF.h"
12 
13 #include "xAODEgamma/Egamma.h"
14 
15 class TH3D;
16 
17 namespace egammaMonitoring{
18 
20  public:
21 
22  // Histos
24  std::string title,
25  std::string folder,
26  SmartIF<ITHistSvc> rootHistSvc) :
27  m_name(std::move(name)),
28  m_title(std::move(title)),
29  m_folder(std::move(folder)),
30  m_rootHistSvc(std::move(rootHistSvc)) {}
31 
32  std::map<std::string, TH3D*> m_histo3DMap;
33 
35  void fill(const xAOD::Egamma& egamma);
36 
37  protected:
38  std::string m_name;
39  std::string m_title;
40  std::string m_folder;
41  SmartIF<ITHistSvc> m_rootHistSvc;
42 
43  };
44 
45 }
46 
47 #endif
egammaMonitoring::RecoClusterHistograms::m_histo3DMap
std::map< std::string, TH3D * > m_histo3DMap
Definition: RecoClusterHistograms.h:32
egammaMonitoring::RecoClusterHistograms::m_rootHistSvc
SmartIF< ITHistSvc > m_rootHistSvc
Definition: RecoClusterHistograms.h:41
egammaMonitoring::RecoClusterHistograms::m_title
std::string m_title
Definition: RecoClusterHistograms.h:39
egammaMonitoring::RecoClusterHistograms::initializePlots
StatusCode initializePlots()
Definition: RecoClusterHistograms.cxx:18
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
egamma
Definition: egamma.h:58
Egamma.h
egammaMonitoring::RecoClusterHistograms::RecoClusterHistograms
RecoClusterHistograms(std::string name, std::string title, std::string folder, SmartIF< ITHistSvc > rootHistSvc)
Definition: RecoClusterHistograms.h:23
egammaMonitoring::RecoClusterHistograms::fill
void fill(const xAOD::Egamma &egamma)
Definition: RecoClusterHistograms.cxx:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
covarianceTool.title
title
Definition: covarianceTool.py:542
egammaMonitoring::RecoClusterHistograms
Definition: RecoClusterHistograms.h:19
egammaMonitoring::RecoClusterHistograms::m_name
std::string m_name
Definition: RecoClusterHistograms.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
egammaMonitoring
Definition: ClusterHistograms.h:19
egammaMonitoring::RecoClusterHistograms::m_folder
std::string m_folder
Definition: RecoClusterHistograms.h:40
CaloCondBlobAlgs_fillNoiseFromASCII.folder
folder
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:56