ATLAS Offline Software
ShowerShapesHistograms.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 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 #include "xAODEgamma/Egamma.h"
10 
11 class TH1D;
12 class TH2D;
13 class ITHistSvc;
14 
15 namespace egammaMonitoring {
16 
18  public:
19 
20  // Histos
22  std::string title,
23  std::string folder,
24  ITHistSvc * &rootHistSvc) :
25  m_name(std::move(std::move(name))),
26  m_title(std::move(std::move(title))),
27  m_folder(std::move(std::move(folder))),
28  m_rootHistSvc(rootHistSvc) {}
29 
30  std::map<std::string, TH1D* > histoMap;
31  std::map<std::string, TH2D* > histo2DMap;
32 
34  void fill(const xAOD::Egamma& egamma);
35 
36  protected:
37  std::string m_name;
38  std::string m_title;
39  std::string m_folder;
40  ITHistSvc* m_rootHistSvc = nullptr;
41 
42  };
43 
44 }
45 
46 #endif
egammaMonitoring::ShowerShapesHistograms::m_folder
std::string m_folder
Definition: ShowerShapesHistograms.h:39
egammaMonitoring::ShowerShapesHistograms::fill
void fill(const xAOD::Egamma &egamma)
Definition: ShowerShapesHistograms.cxx:59
egammaMonitoring::ShowerShapesHistograms::m_title
std::string m_title
Definition: ShowerShapesHistograms.h:38
TH1D
Definition: rootspy.cxx:342
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:30
TH2D
Definition: rootspy.cxx:430
egammaMonitoring::ShowerShapesHistograms::histo2DMap
std::map< std::string, TH2D * > histo2DMap
Definition: ShowerShapesHistograms.h:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
egammaMonitoring
Definition: ClusterHistograms.h:16
egammaMonitoring::ShowerShapesHistograms::m_rootHistSvc
ITHistSvc * m_rootHistSvc
Definition: ShowerShapesHistograms.h:40
egammaMonitoring::ShowerShapesHistograms::m_name
std::string m_name
Definition: ShowerShapesHistograms.h:37
CaloCondBlobAlgs_fillNoiseFromASCII.folder
folder
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:56
egammaMonitoring::ShowerShapesHistograms::ShowerShapesHistograms
ShowerShapesHistograms(std::string name, std::string title, std::string folder, ITHistSvc *&rootHistSvc)
Definition: ShowerShapesHistograms.h:21
egammaMonitoring::ShowerShapesHistograms
Definition: ShowerShapesHistograms.h:17
egammaMonitoring::ShowerShapesHistograms::initializePlots
StatusCode initializePlots()
Definition: ShowerShapesHistograms.cxx:17