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