Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

FitTrack Class Reference

#include <FitTrack.h>

Inheritance diagram for FitTrack:

Track List of all members.

Public Types

enum  TrackType {
  Velo = 1, VeloR = 2, Backward = 4, Long = 8,
  Upstream = 16, Downstream = 32, Ttrack = 64
}
 enumeration for the track type More...
enum  HistoryFlag {
  LongTrack = 1, Seeding = 2, TrKshort = 4, TrMatching = 8,
  VeloTrack = 16, VeloTT = 32, TrgForward = 64, TrgVelo = 128,
  TrgVeloTT = 256
}
 enumeration for the track history More...
enum  Flag { Valid = 1, Unique = 2, IPSelected = 4, MuSelected = 8 }
 enumeration for the track flags More...

Public Member Functions

 FitTrack ()
 Default Constructor.
virtual ~FitTrack ()
 Default Destructor.
virtual const CLID & clID () const
virtual StateclosestState (double z)
 Retrieve the reference to the state closest to the given z-position.
virtual const StateclosestState (double z) const
 Retrieve the reference to the state closest to the given z-position.
virtual StateclosestState (const HepPlane3D &plane)
 Retrieve the reference to the state closest to the given plane.
virtual const StateclosestState (const HepPlane3D &plane) const
 Retrieve the reference to the state closest to the given plane.
virtual StatestateAt (const State::Location &value)
 Retrieve the pointer to the state at a certain predefined location. See State class.
virtual const StatestateAt (const State::Location &value) const
 Retrieve the pointer to the state at a certain predefined location. See State class.
virtual void reset ()
 Clear the fit track before re-use.
virtual FitTrackclone () const
 Clone the fit track.
virtual bool producedByAlgo (const HistoryFlag &value) const
 Check whether the fit track was produced by a given algorithm.
virtual void setProducedByAlgo (const HistoryFlag &value)
 Update the name of the algorithm that produced the fit track.
const std::vector< Node * > & nodes () const
 Retrieve const container of Nodes.
std::vector< Node * > & nodes ()
 Retrieve container of Nodes.
void setNodes (const std::vector< Node * > &value)
 Update container of Nodes.
const std::vector< Measurement * > & measurements () const
 Retrieve const container of Measurements.
std::vector< Measurement * > & measurements ()
 Retrieve container of Measurements.
void setMeasurements (const std::vector< Measurement * > &value)
 Update container of Measurements.

Static Public Member Functions

static const CLID & classID ()

Protected Attributes

std::vector< Node * > m_nodes
 container of Nodes
std::vector< Measurement * > m_measurements
 container of Measurements

Detailed Description

FitTrack is the class for tracking software. FitTrack inherits from Track.

Author:
Jose Hernando, Eduardo Rodrigues created Sun Apr 3 17:39:11 2005

Definition at line 54 of file FitTrack.h.


Member Enumeration Documentation

enum FitTrack::Flag
 

enumeration for the track flags

Enumeration values:
Valid 
Unique 
IPSelected 
MuSelected 

Reimplemented from Track.

Definition at line 77 of file FitTrack.h.

00077            { Valid=1,
00078              Unique=2,
00079              IPSelected=4,
00080              MuSelected=8 };

enum FitTrack::HistoryFlag
 

enumeration for the track history

Enumeration values:
LongTrack 
Seeding 
TrKshort 
TrMatching 
VeloTrack 
VeloTT 
TrgForward 
TrgVelo 
TrgVeloTT 

Reimplemented from Track.

Definition at line 67 of file FitTrack.h.

00067                   { LongTrack=1,
00068                     Seeding=2,
00069                     TrKshort=4,
00070                     TrMatching=8,
00071                     VeloTrack=16,
00072                     VeloTT=32,
00073                     TrgForward=64,
00074                     TrgVelo=128,
00075                     TrgVeloTT=256 };

enum FitTrack::TrackType
 

enumeration for the track type

Enumeration values:
Velo 
VeloR 
Backward 
Long 
Upstream 
Downstream 
Ttrack 

Reimplemented from Track.

Definition at line 59 of file FitTrack.h.

00059                 { Velo=1,
00060                   VeloR=2,
00061                   Backward=4,
00062                   Long=8,
00063                   Upstream=16,
00064                   Downstream=32,
00065                   Ttrack=64 };


Constructor & Destructor Documentation

FitTrack::FitTrack  )  [inline]
 

Default Constructor.

Definition at line 83 of file FitTrack.h.

References m_measurements, and m_nodes.

00083              : m_nodes(),
00084                m_measurements() {}

virtual FitTrack::~FitTrack  )  [inline, virtual]
 

Default Destructor.

Definition at line 87 of file FitTrack.h.

00087 {}


Member Function Documentation

const CLID & FitTrack::classID  )  [inline, static]
 

Reimplemented from Track.

Definition at line 163 of file FitTrack.h.

References CLID_FitTrack.

Referenced by clID().

00164 {
00165   return CLID_FitTrack;
00166 }

const CLID & FitTrack::clID  )  const [inline, virtual]
 

Reimplemented from Track.

Definition at line 158 of file FitTrack.h.

References classID().

00159 {
00160   return FitTrack::classID();
00161 }

virtual FitTrack* FitTrack::clone  )  const [virtual]
 

Clone the fit track.

Reimplemented from Track.

virtual const State& FitTrack::closestState const HepPlane3D &  plane  )  const [virtual]
 

Retrieve the reference to the state closest to the given plane.

Reimplemented from Track.

virtual State& FitTrack::closestState const HepPlane3D &  plane  )  [virtual]
 

Retrieve the reference to the state closest to the given plane.

Reimplemented from Track.

virtual const State& FitTrack::closestState double  z  )  const [virtual]
 

Retrieve the reference to the state closest to the given z-position.

Reimplemented from Track.

virtual State& FitTrack::closestState double  z  )  [virtual]
 

Retrieve the reference to the state closest to the given z-position.

Reimplemented from Track.

std::vector< Measurement * > & FitTrack::measurements  )  [inline]
 

Retrieve container of Measurements.

Definition at line 188 of file FitTrack.h.

References m_measurements.

00189 {
00190   return m_measurements;
00191 }

const std::vector< Measurement * > & FitTrack::measurements  )  const [inline]
 

Retrieve const container of Measurements.

Definition at line 183 of file FitTrack.h.

References m_measurements.

00184 {
00185   return m_measurements;
00186 }

std::vector< Node * > & FitTrack::nodes  )  [inline]
 

Retrieve container of Nodes.

Definition at line 173 of file FitTrack.h.

References m_nodes.

00174 {
00175   return m_nodes;
00176 }

const std::vector< Node * > & FitTrack::nodes  )  const [inline]
 

Retrieve const container of Nodes.

Definition at line 168 of file FitTrack.h.

References m_nodes.

00169 {
00170   return m_nodes;
00171 }

virtual bool FitTrack::producedByAlgo const HistoryFlag value  )  const [virtual]
 

Check whether the fit track was produced by a given algorithm.

Reimplemented from Track.

virtual void FitTrack::reset  )  [virtual]
 

Clear the fit track before re-use.

Reimplemented from Track.

void FitTrack::setMeasurements const std::vector< Measurement * > &  value  )  [inline]
 

Update container of Measurements.

Definition at line 193 of file FitTrack.h.

References m_measurements.

00194 {
00195   m_measurements = value;
00196 }

void FitTrack::setNodes const std::vector< Node * > &  value  )  [inline]
 

Update container of Nodes.

Definition at line 178 of file FitTrack.h.

References m_nodes.

00179 {
00180   m_nodes = value;
00181 }

virtual void FitTrack::setProducedByAlgo const HistoryFlag value  )  [virtual]
 

Update the name of the algorithm that produced the fit track.

Reimplemented from Track.

virtual const State* FitTrack::stateAt const State::Location value  )  const [virtual]
 

Retrieve the pointer to the state at a certain predefined location. See State class.

Reimplemented from Track.

virtual State* FitTrack::stateAt const State::Location value  )  [virtual]
 

Retrieve the pointer to the state at a certain predefined location. See State class.

Reimplemented from Track.


Member Data Documentation

std::vector<Measurement*> FitTrack::m_measurements [protected]
 

container of Measurements

Definition at line 144 of file FitTrack.h.

Referenced by FitTrack(), measurements(), and setMeasurements().

std::vector<Node*> FitTrack::m_nodes [protected]
 

container of Nodes

Definition at line 143 of file FitTrack.h.

Referenced by FitTrack(), nodes(), and setNodes().


The documentation for this class was generated from the following file:
Generated on Mon Apr 4 12:38:53 2005 for New Track Event Model by doxygen 1.4.1