ATLAS Offline Software
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
()
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
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition:
PyTestsLib.py:50
CaloCondBlobFlt
Class for storing a number of floats (Flt) and functions on those.
Definition:
CaloCondBlobFlt.h:29
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
initialize
void initialize()
Definition:
run_EoverP.cxx:894
PixelModuleFeMask_create_db.stop
int stop
Definition:
PixelModuleFeMask_create_db.py:76
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition:
CondAttrListCollection.h:52
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloCell_ID.h
LArG4FSStartPointFilterLegacy.execute
execute
Definition:
LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
LArOnOffIdMapping.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCell_ID
Helper class for offline cell identifiers.
Definition:
CaloCell_ID.h:34
AthAlgorithm
Definition:
AthAlgorithm.h:47
CaloAddCellPedShift
Definition:
CaloAddCellPedShift.h:29
LArOnlineID
Definition:
LArOnlineID.h:20
ICaloCoolIdTool.h
SG::ReadCondHandleKey< LArOnOffIdMapping >
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
checker_macros.h
Define macros for attributes used to control the static checker.
LArOnlineID.h
ServiceHandle< ITHistSvc >
Generated on Mon Sep 1 2025 21:07:14 for ATLAS Offline Software by
1.8.18