ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCondPhysAlgs
src
CaloCellEnergyCorr2Ntuple.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// CaloCellEnergyCorr2Ntuple.h
6
//
7
8
#ifndef CALOCONDPHYSALGS_CALOCELLENERGYCORR2NTUPLE_H
9
#define CALOCONDPHYSALGS_CALOCELLENERGYCORR2NTUPLE_H
10
11
#include <string>
12
13
// Gaudi includes
14
15
#include "
AthenaBaseComps/AthAlgorithm.h
"
16
#include "GaudiKernel/ToolHandle.h"
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
#include "
CaloIdentifier/CaloIdManager.h
"
19
#include "
CaloDetDescr/CaloDetDescrManager.h
"
20
#include "
CaloIdentifier/CaloCell_ID.h
"
21
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
22
23
#include "GaudiKernel/ITHistSvc.h"
24
#include "TTree.h"
25
26
27
class
CaloCellEnergyCorr2Ntuple
:
public
AthAlgorithm
{
28
29
public
:
30
//Gaudi style constructor and execution methods
32
CaloCellEnergyCorr2Ntuple
(
const
std::string& name, ISvcLocator* pSvcLocator);
34
~CaloCellEnergyCorr2Ntuple
();
35
37
virtual
StatusCode
initialize
()
override
;
39
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
41
virtual
StatusCode
stop
()
override
;
42
43
private
:
44
45
//---------------------------------------------------
46
// Member variables
47
//---------------------------------------------------
48
//=== blob storage
49
ServiceHandle<ITHistSvc>
m_thistSvc
{
this
,
"THistSvc"
,
"THistSvc"
};
50
51
const
CaloCell_ID
*
m_calo_id
;
52
53
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
54
,
"CaloDetDescrManager"
55
,
"CaloDetDescrManager"
56
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
57
SG::ReadCondHandleKey<AthenaAttributeList>
m_attrListCollKey
58
{
this
,
"AttrListCollKey"
,
"/LAR/CellCorrOfl/EnergyCorr"
};
59
60
int
m_Hash
;
61
int
m_OffId
;
62
float
m_eta
;
63
float
m_phi
;
64
int
m_layer
;
65
int
m_detector
;
66
float
m_corr
;
67
TTree*
m_tree
;
68
69
};
70
#endif
AthAlgorithm.h
AthenaAttributeList.h
CaloCell_ID.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloIdManager.h
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloCellEnergyCorr2Ntuple::CaloCellEnergyCorr2Ntuple
CaloCellEnergyCorr2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition
CaloCellEnergyCorr2Ntuple.cxx:19
CaloCellEnergyCorr2Ntuple::m_attrListCollKey
SG::ReadCondHandleKey< AthenaAttributeList > m_attrListCollKey
Definition
CaloCellEnergyCorr2Ntuple.h:58
CaloCellEnergyCorr2Ntuple::stop
virtual StatusCode stop() override
standard Athena-Algorithm method
Definition
CaloCellEnergyCorr2Ntuple.cxx:75
CaloCellEnergyCorr2Ntuple::~CaloCellEnergyCorr2Ntuple
~CaloCellEnergyCorr2Ntuple()
Default Destructor.
Definition
CaloCellEnergyCorr2Ntuple.cxx:35
CaloCellEnergyCorr2Ntuple::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
CaloCellEnergyCorr2Ntuple.h:53
CaloCellEnergyCorr2Ntuple::m_detector
int m_detector
Definition
CaloCellEnergyCorr2Ntuple.h:65
CaloCellEnergyCorr2Ntuple::m_tree
TTree * m_tree
Definition
CaloCellEnergyCorr2Ntuple.h:67
CaloCellEnergyCorr2Ntuple::m_eta
float m_eta
Definition
CaloCellEnergyCorr2Ntuple.h:62
CaloCellEnergyCorr2Ntuple::m_calo_id
const CaloCell_ID * m_calo_id
Definition
CaloCellEnergyCorr2Ntuple.h:51
CaloCellEnergyCorr2Ntuple::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition
CaloCellEnergyCorr2Ntuple.cxx:39
CaloCellEnergyCorr2Ntuple::m_phi
float m_phi
Definition
CaloCellEnergyCorr2Ntuple.h:63
CaloCellEnergyCorr2Ntuple::execute
virtual StatusCode execute(const EventContext &ctx) override
standard Athena-Algorithm method
Definition
CaloCellEnergyCorr2Ntuple.cxx:67
CaloCellEnergyCorr2Ntuple::m_layer
int m_layer
Definition
CaloCellEnergyCorr2Ntuple.h:64
CaloCellEnergyCorr2Ntuple::m_OffId
int m_OffId
Definition
CaloCellEnergyCorr2Ntuple.h:61
CaloCellEnergyCorr2Ntuple::m_corr
float m_corr
Definition
CaloCellEnergyCorr2Ntuple.h:66
CaloCellEnergyCorr2Ntuple::m_Hash
int m_Hash
Definition
CaloCellEnergyCorr2Ntuple.h:60
CaloCellEnergyCorr2Ntuple::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition
CaloCellEnergyCorr2Ntuple.h:49
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0