ATLAS Offline Software
Loading...
Searching...
No Matches
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
15class TH1D;
16class TH2D;
17
18namespace egammaMonitoring {
19
21 public:
22
23 // Histos
24 ShowerShapesHistograms(std::string name,
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
36 StatusCode initializePlots();
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
std::map< std::string, TH2D * > histo2DMap
ShowerShapesHistograms(std::string name, std::string title, std::string folder, SmartIF< ITHistSvc > rootHistSvc)
elec/gamma data class.
Definition egamma.h:58
STL namespace.
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17