LCFIVertex  0.7.2
Public Member Functions | List of all members
vertex_lcfi::Track Class Reference

Unique Track representation. More...

#include <track.h>

Public Member Functions

 Track ()
 Default Constuctor.
 
 Track (Event *Event, const HelixRep &HelixRep, const Vector3 &Momentum, const double &Charge, const SymMatrix5x5 &Cov, std::vector< int > hits, void *TrackNum=0)
 Full Constructor. More...
 
Eventevent () const
 Event that this track belongs to. More...
 
TrackStatemakeState () const
 Create a TrackState of this track. More...
 
const HelixRephelixRep () const
 Helix represenation of this track. More...
 
HelixRephelixRep ()
 
double charge () const
 Track charge. More...
 
const Vector3momentum () const
 Track perigee momentum. More...
 
const SymMatrix5x5covarianceMatrix () const
 Covariance Matrix. More...
 
double significance (Projection Proj) const
 Significance of the track. More...
 
double signedSignificance (Projection Proj, Jet *MyJet) const
 Signed significance of the track. More...
 
const std::vector< int > & hitsInSubDetectors () const
 Number of hits in each sub detector. More...
 
void * trackingNum () const
 Tracking Number. More...
 
 Track ()
 Default Constuctor.
 
 Track (Event *Event, const HelixRep &HelixRep, const Vector3 &Momentum, const double &Charge, const SymMatrix5x5 &Cov, std::vector< int > hits, void *TrackNum=0)
 Full Constructor. More...
 
Eventevent () const
 Event that this track belongs to. More...
 
TrackStatemakeState () const
 Create a TrackState of this track. More...
 
const HelixRephelixRep () const
 Helix represenation of this track. More...
 
HelixRephelixRep ()
 
double charge () const
 Track charge. More...
 
const Vector3momentum () const
 Track perigee momentum. More...
 
const SymMatrix5x5covarianceMatrix () const
 Covariance Matrix. More...
 
double significance (Projection Proj) const
 Significance of the track. More...
 
double signedSignificance (Projection Proj, Jet *MyJet) const
 Signed significance of the track. More...
 
const std::vector< int > & hitsInSubDetectors () const
 Number of hits in each sub detector. More...
 
void * trackingNum () const
 Tracking Number. More...
 

Detailed Description

Unique Track representation.

Author
Ben Jeffery (b.jef.nosp@m.fery.nosp@m.1@phy.nosp@m.sics.nosp@m..ox.a.nosp@m.c.uk)
Version
0.2
Date
20/09/05

Definition at line 26 of file include/vertex_lcfi/inc/track.h.

Constructor & Destructor Documentation

vertex_lcfi::Track::Track ( Event Event,
const HelixRep HelixRep,
const Vector3 Momentum,
const double &  Charge,
const SymMatrix5x5 Cov,
std::vector< int >  hits,
void *  TrackNum = 0 
)

Full Constructor.

Parameters
EventPointer to the Event the track belongs to
HelixRepHelix representation of the track
ChargeCharge of the track
CovCovariance Matrix of the track
TrackNumTracking number (default=0)

Definition at line 17 of file track.cpp.

vertex_lcfi::Track::Track ( Event Event,
const HelixRep HelixRep,
const Vector3 Momentum,
const double &  Charge,
const SymMatrix5x5 Cov,
std::vector< int >  hits,
void *  TrackNum = 0 
)

Full Constructor.

Parameters
EventPointer to the Event the track belongs to
HelixRepHelix representation of the track
ChargeCharge of the track
CovCovariance Matrix of the track
TrackNumTracking number (default=0)

Member Function Documentation

double vertex_lcfi::Track::charge ( ) const

Track charge.

Returns
Charge of the Track

Definition at line 44 of file track.cpp.

Referenced by vertex_lcfi::TrackState::resetToRef().

double vertex_lcfi::Track::charge ( ) const

Track charge.

Returns
Charge of the Track
const SymMatrix5x5& vertex_lcfi::Track::covarianceMatrix ( ) const

Covariance Matrix.

Returns
SymMatrix5x5 of track parameters covariance
const SymMatrix5x5 & vertex_lcfi::Track::covarianceMatrix ( ) const

Covariance Matrix.

Returns
SymMatrix5x5 of track parameters covariance

Definition at line 54 of file track.cpp.

Referenced by vertex_lcfi::TrackState::resetToRef(), and significance().

Event * vertex_lcfi::Track::event ( ) const

Event that this track belongs to.

Returns
A pointer to this tracks event

Definition at line 22 of file track.cpp.

Referenced by signedSignificance(), and significance().

Event* vertex_lcfi::Track::event ( ) const

Event that this track belongs to.

Returns
A pointer to this tracks event
const HelixRep & vertex_lcfi::Track::helixRep ( ) const

Helix represenation of this track.

Returns
The helix representation of this track

Definition at line 35 of file track.cpp.

Referenced by vertex_lcfi::TrackState::resetToRef(), signedSignificance(), and vertex_lcfi::ZVTOP::GaussTube::valueAt().

const HelixRep& vertex_lcfi::Track::helixRep ( ) const

Helix represenation of this track.

Returns
The helix representation of this track
const std::vector<int>& vertex_lcfi::Track::hitsInSubDetectors ( ) const
inline

Number of hits in each sub detector.

Returns
vector of ints

Definition at line 99 of file vertex_lcfi/inc/track.h.

const std::vector<int>& vertex_lcfi::Track::hitsInSubDetectors ( ) const
inline

Number of hits in each sub detector.

Returns
vector of ints

Definition at line 99 of file include/vertex_lcfi/inc/track.h.

TrackState * vertex_lcfi::Track::makeState ( ) const

Create a TrackState of this track.

The memory is allocated using the memory manager event lifetime, so don't delete this pointer!

Returns
A pointer to a new trackstate of this track

Definition at line 27 of file track.cpp.

References vertex_lcfi::MemoryManager< T >::Event().

Referenced by vertex_lcfi::TrackAttach::calculateFor(), signedSignificance(), and significance().

TrackState* vertex_lcfi::Track::makeState ( ) const

Create a TrackState of this track.

The memory is allocated using the memory manager event lifetime, so don't delete this pointer!

Returns
A pointer to a new trackstate of this track
const Vector3 & vertex_lcfi::Track::momentum ( ) const

Track perigee momentum.

Returns
Vector3 of the tracks momentum

Definition at line 49 of file track.cpp.

const Vector3& vertex_lcfi::Track::momentum ( ) const

Track perigee momentum.

Returns
Vector3 of the tracks momentum
double vertex_lcfi::Track::signedSignificance ( Projection  Proj,
Jet MyJet 
) const

Signed significance of the track.

Parameters
ProjProjection to take the significance in
JetJet from which to take the momentum to seed the significance
Returns
double of the significance of the track

Definition at line 119 of file track.cpp.

References event(), helixRep(), vertex_lcfi::Event::interactionPoint(), makeState(), vertex_lcfi::Jet::momentum(), vertex_lcfi::TrackState::position(), significance(), and vertex_lcfi::TrackState::swimToStateNearestXY().

double vertex_lcfi::Track::signedSignificance ( Projection  Proj,
Jet MyJet 
) const

Signed significance of the track.

Parameters
ProjProjection to take the significance in
JetJet from which to take the momentum to seed the significance
Returns
double of the significance of the track
double vertex_lcfi::Track::significance ( Projection  Proj) const

Significance of the track.

Parameters
ProjProjection to take the significance in
Returns
double of the significance of the track

Definition at line 59 of file track.cpp.

References covarianceMatrix(), event(), vertex_lcfi::Event::interactionPoint(), vertex_lcfi::Event::interactionPointError(), makeState(), vertex_lcfi::TrackState::position(), vertex_lcfi::TrackState::swimToStateNearest(), and vertex_lcfi::TrackState::swimToStateNearestXY().

Referenced by signedSignificance().

double vertex_lcfi::Track::significance ( Projection  Proj) const

Significance of the track.

Parameters
ProjProjection to take the significance in
Returns
double of the significance of the track
void * vertex_lcfi::Track::trackingNum ( ) const

Tracking Number.

Returns
racking number implemented as pointer to void

Definition at line 164 of file track.cpp.

void* vertex_lcfi::Track::trackingNum ( ) const

Tracking Number.

Returns
racking number implemented as pointer to void

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