ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
15
16class CaloCell_ID;
17
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
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Base class for conditions algorithms.
StatusCode initialize() override final
virtual ~CaloCellPedCorrCondAlg()=default
SG::ReadCondHandleKey< CondAttrListCollection > m_pedShiftFolder
ToolHandle< ICaloCoolIdTool > m_caloCoolIdTool
StatusCode finalize() override final
SG::WriteCondHandleKey< CaloCellPedShift > m_pedShiftKey
SG::ReadCondHandleKey< CondAttrListCollection > m_lumiFolderName
Gaudi::Property< float > m_lumi0
StatusCode execute(const EventContext &ctx) const override final
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34