Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

StableChargedParticle Class Reference

Represents charged particles with (E, eta, phi) in kinematic fits. More...

#include <StableChargedParticle.h>

List of all members.

Public Member Functions

 StableChargedParticle ()
virtual ~StableChargedParticle ()
virtual void addToDerivatives (double der[], int idim, double pxfact=0, double pyfact=0, double pzfact=0, double efact=0) const
virtual void addTo2ndDerivatives (double der2[], int idim, double pxfact, double pyfact, double pzfact, double efact) const
virtual void setCovMatrix (double values[NMEAS *(NMEAS+1)/2])
virtual double getChi2 () const
virtual double getDChi2DParam (int ilocal) const
virtual double getD2Chi2DParam2 (int ilocal1, int ilocal2) const
virtual void addToGlobalChi2DerMatrix (int idim, double *M) const
virtual void addToGlobalDerMatrix (int idim, double c, double *M) const
virtual void addToGlobCov (double *cov, int idim) const
virtual void invalidateCache () const

Protected Types

enum  { NPAR = 6 }
enum  { NMEAS = 5 }

Protected Member Functions

void updateCache () const
void setVertex (FitThreeVector &v, FitThreeVector dv[NPAR], int n, double s) const

Protected Attributes

double mass
double bfield
bool cachevalid
double chi2
double r
double sphi0
double cphi0
double dcamir
double cottheta
double cos2theta
double resid [NMEAS]
double cov [NMEAS][NMEAS]
double covinv [NMEAS][NMEAS]
FitThreeVector v1
 start vertex

FitThreeVector dv1 [NPAR]
 derivatives of start vertex


Detailed Description

Represents charged particles with (E, eta, phi) in kinematic fits.

Author: Jenny List, Benno List Last update:

Date
2007/09/14 10:58:42
by:
Author
blist

Definition at line 34 of file StableChargedParticle.h.


Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
NPAR 

Definition at line 79 of file StableChargedParticle.h.

anonymous enum [protected]
 

Enumeration values:
NMEAS 

Definition at line 80 of file StableChargedParticle.h.


Constructor & Destructor Documentation

StableChargedParticle::StableChargedParticle  ) 
 

StableChargedParticle::~StableChargedParticle  )  [virtual]
 

Definition at line 42 of file StableChargedParticle.C.


Member Function Documentation

void StableChargedParticle::addTo2ndDerivatives double  der2[],
int  idim,
double  pxfact,
double  pyfact,
double  pzfact,
double  efact
const [virtual]
 

Definition at line 90 of file StableChargedParticle.C.

References cachevalid, mass, and updateCache().

void StableChargedParticle::addToDerivatives double  der[],
int  idim,
double  pxfact = 0,
double  pyfact = 0,
double  pzfact = 0,
double  efact = 0
const [virtual]
 

Definition at line 48 of file StableChargedParticle.C.

References cachevalid, and updateCache().

void StableChargedParticle::addToGlobalChi2DerMatrix int  idim,
double *  M
const [virtual]
 

Definition at line 156 of file StableChargedParticle.C.

void StableChargedParticle::addToGlobalDerMatrix int  idim,
double  c,
double *  M
const [virtual]
 

Definition at line 167 of file StableChargedParticle.C.

void StableChargedParticle::addToGlobCov double *  cov,
int  idim
const [virtual]
 

Definition at line 210 of file StableChargedParticle.C.

References NPAR.

double StableChargedParticle::getChi2  )  const [virtual]
 

Definition at line 151 of file StableChargedParticle.C.

References cachevalid, chi2, and updateCache().

double StableChargedParticle::getD2Chi2DParam2 int  ilocal1,
int  ilocal2
const [virtual]
 

Definition at line 184 of file StableChargedParticle.C.

References covinv, NMEAS, and NPAR.

double StableChargedParticle::getDChi2DParam int  ilocal  )  const [virtual]
 

Definition at line 175 of file StableChargedParticle.C.

References cachevalid, covinv, NMEAS, NPAR, resid, and updateCache().

void StableChargedParticle::invalidateCache  )  const [virtual]
 

Definition at line 220 of file StableChargedParticle.C.

References cachevalid.

void StableChargedParticle::setCovMatrix double  values[NMEAS *(NMEAS+1)/2]  )  [virtual]
 

Definition at line 191 of file StableChargedParticle.C.

References covinv, and dsinv().

void StableChargedParticle::setVertex FitThreeVector &  v,
FitThreeVector  dv[NPAR],
int  n,
double  s
const [protected]
 

Definition at line 251 of file StableChargedParticle.C.

References cos2theta, cottheta, cphi0, dcamir, r, and sphi0.

Referenced by updateCache().

void StableChargedParticle::updateCache  )  const [protected]
 

Definition at line 224 of file StableChargedParticle.C.

References cachevalid, chi2, cos2theta, cottheta, covinv, cphi0, dcamir, dv1, NMEAS, r, resid, setVertex(), sphi0, and v1.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getChi2(), and getDChi2DParam().


Member Data Documentation

double StableChargedParticle::bfield [protected]
 

Definition at line 83 of file StableChargedParticle.h.

bool StableChargedParticle::cachevalid [mutable, protected]
 

Definition at line 85 of file StableChargedParticle.h.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getChi2(), getDChi2DParam(), invalidateCache(), and updateCache().

double StableChargedParticle::chi2 [mutable, protected]
 

Definition at line 87 of file StableChargedParticle.h.

Referenced by getChi2(), and updateCache().

double StableChargedParticle::cos2theta [mutable, protected]
 

Definition at line 88 of file StableChargedParticle.h.

Referenced by setVertex(), and updateCache().

double StableChargedParticle::cottheta [mutable, protected]
 

Definition at line 88 of file StableChargedParticle.h.

Referenced by setVertex(), and updateCache().

double StableChargedParticle::cov[NMEAS][NMEAS] [protected]
 

Definition at line 90 of file StableChargedParticle.h.

double StableChargedParticle::covinv[NMEAS][NMEAS] [protected]
 

Definition at line 91 of file StableChargedParticle.h.

Referenced by getD2Chi2DParam2(), getDChi2DParam(), setCovMatrix(), and updateCache().

double StableChargedParticle::cphi0 [mutable, protected]
 

Definition at line 88 of file StableChargedParticle.h.

Referenced by setVertex(), and updateCache().

double StableChargedParticle::dcamir [mutable, protected]
 

Definition at line 88 of file StableChargedParticle.h.

Referenced by setVertex(), and updateCache().

FitThreeVector StableChargedParticle::dv1[NPAR] [mutable, protected]
 

derivatives of start vertex

Definition at line 93 of file StableChargedParticle.h.

Referenced by updateCache().

double StableChargedParticle::mass [protected]
 

Definition at line 82 of file StableChargedParticle.h.

Referenced by addTo2ndDerivatives().

double StableChargedParticle::r [mutable, protected]
 

Definition at line 88 of file StableChargedParticle.h.

Referenced by setVertex(), and updateCache().

double StableChargedParticle::resid[NMEAS] [mutable, protected]
 

Definition at line 89 of file StableChargedParticle.h.

Referenced by getDChi2DParam(), and updateCache().

double StableChargedParticle::sphi0 [mutable, protected]
 

Definition at line 88 of file StableChargedParticle.h.

Referenced by setVertex(), and updateCache().

FitThreeVector StableChargedParticle::v1 [mutable, protected]
 

start vertex

Definition at line 92 of file StableChargedParticle.h.

Referenced by updateCache().


The documentation for this class was generated from the following files:
Generated on Fri Sep 14 17:38:38 2007 for Kinfit by doxygen 1.3.2