ATLAS Offline Software
TileRawChannelOF1Corrector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 #ifndef TILERECUTILS_TILERAWCHANNELOF1CORRECTOR_H
9 #define TILERECUTILS_TILERAWCHANNELOF1CORRECTOR_H
10 
11 // Tile includes
19 
20 // Atlas includes
23 
24 // Gaudi includes
25 #include "GaudiKernel/ToolHandle.h"
26 
27 
28 // forward declarations
29 class TileRawChannel;
32 class TileHWID;
33 
38 class TileRawChannelOF1Corrector: public extends<AthAlgTool, ITileRawChannelTool> {
39 
40  public:
41 
43  TileRawChannelOF1Corrector(const std::string& type, const std::string& name, const IInterface* parent);
44 
47 
49  virtual StatusCode initialize() override;
51  virtual StatusCode finalize() override;
52 
54  virtual StatusCode process (TileMutableRawChannelContainer& rchCont, const EventContext &ctx) const override;
55 
56 
57  private:
58 
60 
65  "TileSampleNoise", "TileSampleNoise", "Input Tile sample noise"};
70  "TileOnlineSampleNoise", "TileOnlineSampleNoise", "Input online Tile sample noise"};
71 
72  ToolHandle<ITileCondToolOfc> m_tileCondToolOfc{this,
73  "TileCondToolOfc", "TileCondToolOfcCoolOF1", "Tile OFC tool"};
74 
75  ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
76  "TileCondToolTiming", "TileCondToolOnlineTiming", "Tile timing tool"};
77 
82  "TileEMScale", "TileEMScale", "Input Tile EMS calibration constants"};
83 
84  ToolHandle<ITileCondToolDspThreshold> m_tileDspThreshold{this,
85  "TileCondToolDspThreshold", "TileCondToolDspThreshold", "Tile DSP thresholds tool"};
86 
87 
89  "TileDigitsContainer", "TileDigitsCnt", "Input Tile digits container key"};
90 
91 
94 };
95 
96 #endif // TILERECUTILS_TILERAWCHANNELOF1CORRECTOR_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileRawChannelContainer
Definition: TileRawChannelContainer.h:13
TileCondToolOfc.h
TileRawChannelOF1Corrector::m_correctPedestalDifference
bool m_correctPedestalDifference
Definition: TileRawChannelOF1Corrector.h:93
TileEMScale.h
TileRawChannelOF1Corrector::finalize
virtual StatusCode finalize() override
AlgTool finalize method.
Definition: TileRawChannelOF1Corrector.cxx:199
ITileRawChannelTool.h
TileRawChannelOF1Corrector::m_zeroAmplitudeWithoutDigits
bool m_zeroAmplitudeWithoutDigits
Definition: TileRawChannelOF1Corrector.h:92
SG::ReadHandleKey< TileDigitsContainer >
TileCondToolTiming.h
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileRawChannelOF1Corrector::m_emScaleKey
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
Name of TileEMScale in condition store.
Definition: TileRawChannelOF1Corrector.h:81
TileRawChannelOF1Corrector::m_tileToolTiming
ToolHandle< TileCondToolTiming > m_tileToolTiming
Definition: TileRawChannelOF1Corrector.h:75
TileRawChannelOF1Corrector::m_sampleNoiseKey
SG::ReadCondHandleKey< TileSampleNoise > m_sampleNoiseKey
Name of TileSampleNoise in condition store.
Definition: TileRawChannelOF1Corrector.h:64
TileDigitsContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileMutableDataContainer
Helper for holding non-const raw data prior to recording in SG.
Definition: TileMutableDataContainer.h:52
AthAlgTool.h
TileRawChannel
Definition: TileRawChannel.h:35
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TileRawChannelOF1Corrector::m_tileDspThreshold
ToolHandle< ITileCondToolDspThreshold > m_tileDspThreshold
Definition: TileRawChannelOF1Corrector.h:84
TileRawChannelOF1Corrector
This tool correct TileRawChannels amplitudes which came from OF1 DSP if pedestal changed.
Definition: TileRawChannelOF1Corrector.h:38
TileRawChannelOF1Corrector::TileRawChannelOF1Corrector
TileRawChannelOF1Corrector(const std::string &type, const std::string &name, const IInterface *parent)
AlgTool like constructor.
Definition: TileRawChannelOF1Corrector.cxx:20
ITileCondToolDspThreshold.h
TileRawChannelOF1Corrector::~TileRawChannelOF1Corrector
virtual ~TileRawChannelOF1Corrector()
Virtual destructor.
Definition: TileRawChannelOF1Corrector.h:46
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TileRawChannelOF1Corrector::m_tileHWID
const TileHWID * m_tileHWID
Pointer to TileHWID.
Definition: TileRawChannelOF1Corrector.h:59
TileRawChannelOF1Corrector::m_tileCondToolOfc
ToolHandle< ITileCondToolOfc > m_tileCondToolOfc
Definition: TileRawChannelOF1Corrector.h:72
TileRawChannelCollection
Definition: TileRawChannelCollection.h:12
TileRawChannelOF1Corrector::m_onlineSampleNoiseKey
SG::ReadCondHandleKey< TileSampleNoise > m_onlineSampleNoiseKey
Name of online TileSampleNoise in condition store.
Definition: TileRawChannelOF1Corrector.h:69
SG::ReadCondHandleKey< TileSampleNoise >
TileSampleNoise.h
TileRawChannelOF1Corrector::m_digitsContainerKey
SG::ReadHandleKey< TileDigitsContainer > m_digitsContainerKey
Definition: TileRawChannelOF1Corrector.h:88
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileRawChannelOF1Corrector::initialize
virtual StatusCode initialize() override
AlgTool initialize method.
Definition: TileRawChannelOF1Corrector.cxx:31
TileRawChannelOF1Corrector::process
virtual StatusCode process(TileMutableRawChannelContainer &rchCont, const EventContext &ctx) const override
Correct TileRawChannel amplitudes if pedestal changed.
Definition: TileRawChannelOF1Corrector.cxx:74