19#ifndef CbmTrdRawToDigiMaxAdcR_H
20#define CbmTrdRawToDigiMaxAdcR_H
26#include <RtypesCore.h>
Base class for extracting of information from raw signals to digi level.
friend fscal max(fscal x, fscal y)
friend fscal min(fscal x, fscal y)
UInt_t fNrOfPresamples
Number of presamples before the signal starts (SPADIC default 2)
CbmTrdRawToDigiMaxAdcR(const CbmTrdRawToDigiMaxAdcR &)=delete
Copy constructor - not implemented!
Float_t GetMaxAdcValue(const std::vector< std::int16_t > *samples)
Get the MaxAdc value.
ClassDef(CbmTrdRawToDigiMaxAdcR, 2)
virtual ~CbmTrdRawToDigiMaxAdcR()
Destructor.
size_t fPeakingBinMax
Last sample to look for the max adc Default value is set based on the Shaping time + 5 samples safety...
CbmTrdRawToDigiMaxAdcR()
default Constructor with messages
size_t fPeakingBinMin
First sample to look for the max adc.
CbmTrdRawToDigiMaxAdcR operator=(const CbmTrdRawToDigiMaxAdcR &)
Assignment operator - not implemented!
ULong64_t GetBinTimeShift(const std::vector< std::int16_t > *)
Get the Bin Time Shift value.
void SetPeakingRange(size_t min, size_t max)
Set the peaking range in sample numbers.
static Double_t GetClockCycle()
Get the Clock Cycle.
static Float_t GetShapingTime()
Get the Shaping Time (Spadic default)