ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaValidation
src
DiObjectHistograms.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_DIOBJECTHISTOGRAMS_H
6
#define EGAMMAVALIDATION_DIOBJECTHISTOGRAMS_H
7
8
#include "
AsgMessaging/StatusCode.h
"
9
#include "GaudiKernel/ITHistSvc.h"
10
#include "GaudiKernel/SmartIF.h"
11
12
#include <map>
13
#include <string>
14
15
class
TH1;
16
class
ITHistSvc;
17
namespace
xAOD
{
18
class
IParticle
;
19
}
20
21
namespace
egammaMonitoring
{
22
23
class
DiObjectHistograms
{
24
public
:
25
26
DiObjectHistograms
(std::string name,
27
std::string title,
28
std::string folder,
29
SmartIF<ITHistSvc> rootHistSvc) :
30
m_name
(
std
::move(name)),
31
m_title
(
std
::move(title)),
32
m_folder
(
std
::move(folder)),
33
m_rootHistSvc
(
std
::move(rootHistSvc)) {}
34
35
StatusCode
initializePlots
();
36
37
void
fill
(
const
xAOD::IParticle
& eg1,
const
xAOD::IParticle
& eg2);
38
void
fill
(
const
xAOD::IParticle
& eg1,
const
xAOD::IParticle
& eg2,
float
mu);
39
std::map<std::string, TH1*>
histoMap
;
40
41
protected
:
42
std::string
m_name
;
43
std::string
m_title
;
44
std::string
m_folder
;
45
SmartIF<ITHistSvc>
m_rootHistSvc
;
46
};
47
48
}
49
50
#endif
StatusCode.h
egammaMonitoring::DiObjectHistograms::m_name
std::string m_name
Definition
DiObjectHistograms.h:42
egammaMonitoring::DiObjectHistograms::m_folder
std::string m_folder
Definition
DiObjectHistograms.h:44
egammaMonitoring::DiObjectHistograms::m_title
std::string m_title
Definition
DiObjectHistograms.h:43
egammaMonitoring::DiObjectHistograms::fill
void fill(const xAOD::IParticle &eg1, const xAOD::IParticle &eg2)
Definition
DiObjectHistograms.cxx:28
egammaMonitoring::DiObjectHistograms::initializePlots
StatusCode initializePlots()
Definition
DiObjectHistograms.cxx:13
egammaMonitoring::DiObjectHistograms::m_rootHistSvc
SmartIF< ITHistSvc > m_rootHistSvc
Definition
DiObjectHistograms.h:45
egammaMonitoring::DiObjectHistograms::histoMap
std::map< std::string, TH1 * > histoMap
Definition
DiObjectHistograms.h:39
egammaMonitoring::DiObjectHistograms::DiObjectHistograms
DiObjectHistograms(std::string name, std::string title, std::string folder, SmartIF< ITHistSvc > rootHistSvc)
Definition
DiObjectHistograms.h:26
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
egammaMonitoring
Definition
ClusterHistograms.h:19
std
STL namespace.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.14.0