PandaRoot
PndSdsFE Class Reference

#include <PndSdsFE.h>

Inheritance diagram for PndSdsFE:
PndSdsFESimple

Public Member Functions

 PndSdsFE ()
 
 PndSdsFE (PndSdsFE &other)
 
virtual ~PndSdsFE ()
 
virtual double GetTotFromCharge (Double_t charge)
 
virtual double GetChargeFromTot (double tot)
 
virtual double GetTimeWalkFromCharge (double charge)
 
virtual double GetTimeWalkFromTot (double tot)
 
virtual double GetTimeBackToBaseline (double charge)
 
virtual double GetTimeStamp (double eventtime, double tof, double charge)
 
virtual double GetTimeStep ()
 
virtual void SetParameter (TString parName, double parValue)
 
virtual void SetThreshold (double threshold)
 
PndSdsFEoperator= (PndSdsFE &other)
 

Protected Member Functions

double DigitizeTime (double time)
 
void CalcTimeOffSet ()
 
void CreateInterpolatorList ()
 
void SaveInterpolatorList (std::vector< double > charge, std::vector< double > tot)
 
void LoadInterpolatorList ()
 
void GetInterpolatorList ()
 

Protected Attributes

PndSdsFEAmpModelSimplefFrontEndModel
 
int fNumberOfSupportPoints
 
int fNumberOfMaxElectons
 
TF1 * fFunction
 
double fMaximumAmplitude
 
double fThreshold
 
double fBaselineEpsilon
 
double fToF
 
double fEventTime
 
double fTimeOffSet
 
double fTimeStep
 
double fFunctionRange
 
int i
 
double stepsize
 
std::vector< double > fCharge_list
 
std::vector< double > fTot_list
 
ROOT::Math::Interpolator * inter
 

Detailed Description

Definition at line 36 of file PndSdsFE.h.

Constructor & Destructor Documentation

◆ PndSdsFE() [1/2]

PndSdsFE::PndSdsFE ( )
inline

Definition at line 38 of file PndSdsFE.h.

References CalcTimeOffSet().

41  {
43  };
double fBaselineEpsilon
Definition: PndSdsFE.h:104
double fEventTime
Definition: PndSdsFE.h:106
std::vector< double > fCharge_list
Definition: PndSdsFE.h:113
int i
Definition: PndSdsFE.h:110
ROOT::Math::Interpolator * inter
Definition: PndSdsFE.h:115
void CalcTimeOffSet()
TF1 * fFunction
Definition: PndSdsFE.h:101
double fMaximumAmplitude
Definition: PndSdsFE.h:102
std::vector< double > fTot_list
Definition: PndSdsFE.h:114
double fTimeStep
Definition: PndSdsFE.h:108
double fToF
Definition: PndSdsFE.h:105
int fNumberOfMaxElectons
Definition: PndSdsFE.h:99
double fTimeOffSet
Definition: PndSdsFE.h:107
double fFunctionRange
Definition: PndSdsFE.h:109
PndSdsFEAmpModelSimple * fFrontEndModel
Definition: PndSdsFE.h:96
int fNumberOfSupportPoints
Definition: PndSdsFE.h:98
double fThreshold
Definition: PndSdsFE.h:103
double stepsize
Definition: PndSdsFE.h:111

◆ PndSdsFE() [2/2]

PndSdsFE::PndSdsFE ( PndSdsFE other)
inline

Definition at line 45 of file PndSdsFE.h.

References GetChargeFromTot(), GetTimeBackToBaseline(), GetTimeStamp(), GetTimeWalkFromCharge(), GetTimeWalkFromTot(), GetTotFromCharge(), and ~PndSdsFE().

49  fCharge_list(other.fCharge_list), fTot_list(other.fTot_list), inter(other.inter){};
double fBaselineEpsilon
Definition: PndSdsFE.h:104
double fEventTime
Definition: PndSdsFE.h:106
std::vector< double > fCharge_list
Definition: PndSdsFE.h:113
int i
Definition: PndSdsFE.h:110
ROOT::Math::Interpolator * inter
Definition: PndSdsFE.h:115
TF1 * fFunction
Definition: PndSdsFE.h:101
double fMaximumAmplitude
Definition: PndSdsFE.h:102
std::vector< double > fTot_list
Definition: PndSdsFE.h:114
double fTimeStep
Definition: PndSdsFE.h:108
double fToF
Definition: PndSdsFE.h:105
int fNumberOfMaxElectons
Definition: PndSdsFE.h:99
double fTimeOffSet
Definition: PndSdsFE.h:107
double fFunctionRange
Definition: PndSdsFE.h:109
PndSdsFEAmpModelSimple * fFrontEndModel
Definition: PndSdsFE.h:96
int fNumberOfSupportPoints
Definition: PndSdsFE.h:98
double fThreshold
Definition: PndSdsFE.h:103
double stepsize
Definition: PndSdsFE.h:111

◆ ~PndSdsFE()

virtual PndSdsFE::~PndSdsFE ( )
virtual

Referenced by PndSdsFE().

Member Function Documentation

◆ CalcTimeOffSet()

void PndSdsFE::CalcTimeOffSet ( )
protected

Referenced by operator=(), and PndSdsFE().

◆ CreateInterpolatorList()

void PndSdsFE::CreateInterpolatorList ( )
protected

Referenced by operator=().

◆ DigitizeTime()

double PndSdsFE::DigitizeTime ( double  time)
protected

Referenced by operator=().

◆ GetChargeFromTot()

virtual double PndSdsFE::GetChargeFromTot ( double  tot)
virtual

Referenced by PndSdsFE().

◆ GetInterpolatorList()

void PndSdsFE::GetInterpolatorList ( )
protected

Referenced by operator=().

◆ GetTimeBackToBaseline()

virtual double PndSdsFE::GetTimeBackToBaseline ( double  charge)
virtual

Referenced by PndSdsFE().

◆ GetTimeStamp()

virtual double PndSdsFE::GetTimeStamp ( double  eventtime,
double  tof,
double  charge 
)
virtual

Referenced by PndSdsFE().

◆ GetTimeStep()

virtual double PndSdsFE::GetTimeStep ( )
inlinevirtual

Definition at line 59 of file PndSdsFE.h.

References fTimeStep, and SetParameter().

59 { return fTimeStep; }
double fTimeStep
Definition: PndSdsFE.h:108

◆ GetTimeWalkFromCharge()

virtual double PndSdsFE::GetTimeWalkFromCharge ( double  charge)
virtual

Referenced by PndSdsFE().

◆ GetTimeWalkFromTot()

virtual double PndSdsFE::GetTimeWalkFromTot ( double  tot)
virtual

Referenced by PndSdsFE().

◆ GetTotFromCharge()

virtual double PndSdsFE::GetTotFromCharge ( Double_t  charge)
virtual

Referenced by PndSdsFE().

◆ LoadInterpolatorList()

void PndSdsFE::LoadInterpolatorList ( )
protected

Referenced by operator=().

◆ operator=()

PndSdsFE& PndSdsFE::operator= ( PndSdsFE other)
inline

Definition at line 63 of file PndSdsFE.h.

References CalcTimeOffSet(), CreateInterpolatorList(), DigitizeTime(), fBaselineEpsilon, fCharge_list, fEventTime, fFrontEndModel, fFunction, fFunctionRange, fMaximumAmplitude, fNumberOfMaxElectons, fNumberOfSupportPoints, fThreshold, fTimeOffSet, fTimeStep, fToF, fTot_list, GetInterpolatorList(), i, inter, LoadInterpolatorList(), SaveInterpolatorList(), and stepsize.

64  {
65  if (this != &other) // protect against invalid self-assignment
66  {
70  fFunction = other.fFunction;
72  fThreshold = other.fThreshold;
74  fToF = other.fToF;
75  fEventTime = other.fEventTime;
76  fTimeOffSet = other.fTimeOffSet;
77  fTimeStep = other.fTimeStep;
79  i = other.i;
80  stepsize = other.stepsize;
81  fCharge_list = other.fCharge_list;
82  fTot_list = other.fTot_list;
83  inter = other.inter;
84  }
85  return *this;
86  };
double fBaselineEpsilon
Definition: PndSdsFE.h:104
double fEventTime
Definition: PndSdsFE.h:106
std::vector< double > fCharge_list
Definition: PndSdsFE.h:113
int i
Definition: PndSdsFE.h:110
ROOT::Math::Interpolator * inter
Definition: PndSdsFE.h:115
TF1 * fFunction
Definition: PndSdsFE.h:101
double fMaximumAmplitude
Definition: PndSdsFE.h:102
std::vector< double > fTot_list
Definition: PndSdsFE.h:114
double fTimeStep
Definition: PndSdsFE.h:108
double fToF
Definition: PndSdsFE.h:105
int fNumberOfMaxElectons
Definition: PndSdsFE.h:99
double fTimeOffSet
Definition: PndSdsFE.h:107
double fFunctionRange
Definition: PndSdsFE.h:109
PndSdsFEAmpModelSimple * fFrontEndModel
Definition: PndSdsFE.h:96
int fNumberOfSupportPoints
Definition: PndSdsFE.h:98
double fThreshold
Definition: PndSdsFE.h:103
double stepsize
Definition: PndSdsFE.h:111

◆ SaveInterpolatorList()

void PndSdsFE::SaveInterpolatorList ( std::vector< double >  charge,
std::vector< double >  tot 
)
protected

Referenced by operator=().

◆ SetParameter()

virtual void PndSdsFE::SetParameter ( TString  parName,
double  parValue 
)
virtual

Referenced by GetTimeStep().

◆ SetThreshold()

virtual void PndSdsFE::SetThreshold ( double  threshold)
inlinevirtual

Definition at line 61 of file PndSdsFE.h.

References fThreshold.

61 { fThreshold = threshold; }
double fThreshold
Definition: PndSdsFE.h:103

Member Data Documentation

◆ fBaselineEpsilon

double PndSdsFE::fBaselineEpsilon
protected

Definition at line 104 of file PndSdsFE.h.

Referenced by operator=().

◆ fCharge_list

std::vector<double> PndSdsFE::fCharge_list
protected

Definition at line 113 of file PndSdsFE.h.

Referenced by operator=().

◆ fEventTime

double PndSdsFE::fEventTime
protected

Definition at line 106 of file PndSdsFE.h.

Referenced by operator=().

◆ fFrontEndModel

PndSdsFEAmpModelSimple* PndSdsFE::fFrontEndModel
protected

Definition at line 96 of file PndSdsFE.h.

Referenced by operator=().

◆ fFunction

TF1* PndSdsFE::fFunction
protected

Definition at line 101 of file PndSdsFE.h.

Referenced by operator=().

◆ fFunctionRange

double PndSdsFE::fFunctionRange
protected

Definition at line 109 of file PndSdsFE.h.

Referenced by operator=().

◆ fMaximumAmplitude

double PndSdsFE::fMaximumAmplitude
protected

Definition at line 102 of file PndSdsFE.h.

Referenced by operator=().

◆ fNumberOfMaxElectons

int PndSdsFE::fNumberOfMaxElectons
protected

Definition at line 99 of file PndSdsFE.h.

Referenced by operator=().

◆ fNumberOfSupportPoints

int PndSdsFE::fNumberOfSupportPoints
protected

Definition at line 98 of file PndSdsFE.h.

Referenced by operator=().

◆ fThreshold

double PndSdsFE::fThreshold
protected

Definition at line 103 of file PndSdsFE.h.

Referenced by operator=(), and SetThreshold().

◆ fTimeOffSet

double PndSdsFE::fTimeOffSet
protected

Definition at line 107 of file PndSdsFE.h.

Referenced by operator=().

◆ fTimeStep

double PndSdsFE::fTimeStep
protected

Definition at line 108 of file PndSdsFE.h.

Referenced by GetTimeStep(), and operator=().

◆ fToF

double PndSdsFE::fToF
protected

Definition at line 105 of file PndSdsFE.h.

Referenced by operator=().

◆ fTot_list

std::vector<double> PndSdsFE::fTot_list
protected

Definition at line 114 of file PndSdsFE.h.

Referenced by operator=().

◆ i

int PndSdsFE::i
protected

Definition at line 110 of file PndSdsFE.h.

Referenced by operator=().

◆ inter

ROOT::Math::Interpolator* PndSdsFE::inter
protected

Definition at line 115 of file PndSdsFE.h.

Referenced by operator=().

◆ stepsize

double PndSdsFE::stepsize
protected

Definition at line 111 of file PndSdsFE.h.

Referenced by operator=().


The documentation for this class was generated from the following file: