MarlinTPC  1.2.0
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
marlintpc::MMPadResponseFunction Class Reference
Inheritance diagram for marlintpc::MMPadResponseFunction:

Public Types

typedef std::vector
< std::vector< std::pair
< double, float > > > 
PointsByRow
 

Public Member Functions

 MMPadResponseFunction (std::string prfType="product", int fitType=MMPadResponseFunction::FIT_MEAN)
 
 MMPadResponseFunction (const MMPadResponseFunction &other)
 
MMPadResponseFunctionoperator= (const MMPadResponseFunction &other)
 
void SetData (std::vector< std::pair< double, float > > &aVec)
 
void SetData (PointsByRow &aVec)
 
void SetType (std::string prfType)
 
void SetFit (int fitType)
 
void SetRestrictDomain (bool rest)
 
void normalizeData (PointsByRow &data)
 
void normalizeData (std::vector< std::pair< double, float > > &data)
 
void SetParameters (const double *x, int nPar)
 
virtual double Up () const
 
double operator() (const std::vector< double > &x) const
 
double operator() (const double *x) const
 
double operator() (const double xx) const
 
void SetErrorDef (double def)
 
double prf (const double c, const double *x) const
 

Static Public Member Functions

static int getNPar (const std::string &type)
 
static std::map< std::string,
std::pair< int, int > > 
generatePRFMap ()
 

Static Public Attributes

static const int FIT_MEAN = 0
 
static const int FIT_PARAMS = 1
 
static const int FIT_BOTH = 2
 
static const int SUM_FIT = 3
 
static const int GAUS_FIT = 4
 
static const int CHI2_MIN = 5
 
static std::map< std::string,
std::pair< int, int > > 
_validPRFs = MMPadResponseFunction::generatePRFMap()
 

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