Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tracklet Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/reco/interface/FastTracklet.h>

+ Inheritance diagram for Tracklet:
+ Collaboration diagram for Tracklet:

Public Member Functions

 Tracklet ()
 
void identify (std::ostream &os=std::cout) const
 
void Reset ()
 Clear Event. More...
 
int isValid () const
 isValid returns non zero if object contains vailid data More...
 
TrackletClone () const
 
void print (std::ostream &os=std::cout)
 
void sortHits ()
 
void updateNHits ()
 
int getNHits () const
 
int getNAllHits ()
 
double getProb () const
 
double getMomProb () const
 
double getChisq () const
 
double getExpPositionX (double z) const
 
double getExpPosErrorX (double z) const
 
double getExpPositionY (double z) const
 
double getExpPosErrorY (double z) const
 
double getExpPositionW (int detectorID)
 
TVector3 getMomentumSt1 ()
 
TVector3 getMomentumSt3 ()
 
TVector3 getExpMomentum (double z)
 
SignedHit getSignedHit (int index)
 
double Eval (const double *par)
 
double calcChisq ()
 
void addDummyHits ()
 
double getMomentum () const
 
int getCharge () const
 
void getXZInfoInSt1 (double &tx_st1, double &x0_st1)
 
void getXZErrorInSt1 (double &err_tx_st1, double &err_x0_st1)
 
bool operator< (const Tracklet &elem) const
 
bool similarity (const Tracklet &elem) const
 
Tracklet merge (Tracklet &elem)
 
Tracklet operator+ (const Tracklet &elem) const
 
Tracklet operator* (const Tracklet &elem) const
 
SRecTrack getSRecTrack (bool hyptest=true)
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor More...
 
virtual ~PHObject ()
 dtor More...
 
virtual PHObjectclone () const
 Virtual copy constructor. More...
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
void SplitLevel (const int i)
 
int SplitLevel () const
 
void BufferSize (const int i)
 
int BufferSize () const
 

Public Attributes

int stationID
 
int nXHits
 
int nUHits
 
int nVHits
 
double chisq
 
double chisq_vtx
 
std::list< SignedHithits
 
PropSegment seg_x
 
PropSegment seg_y
 
double tx
 
double ty
 
double x0
 
double y0
 
double invP
 
double err_tx
 
double err_ty
 
double err_x0
 
double err_y0
 
double err_invP
 
double residual [nChamberPlanes]
 

Detailed Description

Definition at line 123 of file FastTracklet.h.

Constructor & Destructor Documentation

Tracklet::Tracklet ( )

Definition at line 500 of file FastTracklet.cxx.

References nChamberPlanes, and residual.

Referenced by Clone(), and Reset().

+ Here is the caller graph for this function:

Member Function Documentation

void Tracklet::addDummyHits ( )

Definition at line 908 of file FastTracklet.cxx.

References Hit::detectorID, SignedHit::hit, hits, sortHits(), and stationID.

+ Here is the call graph for this function:

double Tracklet::calcChisq ( )

Definition at line 934 of file FastTracklet.cxx.

References chisq, GeomSvc::getDCA(), GeomSvc::getPlaneResolution(), GeomSvc::getPlaneSpacing(), getXZInfoInSt1(), hits, nStations, residual, stationID, tx, ty, x0, and y0.

Referenced by Eval(), merge(), operator*(), operator+(), print(), KalmanFastTracking::removeBadHits(), and KalmanDSTrk::removeBadHits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Tracklet* Tracklet::Clone ( ) const
inline

Definition at line 132 of file FastTracklet.h.

References Tracklet().

Referenced by TrackletVector::push_back().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double Tracklet::Eval ( const double *  par)

Definition at line 990 of file FastTracklet.cxx.

References calcChisq(), invP, tx, ty, x0, and y0.

Referenced by KalmanDSTrk::KalmanDSTrk(), and KalmanFastTracking::KalmanFastTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Tracklet::getCharge ( ) const

Definition at line 753 of file FastTracklet.cxx.

References tx, and x0.

Referenced by SQGenFit::GFTrack::getCharge(), getExpPositionX(), getMomentum(), getSRecTrack(), getXZInfoInSt1(), print(), SimpleTree::process_event(), KalmanDSTrk::processOneTracklet(), SQGenFit::GFTrack::setTracklet(), and KalmanTrack::setTracklet().

+ Here is the caller graph for this function:

double Tracklet::getChisq ( ) const
inline

Definition at line 158 of file FastTracklet.h.

References chisq.

Referenced by AnaModule::process_event(), and SimpleTree::process_event().

+ Here is the caller graph for this function:

TVector3 Tracklet::getExpMomentum ( double  z)

Definition at line 617 of file FastTracklet.cxx.

References getMomentumSt1(), getMomentumSt3(), nStations, and stationID.

Referenced by SQGenFit::GFTrack::setTracklet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double Tracklet::getExpPosErrorX ( double  z) const

Definition at line 637 of file FastTracklet.cxx.

References err_invP, err_tx, err_x0, nStations, and stationID.

Referenced by KalmanFastTracking::getExtrapoWindowsInSt1(), KalmanDSTrk::getExtrapoWindowsInSt1(), getSRecTrack(), KalmanFastTracking::hodoMask(), KalmanDSTrk::hodoMask(), KalmanFastTracking::muonID_hodoAid(), KalmanDSTrk::muonID_hodoAid(), and print().

+ Here is the caller graph for this function:

double Tracklet::getExpPosErrorY ( double  z) const

Definition at line 662 of file FastTracklet.cxx.

References err_ty, and err_y0.

Referenced by KalmanFastTracking::getExtrapoWindowsInSt1(), KalmanDSTrk::getExtrapoWindowsInSt1(), getSRecTrack(), KalmanFastTracking::hodoMask(), KalmanDSTrk::hodoMask(), KalmanFastTracking::muonID_hodoAid(), KalmanDSTrk::muonID_hodoAid(), and print().

+ Here is the caller graph for this function:

double Tracklet::getExpPositionW ( int  detectorID)

Definition at line 670 of file FastTracklet.cxx.

References GeomSvc::getCostheta(), getExpPositionX(), getExpPositionY(), GeomSvc::getPlanePosition(), and GeomSvc::getSintheta().

Referenced by main(), AnaModule::process_event(), and SimpleTree::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double Tracklet::getMomentum ( ) const

Definition at line 721 of file FastTracklet.cxx.

References c1, getCharge(), getExpPositionX(), tx, and x0.

Referenced by KalmanFastTracking::buildGlobalTracks(), KalmanDSTrk::buildGlobalTracks(), merge(), operator*(), and operator+().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TVector3 Tracklet::getMomentumSt1 ( )

Definition at line 1059 of file FastTracklet.cxx.

References getXZInfoInSt1(), invP, and ty.

Referenced by getExpMomentum(), and print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TVector3 Tracklet::getMomentumSt3 ( )

Definition at line 1068 of file FastTracklet.cxx.

References invP, tx, and ty.

Referenced by getExpMomentum(), and print().

+ Here is the caller graph for this function:

double Tracklet::getMomProb ( ) const

Definition at line 609 of file FastTracklet.cxx.

References invP.

int Tracklet::getNAllHits ( )
inline

Definition at line 149 of file FastTracklet.h.

References hits.

int Tracklet::getNHits ( ) const
inline

Definition at line 146 of file FastTracklet.h.

References nUHits, nVHits, and nXHits.

Referenced by getProb(), operator<(), AnaModule::process_event(), SimpleTree::process_event(), and similarity().

+ Here is the caller graph for this function:

double Tracklet::getProb ( ) const

Definition at line 593 of file FastTracklet.cxx.

References chisq, getNHits(), nStations, and stationID.

Referenced by isValid(), and operator<().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

SignedHit Tracklet::getSignedHit ( int  index)

Definition at line 977 of file FastTracklet.cxx.

References hits.

SRecTrack Tracklet::getSRecTrack ( bool  hyptest = true)

Definition at line 1002 of file FastTracklet.cxx.

References PropSegment::a, chisq, err_invP, err_tx, err_ty, err_x0, getCharge(), getExpPosErrorX(), getExpPosErrorY(), getExpPositionX(), getExpPositionY(), PropSegment::getNHits(), GeomSvc::getPlanePosition(), TriggerRoad::getRoadID(), getXZErrorInSt1(), getXZInfoInSt1(), hits, SRecTrack::insertCovariance(), SRecTrack::insertHitIndex(), SRecTrack::insertStateVector(), SRecTrack::insertZ(), invP, seg_x, seg_y, SRecTrack::setChisq(), SRecTrack::setNHitsInPT(), SRecTrack::setPTSlope(), SRecTrack::setTriggerRoad(), SRecTrack::swimToVertex(), tx, ty, and x0.

Referenced by KalmanFastTracking::processOneTracklet(), and KalmanDSTrk::processOneTracklet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Tracklet::getXZErrorInSt1 ( double &  err_tx_st1,
double &  err_x0_st1 
)

Definition at line 772 of file FastTracklet.cxx.

References err_invP, err_tx, and err_x0.

Referenced by getSRecTrack(), KalmanFastTracking::resolveLeftRight(), and KalmanDSTrk::resolveLeftRight().

+ Here is the caller graph for this function:

void Tracklet::getXZInfoInSt1 ( double &  tx_st1,
double &  x0_st1 
)

Definition at line 758 of file FastTracklet.cxx.

References getCharge(), invP, tx, and x0.

Referenced by calcChisq(), getMomentumSt1(), getSRecTrack(), KalmanFastTracking::resolveLeftRight(), and KalmanDSTrk::resolveLeftRight().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Tracklet::identify ( std::ostream &  os = std::cout) const
inlinevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 129 of file FastTracklet.h.

References stationID.

int Tracklet::isValid ( ) const
virtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 506 of file FastTracklet.cxx.

References chisq, err_tx, err_ty, err_x0, err_y0, GeomSvc::getPlaneType(), getProb(), hits, nStations, nUHits, nVHits, nXHits, stationID, tx, ty, x0, and y0.

Referenced by KalmanFastTracking::acceptTracklet(), KalmanDSTrk::acceptTracklet(), KalmanFastTracking::buildBackPartialTracks(), KalmanDSTrk::buildBackPartialTracks(), KalmanFastTracking::buildGlobalTracks(), KalmanDSTrk::buildGlobalTracks(), KalmanFastTracking::buildTrackletsInStation(), KalmanDSTrk::buildTrackletsInStation(), merge(), KalmanFastTracking::removeBadHits(), and KalmanDSTrk::removeBadHits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Tracklet Tracklet::merge ( Tracklet elem)

Definition at line 875 of file FastTracklet.cxx.

References calcChisq(), chisq_vtx, err_invP, err_tx, err_ty, err_x0, err_y0, getMomentum(), hits, invP, isValid(), seg_x, seg_y, stationID, tx, ty, x0, and y0.

Referenced by KalmanFastTracking::buildGlobalTracks(), and KalmanDSTrk::buildGlobalTracks().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Tracklet Tracklet::operator* ( const Tracklet elem) const

Definition at line 823 of file FastTracklet.cxx.

References calcChisq(), err_invP, err_tx, err_ty, err_x0, err_y0, getMomentum(), hits, invP, nStations, nUHits, nVHits, nXHits, stationID, tx, ty, x0, and y0.

+ Here is the call graph for this function:

Tracklet Tracklet::operator+ ( const Tracklet elem) const

Definition at line 787 of file FastTracklet.cxx.

References calcChisq(), err_invP, err_tx, err_ty, err_x0, err_y0, getMomentum(), hits, invP, nStations, nUHits, nVHits, nXHits, stationID, tx, ty, x0, and y0.

+ Here is the call graph for this function:

bool Tracklet::operator< ( const Tracklet elem) const

Definition at line 680 of file FastTracklet.cxx.

References chisq, getNHits(), and getProb().

+ Here is the call graph for this function:

void Tracklet::print ( std::ostream &  os = std::cout)
void Tracklet::Reset ( )
inlinevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 130 of file FastTracklet.h.

References Tracklet().

+ Here is the call graph for this function:

bool Tracklet::similarity ( const Tracklet elem) const

Definition at line 693 of file FastTracklet.cxx.

References getNHits(), and hits.

+ Here is the call graph for this function:

void Tracklet::sortHits ( )
inline

Definition at line 142 of file FastTracklet.h.

References hits.

Referenced by addDummyHits(), KalmanFastTracking::buildTrackletsInStation(), and KalmanDSTrk::buildTrackletsInStation().

+ Here is the caller graph for this function:

void Tracklet::updateNHits ( )

Definition at line 562 of file FastTracklet.cxx.

References GeomSvc::getPlaneType(), hits, nUHits, nVHits, and nXHits.

+ Here is the call graph for this function:

Member Data Documentation

double Tracklet::chisq_vtx
double Tracklet::residual[nChamberPlanes]

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