GENFIT  Rev:NoNumberAvailable
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
Public Member Functions | Private Member Functions | Private Attributes | List of all members
genfit::GFGbl Class Reference

Generic GBL implementation. More...

#include <GFGbl.h>

Inheritance diagram for genfit::GFGbl:
Inheritance graph
Collaboration diagram for genfit::GFGbl:
Collaboration graph

Public Member Functions

 GFGbl ()
 
virtual ~GFGbl ()
 
void beginRun ()
 
void endRun ()
 
void setGBLOptions (std::string internalIterations="THC", bool enableScatterers=true, bool enableIntermediateScatterer=true)
 Sets internal GBL down-weighting. More...
 
void setMP2Options (double pValueCut=0., unsigned int minNdf=1, std::string mille_file_name="millefile.dat", double chi2Cut=0.)
 Sets GBL & Millepede settings. More...
 
void processTrackWithRep (Track *trk, const AbsTrackRep *rep, bool resortHits=false)
 
- Public Member Functions inherited from genfit::AbsFitter
 AbsFitter ()
 
virtual ~AbsFitter ()
 
void processTrack (Track *, bool resortHits=false)
 
virtual void setDebugLvl (unsigned int lvl=1)
 

Private Member Functions

 GFGbl (const GFGbl &)
 
GFGbloperator= (GFGbl const &)
 

Private Attributes

std::string m_milleFileName
 
std::string m_gblInternalIterations
 
double m_pValueCut
 
int m_minNdf
 
double m_chi2Cut
 
bool m_enableScatterers
 
bool m_enableIntermediateScatterer
 

Additional Inherited Members

- Protected Attributes inherited from genfit::AbsFitter
unsigned int debugLvl_
 

Detailed Description

Generic GBL implementation.

The interface class to GBL track fit

Definition at line 48 of file GFGbl.h.

Constructor & Destructor Documentation

genfit::GFGbl::GFGbl ( const GFGbl )
private
GFGbl::GFGbl ( )

Constructor

Definition at line 175 of file GFGbl.cc.

virtual genfit::GFGbl::~GFGbl ( )
inlinevirtual

Destructor

Definition at line 73 of file GFGbl.h.

Member Function Documentation

void GFGbl::beginRun ( )

Creates the mille binary file for output of data for Millepede II alignment, can be set by setMP2Options

Definition at line 184 of file GFGbl.cc.

References m_milleFileName.

void GFGbl::endRun ( )

Required to write and close ROOT file with debug output. Destructor cannot be used. To be called from endRun function of a module

Definition at line 231 of file GFGbl.cc.

References milleFile.

GFGbl& genfit::GFGbl::operator= ( GFGbl const &  )
private
void GFGbl::processTrackWithRep ( Track trk,
const AbsTrackRep rep,
bool  resortHits = false 
)
virtual

Performs fit on a Track. Hit resorting currently NOT supported.

Implements genfit::AbsFitter.

Definition at line 326 of file GFGbl.cc.

References gbl::GblPoint::addGlobals(), gbl::GblPoint::addMeasurement(), gbl::GblPoint::addScatterer(), genfit::AbsMeasurement::constructHMatrix(), genfit::AbsTrackRep::extrapolateBy(), genfit::AbsTrackRep::extrapolateToPlane(), gbl::GblTrajectory::fit(), genfit::Track::getCardinalRep(), genfit::AbsTrackRep::getCharge(), genfit::AbsMeasurement::getDetId(), genfit::AbsMeasurement::getDim(), genfit::AbsTrackRep::getDim(), genfit::AbsTrackRep::getDir(), genfit::FieldManager::getFieldVal(), genfit::TrackPoint::getFitterInfo(), genfit::AbsTrackRep::getForwardJacobianAndNoise(), genfit::AbsMeasurement::getHitId(), genfit::FieldManager::getInstance(), genfit::AbsTrackRep::getMass(), gbl::GblTrajectory::getMeasResults(), genfit::AbsTrackRep::getMomMag(), genfit::Track::getNumPoints(), genfit::Track::getNumPointsWithMeasurement(), genfit::TrackPoint::getNumRawMeasurements(), genfit::AbsTrackRep::getPDG(), genfit::AbsFitterInfo::getPlane(), genfit::PlanarMeasurement::getPlaneId(), genfit::Track::getPoint(), genfit::Track::getPointWithMeasurement(), genfit::AbsMeasurement::getRawHitCoords(), genfit::AbsMeasurement::getRawHitCov(), genfit::TrackPoint::getRawMeasurement(), genfit::KalmanFitterInfo::getReferenceState(), gbl::GblTrajectory::getResults(), getScattererFromMatList(), genfit::StateOnPlane::getState(), genfit::AbsTrackRep::getSteps(), genfit::TrackPoint::hasFitterInfo(), genfit::KalmanFitterInfo::hasReferenceState(), genfit::AbsHMatrix::isEqual(), gbl::GblTrajectory::isValid(), m_chi2Cut, m_enableIntermediateScatterer, m_enableScatterers, m_gblInternalIterations, m_milleFileName, m_minNdf, m_pValueCut, and gbl::GblTrajectory::milleOut().

void genfit::GFGbl::setGBLOptions ( std::string  internalIterations = "THC",
bool  enableScatterers = true,
bool  enableIntermediateScatterer = true 
)
inline

Sets internal GBL down-weighting.

Parameters
internalIterationsGBL internal down-weighting settings, see GBL doc
Returns
void

Definition at line 94 of file GFGbl.h.

void genfit::GFGbl::setMP2Options ( double  pValueCut = 0.,
unsigned int  minNdf = 1,
std::string  mille_file_name = "millefile.dat",
double  chi2Cut = 0. 
)
inline

Sets GBL & Millepede settings.

Parameters
pValueCutminimum track p-value for MP2 output
minNdfminimum track NDF for MP2 output
mille_file_namename of MP2 binary file for output
Returns
void

Definition at line 109 of file GFGbl.h.

Member Data Documentation

double genfit::GFGbl::m_chi2Cut
private

Definition at line 58 of file GFGbl.h.

Referenced by processTrackWithRep().

bool genfit::GFGbl::m_enableIntermediateScatterer
private

Definition at line 60 of file GFGbl.h.

Referenced by processTrackWithRep().

bool genfit::GFGbl::m_enableScatterers
private

Definition at line 59 of file GFGbl.h.

Referenced by processTrackWithRep().

std::string genfit::GFGbl::m_gblInternalIterations
private

Definition at line 55 of file GFGbl.h.

Referenced by processTrackWithRep().

std::string genfit::GFGbl::m_milleFileName
private

Definition at line 54 of file GFGbl.h.

Referenced by beginRun(), and processTrackWithRep().

int genfit::GFGbl::m_minNdf
private

Definition at line 57 of file GFGbl.h.

Referenced by processTrackWithRep().

double genfit::GFGbl::m_pValueCut
private

Definition at line 56 of file GFGbl.h.

Referenced by processTrackWithRep().


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