ATLAS Offline Software
Reconstruction
egamma
egammaValidation
src
DiObjectHistograms.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 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
10
#include <map>
11
#include <string>
12
13
class
TH1
;
14
class
ITHistSvc;
15
namespace
xAOD
{
16
class
IParticle
;
17
}
18
19
namespace
egammaMonitoring
{
20
21
class
DiObjectHistograms
{
22
public
:
23
24
DiObjectHistograms
(std::string
name
,
25
std::string
title
,
26
std::string
folder
,
27
ITHistSvc * &rootHistSvc) :
28
m_name
(std::move(
name
)),
29
m_title
(std::move(
title
)),
30
m_folder
(std::move(
folder
)),
31
m_rootHistSvc
(rootHistSvc) {}
32
33
StatusCode
initializePlots
();
34
35
void
fill
(
const
xAOD::IParticle
& eg1,
const
xAOD::IParticle
& eg2);
36
void
fill
(
const
xAOD::IParticle
& eg1,
const
xAOD::IParticle
& eg2,
float
mu
);
37
std::map<std::string, TH1*>
histoMap
;
38
39
protected
:
40
std::string
m_name
;
41
std::string
m_title
;
42
std::string
m_folder
;
43
ITHistSvc*
m_rootHistSvc
=
nullptr
;
44
};
45
46
}
47
48
#endif
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:40
egammaMonitoring::DiObjectHistograms::initializePlots
StatusCode initializePlots()
Definition:
DiObjectHistograms.cxx:13
egammaMonitoring::DiObjectHistograms
Definition:
DiObjectHistograms.h:21
egammaMonitoring::DiObjectHistograms::m_name
std::string m_name
Definition:
DiObjectHistograms.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
covarianceTool.title
title
Definition:
covarianceTool.py:542
StatusCode.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
egammaMonitoring
Definition:
ClusterHistograms.h:16
egammaMonitoring::DiObjectHistograms::m_rootHistSvc
ITHistSvc * m_rootHistSvc
Definition:
DiObjectHistograms.h:43
egammaMonitoring::DiObjectHistograms::DiObjectHistograms
DiObjectHistograms(std::string name, std::string title, std::string folder, ITHistSvc *&rootHistSvc)
Definition:
DiObjectHistograms.h:24
TH1
Definition:
rootspy.cxx:268
CaloCondBlobAlgs_fillNoiseFromASCII.folder
folder
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:56
egammaMonitoring::DiObjectHistograms::fill
void fill(const xAOD::IParticle &eg1, const xAOD::IParticle &eg2)
Definition:
DiObjectHistograms.cxx:28
egammaMonitoring::DiObjectHistograms::m_folder
std::string m_folder
Definition:
DiObjectHistograms.h:42
CaloNoise_fillDB.mu
mu
Definition:
CaloNoise_fillDB.py:53
IParticle
Definition:
Event/EventKernel/EventKernel/IParticle.h:43
egammaMonitoring::DiObjectHistograms::m_title
std::string m_title
Definition:
DiObjectHistograms.h:41
egammaMonitoring::DiObjectHistograms::histoMap
std::map< std::string, TH1 * > histoMap
Definition:
DiObjectHistograms.h:37
Generated on Thu Jul 4 2024 21:14:06 for ATLAS Offline Software by
1.8.18