#include <NeutParams.h>
Inheritance diagram for NeutParams:
Public Types | |
enum | { _d0, _phi0, _p, _z0, _tanDip, _s0, _nneutprm = 6 } |
enum | { _d0, _phi0, _p, _z0, _tanDip, _s0, _nneutprm = 6 } |
Public Member Functions | |
double | arcRatio () const |
double | arcRatio () const |
virtual TrkParams * | clone () const |
virtual TrkParams * | clone () const |
double | cosPhi0 () const |
double | cosPhi0 () const |
const HepSymMatrix & | covariance () const |
HepSymMatrix & | covariance () |
const HepSymMatrix & | covariance () const |
HepSymMatrix & | covariance () |
double | d0 () const |
double & | d0 () |
double | d0 () const |
double & | d0 () |
DifNumber | difPar (int i) const |
DifNumber | difPar (int i) const |
DifArray | difParameters () const |
DifArray | difParameters () const |
NeutParams (const NeutParams &old) | |
NeutParams (double, double, double, double, double, double) | |
NeutParams (const HepVector &, const HepSymMatrix &) | |
NeutParams (const NeutParams &old) | |
NeutParams (double, double, double, double, double, double) | |
NeutParams (const HepVector &, const HepSymMatrix &) | |
int | nPar () const |
int | nPar () const |
double | p () const |
double & | p () |
double | p () const |
double & | p () |
const HepVector & | parameter () const |
HepVector & | parameter () |
const HepVector & | parameter () const |
HepVector & | parameter () |
double | phi0 () const |
double & | phi0 () |
double | phi0 () const |
double & | phi0 () |
void | print (std::ostream &os=std::cout) const |
void | print (std::ostream &os=std::cout) const |
void | printAll (std::ostream &os) const |
void | printAll (std::ostream &os) const |
double | s0 () const |
double & | s0 () |
double | s0 () const |
double & | s0 () |
double | sinPhi0 () const |
double | sinPhi0 () const |
double | tanDip () const |
double & | tanDip () |
double | tanDip () const |
double & | tanDip () |
const HepSymMatrix & | weightMatrix () const |
const HepSymMatrix & | weightMatrix () const |
double | z0 () const |
double & | z0 () |
double | z0 () const |
double & | z0 () |
~NeutParams () | |
~NeutParams () | |
Friends | |
class | NeutTraj |
|
00033 {_d0, _phi0, _p, _z0, _tanDip, _s0,_nneutprm = 6};
|
|
00033 {_d0, _phi0, _p, _z0, _tanDip, _s0,_nneutprm = 6};
|
|
00019 : 00020 TrkParams(pvec,pcov){ 00021 //------------------------------------------------------------------------ 00022 00023 // Make sure the dimensions of the input matrix and vector are correct 00024 00025 if( pvec.num_row() != _nneutprm || 00026 pcov.num_row() != _nneutprm ){ 00027 cout<<"ErrMsg(error)" << 00028 "NeutParams: incorrect constructor vector/matrix dimension" << endl; 00029 parameter() = HepVector(_nneutprm,0); 00030 covariance() = HepSymMatrix(_nneutprm,0); 00031 } 00032 }
|
|
00037 : 00038 //------------------------------------------------------------------------ 00039 TrkParams(_nneutprm) { 00040 d0() = n_d0; 00041 phi0() = n_phi0; 00042 p() = n_p; 00043 z0() = n_z0; 00044 s0() = n_s0; 00045 tanDip() = n_tanDip; 00046 }
|
|
00051 : 00052 //------------------------------------------------------------------------ 00053 TrkParams(old){ 00054 } //------------------------------------------------------------------------
|
|
00078 {}
|
|
|
|
|
|
|
|
|
|
|
|
00071 { 00072 //------------------------------------------------------------------------ 00073 return sqrt(1. + parameter()[_tanDip] * parameter()[_tanDip]); 00074 }
|
|
|
|
00045 { 00046 //-------------------------------------- 00047 return new TrkParams(*this); 00048 }
|
|
|
|
00064 { 00065 //------------------------------------------------------------------------ 00066 return cos(parameter()[_phi0]); 00067 }
|
|
Reimplemented from DifIndepPar. 00045 { return DifIndepPar::covariance(); }
|
|
Reimplemented from DifIndepPar. |
|
Reimplemented from DifIndepPar. 00045 { return DifIndepPar::covariance(); }
|
|
Reimplemented from DifIndepPar. 00055 { 00056 _weightInverted=false ; 00057 return DifIndepPar::covariance(); 00058 }
|
|
00044 { return parameter()[_d0]; }
|
|
00037 { return parameter()[_d0]; }
|
|
00044 { return parameter()[_d0]; }
|
|
00037 { return parameter()[_d0]; }
|
|
|
|
|
|
|
|
00044 { 00045 DifArray pars(nPar(),nPar()); 00046 for(int i=1; i<=nPar(); i++){ 00047 pars(i)=difPar(i); 00048 } 00049 return pars; 00050 }
|
|
00055 {return parvec.num_row();}
|
|
00055 {return parvec.num_row();}
|
|
00046 { return parameter()[_p]; }
|
|
00039 { return parameter()[_p]; }
|
|
00046 { return parameter()[_p]; }
|
|
00039 { return parameter()[_p]; }
|
|
00052 { return parvec;}
|
|
00051 { return parvec;}
|
|
00052 { return parvec;}
|
|
00051 { return parvec;}
|
|
00045 { return parameter()[_phi0]; }
|
|
00038 { return parameter()[_phi0]; }
|
|
00045 { return parameter()[_phi0]; }
|
|
00038 { return parameter()[_phi0]; }
|
|
|
|
00069 { 00070 //-------------------------------------- 00071 os << "DifIndepPar Parameter Vector = " << parvec; 00072 }
|
|
Reimplemented from DifIndepPar. |
|
Reimplemented from DifIndepPar. 00069 { 00070 //-------------------------------------- 00071 DifIndepPar::printAll(os); 00072 }
|
|
00049 { return parameter()[_s0]; }
|
|
00042 { return parameter()[_s0]; }
|
|
00049 { return parameter()[_s0]; }
|
|
00042 { return parameter()[_s0]; }
|
|
|
|
00057 { 00058 //------------------------------------------------------------------------ 00059 return sin(parameter()[_phi0]); 00060 }
|
|
00048 { return parameter()[_tanDip]; }
|
|
00041 { return parameter()[_tanDip]; }
|
|
00048 { return parameter()[_tanDip]; }
|
|
00041 { return parameter()[_tanDip]; }
|
|
|
|
00075 { 00076 00077 if (!_weightInverted){ 00078 _weightMatrix = covariance(); 00079 int invStatus; 00080 _weightMatrix.invert(invStatus); 00081 _weightInverted = true; 00082 } 00083 return _weightMatrix; 00084 00085 }
|
|
00047 { return parameter()[_z0]; }
|
|
00040 { return parameter()[_z0]; }
|
|
00047 { return parameter()[_z0]; }
|
|
00040 { return parameter()[_z0]; }
|
|
|