ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCellCorrection
src
CaloCellPedCorrCondAlg.h
Go to the documentation of this file.
1
//Dear emacs, this is -*-c++-*-
2
/*
3
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4
*/
5
#ifndef CALOCELLCORRECTION_CALOCELLPEDCORRCONDALG_H
6
#define CALOCELLCORRECTION_CALOCELLPEDCORRCONDALG_H
7
8
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
9
10
#include "
StoreGate/ReadCondHandleKey.h
"
11
#include "
StoreGate/WriteCondHandleKey.h
"
12
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
13
#include "
CaloCondBlobObjs/ICaloCoolIdTool.h
"
14
#include "
CaloConditions/CaloCellPedShift.h
"
15
16
class
CaloCell_ID
;
17
18
class
CaloCellPedCorrCondAlg
:
public
AthCondAlgorithm
{
19
public
:
20
using
AthCondAlgorithm::AthCondAlgorithm;
21
virtual
~CaloCellPedCorrCondAlg
() =
default
;
22
23
StatusCode
initialize
() override final;
24
StatusCode
execute
(
const
EventContext& ctx)
const
override final;
25
StatusCode
finalize
() override final {
return
StatusCode::SUCCESS;}
26
27
private
:
28
//SG Keys and other properties:
29
SG::ReadCondHandleKey<CondAttrListCollection>
m_pedShiftFolder
{
this
,
"PedestalShiftFolder"
,
"/CALO/Pedestal/CellPedestal"
,
"SG Key of Attr list containing pedestal shifts"
};
30
SG::ReadCondHandleKey<CondAttrListCollection>
m_lumiFolderName
{
this
,
"LumiFolderName"
,
"/TRIGGER/LUMI/LBLESTONL"
,
"SG Key of Attr list for Luminosity estimate"
};
31
SG::WriteCondHandleKey<CaloCellPedShift>
m_pedShiftKey
{
this
,
"CaloPedShiftKey"
,
"CaloPedShift"
};
32
33
ToolHandle<ICaloCoolIdTool>
m_caloCoolIdTool
{
this
,
"CaloCoolIdTool"
,
"CaloCoolIdTool"
};
34
35
Gaudi::Property<float>
m_lumi0
{
this
,
"Luminosity"
,0.0,
"Luminosity in 10**33 units"
};
36
37
const
CaloCell_ID
*
m_cellId
=
nullptr
;
38
39
};
40
41
42
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
CaloCellPedShift.h
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
ICaloCoolIdTool.h
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
CaloCellPedCorrCondAlg
Definition
CaloCellPedCorrCondAlg.h:18
CaloCellPedCorrCondAlg::initialize
StatusCode initialize() override final
Definition
CaloCellPedCorrCondAlg.cxx:10
CaloCellPedCorrCondAlg::~CaloCellPedCorrCondAlg
virtual ~CaloCellPedCorrCondAlg()=default
CaloCellPedCorrCondAlg::m_pedShiftFolder
SG::ReadCondHandleKey< CondAttrListCollection > m_pedShiftFolder
Definition
CaloCellPedCorrCondAlg.h:29
CaloCellPedCorrCondAlg::m_caloCoolIdTool
ToolHandle< ICaloCoolIdTool > m_caloCoolIdTool
Definition
CaloCellPedCorrCondAlg.h:33
CaloCellPedCorrCondAlg::finalize
StatusCode finalize() override final
Definition
CaloCellPedCorrCondAlg.h:25
CaloCellPedCorrCondAlg::m_pedShiftKey
SG::WriteCondHandleKey< CaloCellPedShift > m_pedShiftKey
Definition
CaloCellPedCorrCondAlg.h:31
CaloCellPedCorrCondAlg::m_cellId
const CaloCell_ID * m_cellId
Definition
CaloCellPedCorrCondAlg.h:37
CaloCellPedCorrCondAlg::m_lumiFolderName
SG::ReadCondHandleKey< CondAttrListCollection > m_lumiFolderName
Definition
CaloCellPedCorrCondAlg.h:30
CaloCellPedCorrCondAlg::m_lumi0
Gaudi::Property< float > m_lumi0
Definition
CaloCellPedCorrCondAlg.h:35
CaloCellPedCorrCondAlg::execute
StatusCode execute(const EventContext &ctx) const override final
Definition
CaloCellPedCorrCondAlg.cxx:23
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
const
Generated on
for ATLAS Offline Software by
1.17.0