ATLAS Offline Software
ShowerShapesHistograms.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_SHOWERSHAPESHISTOGRAMS_H
6 #define EGAMMAVALIDATION_SHOWERSHAPESHISTOGRAMS_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 TH1D;
16 class TH2D;
17 
18 namespace egammaMonitoring {
19 
21  public:
22 
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  std::map<std::string, TH1D* > histoMap;
34  std::map<std::string, TH2D* > histo2DMap;
35 
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::ShowerShapesHistograms::m_folder
std::string m_folder
Definition: ShowerShapesHistograms.h:42
egammaMonitoring::ShowerShapesHistograms::fill
void fill(const xAOD::Egamma &egamma)
Definition: ShowerShapesHistograms.cxx:59
egammaMonitoring::ShowerShapesHistograms::m_title
std::string m_title
Definition: ShowerShapesHistograms.h:41
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
egamma
Definition: egamma.h:58
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
egammaMonitoring::ShowerShapesHistograms::histoMap
std::map< std::string, TH1D * > histoMap
Definition: ShowerShapesHistograms.h:33
egammaMonitoring::ShowerShapesHistograms::histo2DMap
std::map< std::string, TH2D * > histo2DMap
Definition: ShowerShapesHistograms.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
egammaMonitoring::ShowerShapesHistograms::ShowerShapesHistograms
ShowerShapesHistograms(std::string name, std::string title, std::string folder, SmartIF< ITHistSvc > rootHistSvc)
Definition: ShowerShapesHistograms.h:24
egammaMonitoring
Definition: ClusterHistograms.h:19
egammaMonitoring::ShowerShapesHistograms::m_name
std::string m_name
Definition: ShowerShapesHistograms.h:40
CaloCondBlobAlgs_fillNoiseFromASCII.folder
folder
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:56
egammaMonitoring::ShowerShapesHistograms
Definition: ShowerShapesHistograms.h:20
egammaMonitoring::ShowerShapesHistograms::initializePlots
StatusCode initializePlots()
Definition: ShowerShapesHistograms.cxx:17
egammaMonitoring::ShowerShapesHistograms::m_rootHistSvc
SmartIF< ITHistSvc > m_rootHistSvc
Definition: ShowerShapesHistograms.h:43