BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
DifIndepPar Class Reference

#include <DifIndepPar.h>

+ Inheritance diagram for DifIndepPar:

Public Member Functions

 DifIndepPar (int n)
 
 DifIndepPar (const HepVector &a)
 
 DifIndepPar (const HepVector &pvec, const HepSymMatrix &pcov)
 
 DifIndepPar (const DifIndepPar &rhs)
 
DifArray difParameters () const
 
DifNumber difPar (int i) const
 
HepVector & parameter ()
 
const HepVector & parameter () const
 
HepSymMatrix & covariance ()
 
const HepSymMatrix & covariance () const
 
int nPar () const
 
void print (std::ostream &os=std::cout) const
 
void printAll (std::ostream &os=std::cout) const
 
 DifIndepPar (int n)
 
 DifIndepPar (const HepVector &a)
 
 DifIndepPar (const HepVector &pvec, const HepSymMatrix &pcov)
 
 DifIndepPar (const DifIndepPar &rhs)
 
DifArray difParameters () const
 
DifNumber difPar (int i) const
 
HepVector & parameter ()
 
const HepVector & parameter () const
 
HepSymMatrix & covariance ()
 
const HepSymMatrix & covariance () const
 
int nPar () const
 
void print (std::ostream &os=std::cout) const
 
void printAll (std::ostream &os=std::cout) const
 

Detailed Description

Constructor & Destructor Documentation

◆ DifIndepPar() [1/8]

DifIndepPar::DifIndepPar ( int  n)

Definition at line 29 of file DifIndepPar.cxx.

29 :
30 parvec(ndim,0),
31 parcov(ndim,1)
32{}

◆ DifIndepPar() [2/8]

DifIndepPar::DifIndepPar ( const HepVector &  a)

Definition at line 34 of file DifIndepPar.cxx.

34 :
35 parvec(a),
36 parcov(nPar(),1)
37{}

◆ DifIndepPar() [3/8]

DifIndepPar::DifIndepPar ( const HepVector &  pvec,
const HepSymMatrix &  pcov 
)

Definition at line 52 of file DifIndepPar.cxx.

52 :
53 parvec(pvec), parcov(pcov) {
54}

◆ DifIndepPar() [4/8]

DifIndepPar::DifIndepPar ( const DifIndepPar rhs)

Definition at line 39 of file DifIndepPar.cxx.

39 :
40 parvec(rhs.parameter()),
41 parcov(rhs.covariance())
42{}

◆ DifIndepPar() [5/8]

DifIndepPar::DifIndepPar ( int  n)

◆ DifIndepPar() [6/8]

DifIndepPar::DifIndepPar ( const HepVector &  a)

◆ DifIndepPar() [7/8]

DifIndepPar::DifIndepPar ( const HepVector &  pvec,
const HepSymMatrix &  pcov 
)

◆ DifIndepPar() [8/8]

DifIndepPar::DifIndepPar ( const DifIndepPar rhs)

Member Function Documentation

◆ covariance() [1/4]

HepSymMatrix & DifIndepPar::covariance ( )
inline

◆ covariance() [2/4]

HepSymMatrix & DifIndepPar::covariance ( )
inline

◆ covariance() [3/4]

const HepSymMatrix & DifIndepPar::covariance ( ) const
inline

Definition at line 54 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifIndepPar.h.

54{ return parcov;}

◆ covariance() [4/4]

const HepSymMatrix & DifIndepPar::covariance ( ) const
inline

◆ difPar() [1/2]

DifNumber DifIndepPar::difPar ( int  i) const

Definition at line 63 of file DifIndepPar.cxx.

63 {
64 return DifNumber(parvec(i),i,this);
65}

Referenced by difParameters().

◆ difPar() [2/2]

DifNumber DifIndepPar::difPar ( int  i) const

◆ difParameters() [1/2]

DifArray DifIndepPar::difParameters ( ) const

Definition at line 44 of file DifIndepPar.cxx.

44 {
45 DifArray pars(nPar(),nPar());
46 for(int i=1; i<=nPar(); i++){
47 pars(i)=difPar(i);
48 }
49 return pars;
50}
DifNumber difPar(int i) const
Definition: DifIndepPar.cxx:63

◆ difParameters() [2/2]

DifArray DifIndepPar::difParameters ( ) const

◆ nPar() [1/2]

int DifIndepPar::nPar ( ) const
inline

◆ nPar() [2/2]

int DifIndepPar::nPar ( ) const
inline

Definition at line 55 of file Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/MdcRecoUtil/DifIndepPar.h.

55{return parvec.num_row();}

◆ parameter() [1/4]

◆ parameter() [2/4]

HepVector & DifIndepPar::parameter ( )
inline

◆ parameter() [3/4]

const HepVector & DifIndepPar::parameter ( ) const
inline

Definition at line 52 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifIndepPar.h.

52{ return parvec;}

◆ parameter() [4/4]

const HepVector & DifIndepPar::parameter ( ) const
inline

◆ print() [1/2]

void DifIndepPar::print ( std::ostream &  os = std::cout) const

Referenced by operator<<().

◆ print() [2/2]

void DifIndepPar::print ( std::ostream &  os = std::cout) const

◆ printAll() [1/2]

void DifIndepPar::printAll ( std::ostream &  os = std::cout) const

◆ printAll() [2/2]

void DifIndepPar::printAll ( std::ostream &  os = std::cout) const

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