![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TILERECUTILS_TILERAWCHANNELBUILDERWIENERFILTER_H
6 #define TILERECUTILS_TILERAWCHANNELBUILDERWIENERFILTER_H
70 "TileCondToolNoiseSample",
"TileCondToolNoiseSample",
"Tile noise sample tool"};
73 "BunchCrossingCondDataKey",
"BunchCrossingData" ,
"SG Key of BunchCrossing CDO"};
int m_nConst
internal counters
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
double m_maxTime
max allowed time = 25*(m_nSamples-1)/2
double m_minTime
min allowed time = -25*(m_nSamples-1)/2
int m_nSamples
number of samples in the data
bool m_isMC
bool variable for MC: true=> MC; false=> data
double m_timeForConvergence
minimum time difference to quit iteration procedure
Reconstructs Tile digitized pulses (ie, computes amplitude, time and pedestal) as a linear combinatio...
std::vector< float > m_digits
~TileRawChannelBuilderWienerFilter()
Destructor.
int m_nCenter
internal counters
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
Tool to get distance into bunch train.
int m_nSignal
internal counters
bool m_correctAmplitude
If true, resulting amplitude is corrected when using weights for tau=0 without iteration.
bool m_correctTimeNI
If true, resulting time is corrected when using method without iteration.
virtual StatusCode finalize() override
Finalize method.
double compute(int ros, int drawer, int channel, int gain, double &pedestal, double &litude, double &time, double &phase)
Gets the BCID index within the train.
virtual StatusCode initialize() override
Initialize method.
bool m_minus1Iter
bool variable for whether to apply -1 iteration (initial phase guess)
int findMaxDigitPosition()
Finds maximum digit position in the pulse.
int m_maxIterations
maximum number of iteration to perform
bool m_confTB
use testbeam configuration
TileRawChannelBuilderWienerFilter(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
ToolHandle< TileCondToolNoiseSample > m_tileToolNoiseSample
int m_pedestalMode
pedestal mode to use
float getPedestal(int ros, int drawer, int channel, int gain, const EventContext &ctx)
Computes A,time,ped using OF.
def time(flags, cells_name, *args, **kw)
int m_nNegative
internal counters
double filter(int ros, int drawer, int channel, int &gain, double &pedestal, double &litude, double &time, const EventContext &ctx)
virtual TileRawChannel * rawChannel(const TileDigits *digits, const EventContext &ctx) override
Builder virtual method to be implemented by subclasses.
Replaces the BunchCrossing AlgTool used in run1/2.
int m_t0SamplePosition
position of peak sample = (m_nSamples-1)/2
int getBCIDIndex(const EventContext &ctx)
const TileWienerFilterWeightsStruct * m_weights
structure for Wiener Filter weights