ATLAS Offline Software
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 
16 class CaloCell_ID;
17 
19  public:
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  virtual bool isReEntrant() const override final { return false; }
27 
28  private:
29  //SG Keys and other properties:
30  SG::ReadCondHandleKey<CondAttrListCollection> m_pedShiftFolder{this,"PedestalShiftFolder","/CALO/Pedestal/CellPedestal","SG Key of Attr list containing pedestal shifts"};
31  SG::ReadCondHandleKey<CondAttrListCollection> m_lumiFolderName{this,"LumiFolderName","/TRIGGER/LUMI/LBLESTONL","SG Key of Attr list for Luminosity estimate"};
32  SG::WriteCondHandleKey<CaloCellPedShift> m_pedShiftKey{this,"CaloPedShiftKey","CaloPedShift"};
33 
34  ToolHandle<ICaloCoolIdTool> m_caloCoolIdTool{this,"CaloCoolIdTool","CaloCoolIdTool"};
35 
36  Gaudi::Property<float> m_lumi0{this,"Luminosity",0.0,"Luminosity in 10**33 units"};
37 
38  const CaloCell_ID* m_cellId=nullptr;
39 
40 };
41 
42 
43 #endif
CaloCellPedCorrCondAlg::m_pedShiftFolder
SG::ReadCondHandleKey< CondAttrListCollection > m_pedShiftFolder
Definition: CaloCellPedCorrCondAlg.h:30
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
CaloCellPedCorrCondAlg
Definition: CaloCellPedCorrCondAlg.h:18
CaloCellPedCorrCondAlg::m_caloCoolIdTool
ToolHandle< ICaloCoolIdTool > m_caloCoolIdTool
Definition: CaloCellPedCorrCondAlg.h:34
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
CaloCellPedCorrCondAlg::finalize
StatusCode finalize() override final
Definition: CaloCellPedCorrCondAlg.h:25
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CaloCellPedCorrCondAlg::m_lumiFolderName
SG::ReadCondHandleKey< CondAttrListCollection > m_lumiFolderName
Definition: CaloCellPedCorrCondAlg.h:31
CaloCellPedCorrCondAlg::m_pedShiftKey
SG::WriteCondHandleKey< CaloCellPedShift > m_pedShiftKey
Definition: CaloCellPedCorrCondAlg.h:32
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
CaloCellPedCorrCondAlg::m_lumi0
Gaudi::Property< float > m_lumi0
Definition: CaloCellPedCorrCondAlg.h:36
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
ReadCondHandleKey.h
AthReentrantAlgorithm.h
CaloCellPedCorrCondAlg::execute
StatusCode execute(const EventContext &ctx) const override final
Definition: CaloCellPedCorrCondAlg.cxx:22
CaloCellPedShift.h
ICaloCoolIdTool.h
SG::ReadCondHandleKey< CondAttrListCollection >
CaloCellPedCorrCondAlg::~CaloCellPedCorrCondAlg
virtual ~CaloCellPedCorrCondAlg()=default
CaloCellPedCorrCondAlg::m_cellId
const CaloCell_ID * m_cellId
Definition: CaloCellPedCorrCondAlg.h:38
SG::WriteCondHandleKey< CaloCellPedShift >
CaloCellPedCorrCondAlg::initialize
StatusCode initialize() override final
Definition: CaloCellPedCorrCondAlg.cxx:9
CaloCellPedCorrCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: CaloCellPedCorrCondAlg.h:26