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

JetFitObject Class Reference

Class for jets with (E, eta, phi) in kinematic fits. More...

#include <JetFitObject.h>

Inheritance diagram for JetFitObject:

Inheritance graph
[legend]
Collaboration diagram for JetFitObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JetFitObject (double E, double theta, double phi, double DE, double Dtheta, double Dphi, double m=0)
virtual ~JetFitObject ()
virtual const char * getParamName (int ilocal) const
 Get name of parameter ilocal.

virtual double getPx () const
 these depend on actual parametrisation!

virtual double getPy () const
virtual double getPz () const
virtual double getE () const
virtual double getP () const
virtual double getP2 () const
virtual double getPt () const
virtual double getPt2 () const
virtual double getDPx (int ilocal) const
virtual double getDPy (int ilocal) const
virtual double getDPz (int ilocal) const
virtual double getDE (int ilocal) const
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 addToGlobalDerMatrix (int idim, double c, double *M) const
 Add derivatives to global covariance matrix.

virtual void invalidateCache () const
 invalidate any cached quantities


Protected Member Functions

virtual void initCov ()
void updateCache () const

Protected Attributes

bool cachevalid
double ctheta
double stheta
double cphi
double sphi
double p2
double p
double pt
double px
double py
double pz
double dpdE
double dptdE
double dpxdE
double dpydE
double dpzdE
double dpxdtheta
double dpydtheta
double chi2

Detailed Description

Class for jets with (E, eta, phi) in kinematic fits.

Author: Jenny List, Benno List

Date
2007/09/13 08:09:50
Author
blist

Changelog:

Definition at line 33 of file JetFitObject.h.


Constructor & Destructor Documentation

JetFitObject::JetFitObject double  E,
double  theta,
double  phi,
double  DE,
double  Dtheta,
double  Dphi,
double  m = 0
 

Definition at line 24 of file JetFitObject.C.

References initCov(), invalidateCache(), ParticleFitObject::setError(), ParticleFitObject::setMass(), ParticleFitObject::setMParam(), and ParticleFitObject::setParam().

JetFitObject::~JetFitObject  )  [virtual]
 

Definition at line 42 of file JetFitObject.C.


Member Function Documentation

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

add second order derivatives to matrix der2 of size idim x idim pxfact*d^2px/(dx_i dx_j) + pyfact...

Implements ParticleFitObject.

Definition at line 170 of file JetFitObject.C.

References cachevalid, cphi, ctheta, dptdE, dpxdE, dpxdtheta, dpydE, dpydtheta, dpzdE, ParticleFitObject::globalParNum, ParticleFitObject::mass, p, px, py, pz, sphi, stheta, and updateCache().

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

add derivatives to vector der of size idim pxfact*dpx/dx_i + pyfact*dpy/dx_i + pzfact*dpz/dx_i + efact*dE/dx_i

Implements ParticleFitObject.

Definition at line 129 of file JetFitObject.C.

References cachevalid, ctheta, dpdE, dpxdE, dpydE, dpydtheta, ParticleFitObject::globalParNum, pt, px, py, and updateCache().

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

Add derivatives to global covariance matrix.

Implements ParticleFitObject.

Definition at line 231 of file JetFitObject.C.

double JetFitObject::getDE int  ilocal  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 118 of file JetFitObject.C.

References cachevalid, ParticleFitObject::NPAR, and updateCache().

double JetFitObject::getDPx int  ilocal  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 85 of file JetFitObject.C.

References cachevalid, dpxdE, dpxdtheta, ParticleFitObject::NPAR, py, and updateCache().

double JetFitObject::getDPy int  ilocal  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 96 of file JetFitObject.C.

References cachevalid, dpydE, dpydtheta, ParticleFitObject::NPAR, px, and updateCache().

double JetFitObject::getDPz int  ilocal  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 107 of file JetFitObject.C.

References cachevalid, dpzdE, ParticleFitObject::NPAR, pt, and updateCache().

double JetFitObject::getE  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 66 of file JetFitObject.C.

References ParticleFitObject::par.

double JetFitObject::getP  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 68 of file JetFitObject.C.

References cachevalid, p, and updateCache().

double JetFitObject::getP2  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 72 of file JetFitObject.C.

References cachevalid, p2, and updateCache().

const char * JetFitObject::getParamName int  ilocal  )  const [virtual]
 

Get name of parameter ilocal.

Parameters:
ilocal  Local parameter number

Reimplemented from BaseFitObject.

Definition at line 44 of file JetFitObject.C.

double JetFitObject::getPt  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 76 of file JetFitObject.C.

References cachevalid, pt, and updateCache().

double JetFitObject::getPt2  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 80 of file JetFitObject.C.

References cachevalid, pt, and updateCache().

double JetFitObject::getPx  )  const [virtual]
 

these depend on actual parametrisation!

Implements ParticleFitObject.

Definition at line 54 of file JetFitObject.C.

References cachevalid, px, and updateCache().

double JetFitObject::getPy  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 58 of file JetFitObject.C.

References cachevalid, py, and updateCache().

double JetFitObject::getPz  )  const [virtual]
 

Implements ParticleFitObject.

Definition at line 62 of file JetFitObject.C.

References cachevalid, pz, and updateCache().

void JetFitObject::initCov  )  [protected, virtual]
 

Definition at line 239 of file JetFitObject.C.

References ParticleFitObject::cov, and ParticleFitObject::NPAR.

Referenced by JetFitObject().

void JetFitObject::invalidateCache  )  const [virtual]
 

invalidate any cached quantities

Reimplemented from ParticleFitObject.

Definition at line 247 of file JetFitObject.C.

References cachevalid.

Referenced by JetFitObject().

void JetFitObject::updateCache  )  const [protected]
 

Definition at line 251 of file JetFitObject.C.

References cachevalid, cphi, ctheta, dpdE, dptdE, dpxdE, dpxdtheta, dpydE, dpydtheta, dpzdE, ParticleFitObject::mass, p, p2, ParticleFitObject::par, pt, px, py, pz, sphi, and stheta.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getDE(), getDPx(), getDPy(), getDPz(), getP(), getP2(), getPt(), getPt2(), getPx(), getPy(), and getPz().


Member Data Documentation

bool JetFitObject::cachevalid [mutable, protected]
 

Definition at line 88 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getDE(), getDPx(), getDPy(), getDPz(), getP(), getP2(), getPt(), getPt2(), getPx(), getPy(), getPz(), invalidateCache(), and updateCache().

double JetFitObject::chi2 [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

double JetFitObject::cphi [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), and updateCache().

double JetFitObject::ctheta [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), addToDerivatives(), and updateCache().

double JetFitObject::dpdE [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addToDerivatives(), and updateCache().

double JetFitObject::dptdE [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), and updateCache().

double JetFitObject::dpxdE [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getDPx(), and updateCache().

double JetFitObject::dpxdtheta [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), getDPx(), and updateCache().

double JetFitObject::dpydE [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getDPy(), and updateCache().

double JetFitObject::dpydtheta [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getDPy(), and updateCache().

double JetFitObject::dpzdE [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), getDPz(), and updateCache().

double JetFitObject::p [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), getP(), and updateCache().

double JetFitObject::p2 [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by getP2(), and updateCache().

double JetFitObject::pt [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addToDerivatives(), getDPz(), getPt(), getPt2(), and updateCache().

double JetFitObject::px [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getDPy(), getPx(), and updateCache().

double JetFitObject::py [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), addToDerivatives(), getDPx(), getPy(), and updateCache().

double JetFitObject::pz [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), getPz(), and updateCache().

double JetFitObject::sphi [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), and updateCache().

double JetFitObject::stheta [mutable, protected]
 

Definition at line 90 of file JetFitObject.h.

Referenced by addTo2ndDerivatives(), and updateCache().


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