ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCondPhysAlgs
src
CaloAddCellPedShift.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// CaloAddCellPedShift.h
6
//
7
8
#ifndef CALOCONDPHYSALGS_CALOADDCELLPEDSHIFT_H
9
#define CALOCONDPHYSALGS_CALOADDCELLPEDSHIFT_H
10
11
#include <string>
12
#include "
AthenaBaseComps/AthAlgorithm.h
"
13
#include "GaudiKernel/ToolHandle.h"
14
#include "
CaloDetDescr/CaloDetDescrManager.h
"
15
#include "
CaloIdentifier/CaloCell_ID.h
"
16
#include "
CaloCondBlobObjs/ICaloCoolIdTool.h
"
17
#include "
LArIdentifier/LArOnlineID.h
"
18
#include "
LArCabling/LArOnOffIdMapping.h
"
19
20
#include "GaudiKernel/ITHistSvc.h"
21
#include "TTree.h"
22
23
#include "
CxxUtils/checker_macros.h
"
24
25
class
CaloCondBlobFlt
;
26
class
CondAttrListCollection
;
27
28
29
class
ATLAS_NOT_THREAD_SAFE
CaloAddCellPedShift
:
public
AthAlgorithm
{
30
31
public
:
32
33
using
AthAlgorithm::AthAlgorithm
;
34
35
37
virtual
StatusCode
initialize
()
override
;
39
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
41
virtual
StatusCode
finalize
()
override
;
43
virtual
StatusCode
stop
()
override
;
44
45
private
:
46
47
//---------------------------------------------------
48
// Member variables
49
//---------------------------------------------------
50
Gaudi::Property<std::string>
m_fname
{
this
,
"inputFile"
,
""
};
51
52
53
ServiceHandle<ITHistSvc>
m_thistSvc
{
this
,
"THistSvc"
,
"THistSvc"
};
54
55
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
56
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
57
SG::ReadCondHandleKey<CondAttrListCollection>
m_pedKey
{
this
,
"FolderName"
,
"/CALO/Pedestal/CellPedestal"
};
58
59
const
CaloCell_ID
*
m_calo_id
=
nullptr
;
60
const
LArOnlineID
*
m_onlineID
=
nullptr
;
61
62
ToolHandle<ICaloCoolIdTool>
m_caloCoolIdTool
{
this
,
"CaloCoolIdTool"
,
"CaloCoolIdTool"
};
63
64
int
m_iCool
=0;
65
int
m_SubHash
=0;
66
int
m_Hash
=0;
67
int
m_OffId
=0;
68
float
m_eta
=0;
69
float
m_phi
=0;
70
int
m_layer
=0;
71
int
m_Gain
=0;
72
int
m_bec
=0;
73
int
m_posneg
=0;
74
int
m_FT
=0;
75
int
m_slot
=0;
76
int
m_channel
=0;
77
float
m_ped1
=0;
78
float
m_ped1corr
=0;
79
float
m_ped2
=0;
80
TTree*
m_tree
=
nullptr
;
81
};
82
#endif
AthAlgorithm.h
CaloCell_ID.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ICaloCoolIdTool.h
LArOnOffIdMapping.h
LArOnlineID.h
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
AthAlgorithm::execute
virtual StatusCode execute(const EventContext &ctx)=0
Execute method.
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloAddCellPedShift
Definition
CaloAddCellPedShift.h:29
CaloAddCellPedShift::m_Hash
int m_Hash
Definition
CaloAddCellPedShift.h:66
CaloAddCellPedShift::m_tree
TTree * m_tree
Definition
CaloAddCellPedShift.h:80
CaloAddCellPedShift::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition
CaloAddCellPedShift.h:53
CaloAddCellPedShift::m_onlineID
const LArOnlineID * m_onlineID
Definition
CaloAddCellPedShift.h:60
CaloAddCellPedShift::m_OffId
int m_OffId
Definition
CaloAddCellPedShift.h:67
CaloAddCellPedShift::m_layer
int m_layer
Definition
CaloAddCellPedShift.h:70
CaloAddCellPedShift::m_iCool
int m_iCool
Definition
CaloAddCellPedShift.h:64
CaloAddCellPedShift::m_pedKey
SG::ReadCondHandleKey< CondAttrListCollection > m_pedKey
Definition
CaloAddCellPedShift.h:57
CaloAddCellPedShift::m_channel
int m_channel
Definition
CaloAddCellPedShift.h:76
CaloAddCellPedShift::m_calo_id
const CaloCell_ID * m_calo_id
Definition
CaloAddCellPedShift.h:59
CaloAddCellPedShift::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
CaloAddCellPedShift.h:55
CaloAddCellPedShift::m_ped1corr
float m_ped1corr
Definition
CaloAddCellPedShift.h:78
CaloAddCellPedShift::m_SubHash
int m_SubHash
Definition
CaloAddCellPedShift.h:65
CaloAddCellPedShift::finalize
virtual StatusCode finalize() override
standard Athena-Algorithm method
Definition
CaloAddCellPedShift.cxx:242
CaloAddCellPedShift::m_phi
float m_phi
Definition
CaloAddCellPedShift.h:69
CaloAddCellPedShift::m_ped1
float m_ped1
Definition
CaloAddCellPedShift.h:77
CaloAddCellPedShift::m_FT
int m_FT
Definition
CaloAddCellPedShift.h:74
CaloAddCellPedShift::m_caloCoolIdTool
ToolHandle< ICaloCoolIdTool > m_caloCoolIdTool
Definition
CaloAddCellPedShift.h:62
CaloAddCellPedShift::m_ped2
float m_ped2
Definition
CaloAddCellPedShift.h:79
CaloAddCellPedShift::m_posneg
int m_posneg
Definition
CaloAddCellPedShift.h:73
CaloAddCellPedShift::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloAddCellPedShift::m_eta
float m_eta
Definition
CaloAddCellPedShift.h:68
CaloAddCellPedShift::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
CaloAddCellPedShift.h:56
CaloAddCellPedShift::m_bec
int m_bec
Definition
CaloAddCellPedShift.h:72
CaloAddCellPedShift::m_fname
Gaudi::Property< std::string > m_fname
Definition
CaloAddCellPedShift.h:50
CaloAddCellPedShift::m_slot
int m_slot
Definition
CaloAddCellPedShift.h:75
CaloAddCellPedShift::m_Gain
int m_Gain
Definition
CaloAddCellPedShift.h:71
CaloAddCellPedShift::stop
virtual StatusCode stop() override
standard Athena-Algorithm method
Definition
CaloAddCellPedShift.cxx:63
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloCondBlobFlt
Class for storing a number of floats (Flt) and functions on those.
Definition
CaloCondBlobFlt.h:29
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number.
Definition
CondAttrListCollection.h:51
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0