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 24 of file PndSdsFE.h.

Constructor & Destructor Documentation

◆ PndSdsFE() [1/2]

PndSdsFE::PndSdsFE ( )
inline

Definition at line 26 of file PndSdsFE.h.

References CalcTimeOffSet().

29  {
31  };
double fBaselineEpsilon
Definition: PndSdsFE.h:92
double fEventTime
Definition: PndSdsFE.h:94
std::vector< double > fCharge_list
Definition: PndSdsFE.h:101
int i
Definition: PndSdsFE.h:98
ROOT::Math::Interpolator * inter
Definition: PndSdsFE.h:103
void CalcTimeOffSet()
TF1 * fFunction
Definition: PndSdsFE.h:89
double fMaximumAmplitude
Definition: PndSdsFE.h:90
std::vector< double > fTot_list
Definition: PndSdsFE.h:102
double fTimeStep
Definition: PndSdsFE.h:96
double fToF
Definition: PndSdsFE.h:93
int fNumberOfMaxElectons
Definition: PndSdsFE.h:87
double fTimeOffSet
Definition: PndSdsFE.h:95
double fFunctionRange
Definition: PndSdsFE.h:97
PndSdsFEAmpModelSimple * fFrontEndModel
Definition: PndSdsFE.h:84
int fNumberOfSupportPoints
Definition: PndSdsFE.h:86
double fThreshold
Definition: PndSdsFE.h:91
double stepsize
Definition: PndSdsFE.h:99

◆ PndSdsFE() [2/2]

PndSdsFE::PndSdsFE ( PndSdsFE other)
inline

Definition at line 33 of file PndSdsFE.h.

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

37  fCharge_list(other.fCharge_list), fTot_list(other.fTot_list), inter(other.inter){};
double fBaselineEpsilon
Definition: PndSdsFE.h:92
double fEventTime
Definition: PndSdsFE.h:94
std::vector< double > fCharge_list
Definition: PndSdsFE.h:101
int i
Definition: PndSdsFE.h:98
ROOT::Math::Interpolator * inter
Definition: PndSdsFE.h:103
TF1 * fFunction
Definition: PndSdsFE.h:89
double fMaximumAmplitude
Definition: PndSdsFE.h:90
std::vector< double > fTot_list
Definition: PndSdsFE.h:102
double fTimeStep
Definition: PndSdsFE.h:96
double fToF
Definition: PndSdsFE.h:93
int fNumberOfMaxElectons
Definition: PndSdsFE.h:87
double fTimeOffSet
Definition: PndSdsFE.h:95
double fFunctionRange
Definition: PndSdsFE.h:97
PndSdsFEAmpModelSimple * fFrontEndModel
Definition: PndSdsFE.h:84
int fNumberOfSupportPoints
Definition: PndSdsFE.h:86
double fThreshold
Definition: PndSdsFE.h:91
double stepsize
Definition: PndSdsFE.h:99

◆ ~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 47 of file PndSdsFE.h.

References fTimeStep, and SetParameter().

47 { return fTimeStep; }
double fTimeStep
Definition: PndSdsFE.h:96

◆ 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 51 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.

52  {
53  if (this != &other) // protect against invalid self-assignment
54  {
58  fFunction = other.fFunction;
60  fThreshold = other.fThreshold;
62  fToF = other.fToF;
63  fEventTime = other.fEventTime;
64  fTimeOffSet = other.fTimeOffSet;
65  fTimeStep = other.fTimeStep;
67  i = other.i;
68  stepsize = other.stepsize;
69  fCharge_list = other.fCharge_list;
70  fTot_list = other.fTot_list;
71  inter = other.inter;
72  }
73  return *this;
74  };
double fBaselineEpsilon
Definition: PndSdsFE.h:92
double fEventTime
Definition: PndSdsFE.h:94
std::vector< double > fCharge_list
Definition: PndSdsFE.h:101
int i
Definition: PndSdsFE.h:98
ROOT::Math::Interpolator * inter
Definition: PndSdsFE.h:103
TF1 * fFunction
Definition: PndSdsFE.h:89
double fMaximumAmplitude
Definition: PndSdsFE.h:90
std::vector< double > fTot_list
Definition: PndSdsFE.h:102
double fTimeStep
Definition: PndSdsFE.h:96
double fToF
Definition: PndSdsFE.h:93
int fNumberOfMaxElectons
Definition: PndSdsFE.h:87
double fTimeOffSet
Definition: PndSdsFE.h:95
double fFunctionRange
Definition: PndSdsFE.h:97
PndSdsFEAmpModelSimple * fFrontEndModel
Definition: PndSdsFE.h:84
int fNumberOfSupportPoints
Definition: PndSdsFE.h:86
double fThreshold
Definition: PndSdsFE.h:91
double stepsize
Definition: PndSdsFE.h:99

◆ 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 49 of file PndSdsFE.h.

References fThreshold.

49 { fThreshold = threshold; }
double fThreshold
Definition: PndSdsFE.h:91

Member Data Documentation

◆ fBaselineEpsilon

double PndSdsFE::fBaselineEpsilon
protected

Definition at line 92 of file PndSdsFE.h.

Referenced by operator=().

◆ fCharge_list

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

Definition at line 101 of file PndSdsFE.h.

Referenced by operator=().

◆ fEventTime

double PndSdsFE::fEventTime
protected

Definition at line 94 of file PndSdsFE.h.

Referenced by operator=().

◆ fFrontEndModel

PndSdsFEAmpModelSimple* PndSdsFE::fFrontEndModel
protected

Definition at line 84 of file PndSdsFE.h.

Referenced by operator=().

◆ fFunction

TF1* PndSdsFE::fFunction
protected

Definition at line 89 of file PndSdsFE.h.

Referenced by operator=().

◆ fFunctionRange

double PndSdsFE::fFunctionRange
protected

Definition at line 97 of file PndSdsFE.h.

Referenced by operator=().

◆ fMaximumAmplitude

double PndSdsFE::fMaximumAmplitude
protected

Definition at line 90 of file PndSdsFE.h.

Referenced by operator=().

◆ fNumberOfMaxElectons

int PndSdsFE::fNumberOfMaxElectons
protected

Definition at line 87 of file PndSdsFE.h.

Referenced by operator=().

◆ fNumberOfSupportPoints

int PndSdsFE::fNumberOfSupportPoints
protected

Definition at line 86 of file PndSdsFE.h.

Referenced by operator=().

◆ fThreshold

double PndSdsFE::fThreshold
protected

Definition at line 91 of file PndSdsFE.h.

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

◆ fTimeOffSet

double PndSdsFE::fTimeOffSet
protected

Definition at line 95 of file PndSdsFE.h.

Referenced by operator=().

◆ fTimeStep

double PndSdsFE::fTimeStep
protected

Definition at line 96 of file PndSdsFE.h.

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

◆ fToF

double PndSdsFE::fToF
protected

Definition at line 93 of file PndSdsFE.h.

Referenced by operator=().

◆ fTot_list

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

Definition at line 102 of file PndSdsFE.h.

Referenced by operator=().

◆ i

int PndSdsFE::i
protected

Definition at line 98 of file PndSdsFE.h.

Referenced by operator=().

◆ inter

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

Definition at line 103 of file PndSdsFE.h.

Referenced by operator=().

◆ stepsize

double PndSdsFE::stepsize
protected

Definition at line 99 of file PndSdsFE.h.

Referenced by operator=().


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