ATLAS Offline Software
Loading...
Searching...
No Matches
TileCondToolNoiseRawChn.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TILECONDITIONS_TILECONDTOOLNOISERAWCHN_H
6#define TILECONDITIONS_TILECONDTOOLNOISERAWCHN_H
7
8// Tile includes
13
14// Athena includes
17
18
20 , virtual public ITileCondToolNoise {
21 public:
22
23 static const InterfaceID& interfaceID();
24
25 TileCondToolNoiseRawChn(const std::string& type, const std::string& name, const IInterface* parent);
26
28
29 virtual StatusCode initialize() override;
30 virtual StatusCode finalize() override;
31
32 float getElectronicNoise(unsigned int drawerIdx, unsigned int channel, unsigned int adc,
33 TileRawChannelUnit::UNIT unit, const EventContext &ctx) const;
34
35 float getPileUpNoise(unsigned int drawerIdx, unsigned int channel, unsigned int adc, const EventContext &ctx) const;
36
37 virtual
38 float getNoise(unsigned int drawerIdx, unsigned int channel, unsigned int adc,
39 TileRawChannelUnit::UNIT unit, const EventContext &ctx) const override
40 {
41 return getElectronicNoise(drawerIdx, channel, adc, unit, ctx);
42 }
43
44 private:
45
47 "TileRawChannelNoise", "TileRawChannelNoise", "Input Tile raw channel noise constants"};
48
50 "TileEMScale", "TileEMScale", "Input Tile EMS conditions"};
51
52};
53
54#endif
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
static const InterfaceID & interfaceID()
float getPileUpNoise(unsigned int drawerIdx, unsigned int channel, unsigned int adc, const EventContext &ctx) const
virtual StatusCode initialize() override
float getElectronicNoise(unsigned int drawerIdx, unsigned int channel, unsigned int adc, TileRawChannelUnit::UNIT unit, const EventContext &ctx) const
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
virtual StatusCode finalize() override
TileCondToolNoiseRawChn(const std::string &type, const std::string &name, const IInterface *parent)
virtual float getNoise(unsigned int drawerIdx, unsigned int channel, unsigned int adc, TileRawChannelUnit::UNIT unit, const EventContext &ctx) const override
SG::ReadCondHandleKey< TileCalibDataFlt > m_calibRawChannelNoiseKey