![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef TILERECUTILS_TILECELLNOISEFILTER_H
9 #define TILERECUTILS_TILECELLNOISEFILTER_H
24 #include "GaudiKernel/ToolHandle.h"
25 #include "GaudiKernel/ServiceHandle.h"
59 const EventContext& ctx)
const override;
91 "TileEMScale",
"TileEMScale",
"Input Tile EMS calibration constants"};
97 "TileSampleNoise",
"TileSampleNoise",
"Input Tile sample noise"};
101 "CaloNoise object to read, or null to use the DB directly"};
104 "TileBadChanTool",
"TileBadChanTool",
"Tile bad channel tool"};
117 #endif // TILERECUTILS_TILECELLNOISEFILTER_H
const TileHWID * m_tileHWID
Pointer to TileHWID.
Condition object to keep calibration factors of TileCal channels.
static const int s_maxMOB
StatusCode finalize() override
AlgTool finalize method.
virtual ~TileCellNoiseFilter()
Virtual destructor.
Condition object to keep and provide Tile sample noise.
float m_minimumNumberOfTruncatedChannels
float m_truncationThresholdOnAbsEinSigma
TileCellNoiseFilter(const std::string &type, const std::string &name, const IInterface *parent)
AlgTool like constructor.
static const CaloCell_ID::SUBCALO s_caloIndex
static const int s_maxChannel
static const int s_maxDrawer
Helper class for TileCal online (hardware) identifiers.
StatusCode initialize() override
AlgTool initialize method.
SG::ReadCondHandleKey< TileSampleNoise > m_sampleNoiseKey
Name of TileSampleNoise in condition store.
Helper class for TileCal offline identifiers.
::StatusCode StatusCode
StatusCode definition for legacy code.
SUBCALO
enumeration of sub calorimeters
This tool subtracts common-mode noise from all TileCells.
void setCMSEnergy(const TileEMScale *emScale, const cmdata_t &commonMode, TileCell *cell) const
float getCMShift(const cmdata_t &commonMode, int partition, int drawer, int channel) const
static const int s_maxPartition
SG::ReadCondHandleKey< CaloNoise > m_caloNoiseKey
Container class for CaloCell.
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
Name of TileEMScale in condition store.
float cmdata_t[s_maxPartition][s_maxDrawer][s_maxMOB]
virtual StatusCode process(CaloCellContainer *cellcoll, const EventContext &ctx) const override
proceed the coherent noise subtraction algorithm and correct Tile cell energies
const TileID * m_tileID
Pointer to TileID.
ToolHandle< ITileBadChanTool > m_tileBadChanTool
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
int calcCM(const CaloNoise *caloNoise, const TileSampleNoise *sampleNoise, const TileEMScale *emScale, const CaloCellContainer *cellcoll, cmdata_t &commonMode) const