ATLAS Offline Software
CaloCellPedestalCorr.h
Go to the documentation of this file.
1 //Dear emacs, this is -*-c++-*-
2 /*
3  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef CALOCELLCORRECTION_CALOCELLPEDESTALCORR_H
7 #define CALOCELLCORRECTION_CALOCELLPEDESTALCORR_H
8 
12 #include "StoreGate/ReadHandle.h"
14 
15 class CaloCondBlobFlt;
16 class CaloCell;
17 class CaloCell_ID;
18 
20  virtual public ICaloCellMakerTool
21 
22 {
23 
24 public:
25 
26  CaloCellPedestalCorr(const std::string& type,
27  const std::string& name,
28  const IInterface* parent);
29 
30  virtual ~CaloCellPedestalCorr() {};
31 
32  virtual StatusCode initialize() override;
33 
34  StatusCode process( CaloCellContainer * theCellContainer,
35  const EventContext& ctx) const override;
36 
37 private:
38 
39  SG::ReadCondHandleKey<CaloCellPedShift> m_pedShiftKey{this,"CaloPedShiftKey","CaloPedShift"};
40  SG::ReadHandleKey<CaloBCIDAverage> m_caloBCIDAvg{this,"CaloBCIDAverageKey","","SG Key of CaloBCIDAverage object"};
41 
42  Gaudi::Property<bool> m_isMC{this,"isMC",false,"Data/MC flag"};
43  const CaloCell_ID* m_cellId=nullptr;
44 
45 };
46 
47 #endif
CaloCondBlobFlt
Class for storing a number of floats (Flt) and functions on those.
Definition: CaloCondBlobFlt.h:29
SG::ReadHandleKey< CaloBCIDAverage >
ICaloCellMakerTool
Definition: ICaloCellMakerTool.h:20
CaloCellPedestalCorr::m_isMC
Gaudi::Property< bool > m_isMC
Definition: CaloCellPedestalCorr.h:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
CaloCellPedestalCorr::m_cellId
const CaloCell_ID * m_cellId
Definition: CaloCellPedestalCorr.h:43
CaloCellPedestalCorr::CaloCellPedestalCorr
CaloCellPedestalCorr(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloCellPedestalCorr.cxx:31
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
CaloCellPedestalCorr::process
StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
Definition: CaloCellPedestalCorr.cxx:56
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CaloCellPedestalCorr
Definition: CaloCellPedestalCorr.h:22
CaloCellPedShift.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloCellMakerTool.h
CaloBCIDAverage.h
SG::ReadCondHandleKey< CaloCellPedShift >
CaloCellPedestalCorr::initialize
virtual StatusCode initialize() override
Definition: CaloCellPedestalCorr.cxx:42
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloCellPedestalCorr::m_pedShiftKey
SG::ReadCondHandleKey< CaloCellPedShift > m_pedShiftKey
Definition: CaloCellPedestalCorr.h:39
ReadHandle.h
Handle class for reading from StoreGate.
AthAlgTool
Definition: AthAlgTool.h:26
CaloCellPedestalCorr::m_caloBCIDAvg
SG::ReadHandleKey< CaloBCIDAverage > m_caloBCIDAvg
Definition: CaloCellPedestalCorr.h:40
CaloCellPedestalCorr::~CaloCellPedestalCorr
virtual ~CaloCellPedestalCorr()
Definition: CaloCellPedestalCorr.h:30