ATLAS Offline Software
Loading...
Searching...
No Matches
TileRawCorrelatedNoise.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TILERECUTILS_TILERAWCORRELATEDNOISE_H
6#define TILERECUTILS_TILERAWCORRELATEDNOISE_H
7
8/********************************************************************
9 *
10 * NAME: TileRawCorrelatedNoise
11 * PACKAGE: offline/TileCalorimeter/TileRecUtils
12 *
13 * AUTHOR : F. Veloso
14 * CREATED: 12.07.2010
15 *
16 ********************************************************************/
17
20
21// Atlas includes
25
26// Gaudi includes
27#include "GaudiKernel/ToolHandle.h"
28
29
31
32 public:
33 // constructor
34 TileRawCorrelatedNoise(const std::string& name, ISvcLocator* pSvcLocator);
35 // destructor
37
38 virtual StatusCode initialize();
39 virtual StatusCode execute();
40 virtual StatusCode finalize();
41
42 private:
43
45 "TileDigitsCnt",
46 "Input Tile digits container key"};
47
49 "NewDigitsContainer",
50 "Output Tile digits container key"};
51
52 // RMS threshold
54
55 // file names
58 std::string m_meanFilePrefix;
59
60 // matrices
61 struct AlphaMatrix {
62 float m[4][64][48][48];
63 };
64 std::unique_ptr<AlphaMatrix> m_alphaMatrix;
65 float m_meanSamples[4][64][48][7]{};
66 float m_sample3RMS[4][64][48]{};
67
70
71 ToolHandle<TileCondToolNoiseSample> m_tileToolNoiseSample{this,
72 "TileCondToolNoiseSample", "TileCondToolNoiseSample", "Tile sample noise tool"};
73
74};
75#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::WriteHandleKey< TileDigitsContainer > m_outputDigitsContainerKey
float m_meanSamples[4][64][48][7]
virtual StatusCode initialize()
TileRawCorrelatedNoise(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< TileCondToolNoiseSample > m_tileToolNoiseSample
SG::ReadHandleKey< TileDigitsContainer > m_inputDigitsContainerKey
std::unique_ptr< AlphaMatrix > m_alphaMatrix