ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15class CaloCondBlobFlt;
16class CaloCell;
17class CaloCell_ID;
18
20 virtual public ICaloCellMakerTool
21
22{
23
24public:
25
26 CaloCellPedestalCorr(const std::string& type,
27 const std::string& name,
28 const IInterface* parent);
29
31
32 virtual StatusCode initialize() override;
33
34 StatusCode process( CaloCellContainer * theCellContainer,
35 const EventContext& ctx) const override;
36
37private:
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;
45};
46
47#endif
Handle class for reading from StoreGate.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Container class for CaloCell.
SG::ReadHandleKey< CaloBCIDAverage > m_caloBCIDAvg
CaloCellPedestalCorr(const std::string &type, const std::string &name, const IInterface *parent)
const CaloCell_ID * m_cellId
Gaudi::Property< bool > m_isMC
virtual StatusCode initialize() override
SG::ReadCondHandleKey< CaloCellPedShift > m_pedShiftKey
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
Class for storing a number of floats (Flt) and functions on those.
This is a "hash" representation of an Identifier.
Property holding a SG store/key/clid from which a ReadHandle is made.
const std::string process