ATLAS Offline Software
Loading...
Searching...
No Matches
IsolationHistograms.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_ISOLATIONHISTOGRAMS_H
6#define EGAMMAVALIDATION_ISOLATIONHISTOGRAMS_H
7
8#include "GaudiKernel/ITHistSvc.h"
9#include "GaudiKernel/SmartIF.h"
10
11#include "xAODEgamma/Egamma.h"
12
13#include <map>
14#include <string>
15
16class TH1D;
17
18namespace egammaMonitoring {
19
21{
22public:
23 // Histos
24 IsolationHistograms(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 }
34
35 std::map<std::string, TH1D*> histoMap;
36 StatusCode initializePlots(bool do_var_histos);
37 void fill(const xAOD::Egamma& egamma);
38
39protected:
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, TH1D * > histoMap
StatusCode initializePlots(bool do_var_histos)
void fill(const xAOD::Egamma &egamma)
IsolationHistograms(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