19#ifndef CbmTrdRawToDigiFitR_H
20#define CbmTrdRawToDigiFitR_H
25#include <RtypesCore.h>
148 void fitResponse(
const std::vector<std::int16_t>* samples);
Base class for extracting of information from raw signals to digi level.
UInt_t fNrOfPresamples
Number of presamples before the signal starts (SPADIC default 2)
void fixExtractionPars()
Fix the extraction parameters to the default values.
void SetFitRange(UInt_t start, UInt_t end)
Set the Fit Range.
virtual void SetBinTimeshift(Double_t value)
Set and fix the Bin Timeshift value.
CbmTrdRawToDigiFitR operator=(const CbmTrdRawToDigiFitR &)
Assignment operator - not implemented!
virtual void SetChargeToMaxAdcCal(Double_t value)
Set the Charge Calibration.
UInt_t fFitRangeStart
First sample that is used for the fit.
CbmTrdRawToDigiFitR(const CbmTrdRawToDigiFitR &)=delete
Copy constructor - not implemented!
ULong64_t GetBinTimeShift(const std::vector< std::int16_t > *)
Get the Bin Time Shift value.
std::shared_ptr< TF1 > GetResponseFunc()
Get the Response Function object.
void fitResponse(const std::vector< std::int16_t > *samples)
Perform the fit of the input signal.
UInt_t fFitRangeEnd
Last sample that is used for the fit.
ClassDef(CbmTrdRawToDigiFitR, 2)
virtual void SetShapingTime(Double_t value)
Set and fix the Shaping Time.
virtual void SetShapingOrder(std::uint8_t value)
Set the Shaping Order.
CbmTrdRawToDigiFitR()
default Constructor with messages
std::shared_ptr< TF1 > fResponseFunc
Response function.
virtual void SetNrOfPresamples(UInt_t value)
Set the Nr Of Presamples.
void fixExtractionPar(CbmTrdSpadic::eResponsePars ipar)
Fix the passed extraction parameter (wrapper function)
virtual ~CbmTrdRawToDigiFitR()
Destructor.
Float_t GetMaxAdcValue(const std::vector< std::int16_t > *)
Get the MaxAdc value.
eResponsePars
enum for response parameters
static std::shared_ptr< TF1 > GetResponseFunc()
Get a TF1 response function object.