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

TkrTrack Class Reference

Root object representing a reconstructed particle track. More...

#include <TkrTrack.h>

Inheritance diagram for TkrTrack:

TObject List of all members.

Public Types

enum  ParticleType {
  NONE = -1, GAMMA = 0, ELECTRON, POSITRON,
  HADRON, OTHER
}
 our set of particles types. More...


Public Methods

 TkrTrack ()
 constructors.

 TkrTrack (UShort_t id)
virtual ~TkrTrack ()
 destructor. More...

void Clean ()
 frees all dynamically allocated memory. More...

void Create ()
 allocates memory - if necessary. More...

TObjArray* getHits ()
 provide access to the list of hits. More...

TObjArray* getLocator ()
 provide access to the list of locators. More...

UShort_t getId ()
 access the ID # of this track. More...

void setId (UShort_t id)
ParticleType getTrackType ()
 access the track type. More...

void setTrackType (ParticleType type)
ParticleType getMother ()
 access the mother id. More...

void setMother (ParticleType mom)
Float_t getResidual ()
 access the residual associated with this track. More...

void setResidual (Float_t resid)
Float_t getChi2 ()
 access Chi2. More...

void setChi2 (Float_t chi)
Float_t getQuality ()
 access the quality parameter. More...

void setQuality (Float_t q)
UInt_t getFirstLayer ()
 access the first layer in the TKR associated with this track. More...

void setFirstLayer (UInt_t first)
UInt_t getNumClusters ()
 access the number of TkrSiClusters associated with this track. More...

Float_t getEnergyInput ()
 access the input energy. More...

void setEnergyInput (Float_t ene)
Float_t getEnergyDet ()
 access the determined energy. More...

void setEnergyDet (Float_t ene)

Private Attributes

TObjArray* m_hits
 list of hits associated with this track. More...

TObjArray* m_locator
 list of TkrLocators. More...

UShort_t m_id
 track id - probably the position in a TObjArray? More...

ParticleType m_type
 type of the track (gamma, e+, e-, hadron ...). More...

ParticleType m_motherId
 id of the mother particle (-1 if none). More...

Float_t m_residual
 residual. More...

Float_t m_chi2
 chi**2 of the fit. More...

Float_t m_quality
 quality measure of the track. More...

UInt_t m_firstLayer
 layer where the particle starts. More...

Float_t m_energyInput
 energy input from the cal. More...

Float_t m_energyDetermined
 energy determined using the tracker + cal. More...


Detailed Description

Root object representing a reconstructed particle track.

Represents a reconstructed particle track. It could be a charged particle track or a photon that is reconstructed due to it's conversion into an electron-positron pair.

A track contains two lists:

1.) A list of TkrLocator objects which contain the position and angle of the track at different interesting positions (e.g.: initial point, exit point of the tracker).

2.) A list of TkrHit objects which point to the TkrSiCluster objects that are associated with this track.

Definition at line 27 of file TkrTrack.h.


Member Enumeration Documentation

enum TkrTrack::ParticleType
 

our set of particles types.

Enumeration values:
NONE  
GAMMA  
ELECTRON  
POSITRON  
HADRON  
OTHER  

Definition at line 32 of file TkrTrack.h.


Constructor & Destructor Documentation

TkrTrack::TkrTrack ( )
 

constructors.

TkrTrack::TkrTrack ( UShort_t id )
 

Definition at line 24 of file TkrTrack.cxx.

TkrTrack::~TkrTrack ( ) [virtual]
 

destructor.

Definition at line 44 of file TkrTrack.cxx.


Member Function Documentation

void TkrTrack::Clean ( )
 

frees all dynamically allocated memory.

Clients should call Clean() before calling Create()

Definition at line 48 of file TkrTrack.cxx.

Referenced by ~TkrTrack().

void TkrTrack::Create ( )
 

allocates memory - if necessary.

if the objects are already allocated, no further memory is allocated

Definition at line 82 of file TkrTrack.cxx.

Referenced by TkrTrack().

Float_t TkrTrack::getChi2 ( ) [inline]
 

access Chi2.

Definition at line 118 of file TkrTrack.h.

Float_t TkrTrack::getEnergyDet ( ) [inline]
 

access the determined energy.

Definition at line 137 of file TkrTrack.h.

Float_t TkrTrack::getEnergyInput ( ) [inline]
 

access the input energy.

Definition at line 133 of file TkrTrack.h.

UInt_t TkrTrack::getFirstLayer ( ) [inline]
 

access the first layer in the TKR associated with this track.

Definition at line 126 of file TkrTrack.h.

TObjArray * TkrTrack::getHits ( ) [inline]
 

provide access to the list of hits.

allows the caller to modify the TObjArray

Definition at line 95 of file TkrTrack.h.

UShort_t TkrTrack::getId ( ) [inline]
 

access the ID # of this track.

Definition at line 102 of file TkrTrack.h.

TObjArray * TkrTrack::getLocator ( ) [inline]
 

provide access to the list of locators.

allow the caller to modify the TObjArray

Definition at line 99 of file TkrTrack.h.

ParticleType TkrTrack::getMother ( ) [inline]
 

access the mother id.

Definition at line 110 of file TkrTrack.h.

UInt_t TkrTrack::getNumClusters ( ) [inline]
 

access the number of TkrSiClusters associated with this track.

Definition at line 130 of file TkrTrack.h.

Float_t TkrTrack::getQuality ( ) [inline]
 

access the quality parameter.

Definition at line 122 of file TkrTrack.h.

Float_t TkrTrack::getResidual ( ) [inline]
 

access the residual associated with this track.

Definition at line 114 of file TkrTrack.h.

ParticleType TkrTrack::getTrackType ( ) [inline]
 

access the track type.

Definition at line 106 of file TkrTrack.h.

void TkrTrack::setChi2 ( Float_t chi ) [inline]
 

Definition at line 119 of file TkrTrack.h.

void TkrTrack::setEnergyDet ( Float_t ene ) [inline]
 

Definition at line 138 of file TkrTrack.h.

void TkrTrack::setEnergyInput ( Float_t ene ) [inline]
 

Definition at line 134 of file TkrTrack.h.

void TkrTrack::setFirstLayer ( UInt_t first ) [inline]
 

Definition at line 127 of file TkrTrack.h.

void TkrTrack::setId ( UShort_t id ) [inline]
 

Definition at line 103 of file TkrTrack.h.

void TkrTrack::setMother ( ParticleType mom ) [inline]
 

Definition at line 111 of file TkrTrack.h.

void TkrTrack::setQuality ( Float_t q ) [inline]
 

Definition at line 123 of file TkrTrack.h.

void TkrTrack::setResidual ( Float_t resid ) [inline]
 

Definition at line 115 of file TkrTrack.h.

void TkrTrack::setTrackType ( ParticleType type ) [inline]
 

Definition at line 107 of file TkrTrack.h.


Member Data Documentation

Float_t TkrTrack::m_chi2 [private]
 

chi**2 of the fit.

Definition at line 61 of file TkrTrack.h.

Float_t TkrTrack::m_energyDetermined [private]
 

energy determined using the tracker + cal.

Definition at line 73 of file TkrTrack.h.

Float_t TkrTrack::m_energyInput [private]
 

energy input from the cal.

Definition at line 70 of file TkrTrack.h.

UInt_t TkrTrack::m_firstLayer [private]
 

layer where the particle starts.

Definition at line 67 of file TkrTrack.h.

TObjArray * TkrTrack::m_hits [private]
 

list of hits associated with this track.

Definition at line 43 of file TkrTrack.h.

UShort_t TkrTrack::m_id [private]
 

track id - probably the position in a TObjArray?

Definition at line 49 of file TkrTrack.h.

TObjArray * TkrTrack::m_locator [private]
 

list of TkrLocators.

Definition at line 46 of file TkrTrack.h.

ParticleType TkrTrack::m_motherId [private]
 

id of the mother particle (-1 if none).

Definition at line 55 of file TkrTrack.h.

Float_t TkrTrack::m_quality [private]
 

quality measure of the track.

Definition at line 64 of file TkrTrack.h.

Float_t TkrTrack::m_residual [private]
 

residual.

Definition at line 58 of file TkrTrack.h.

ParticleType TkrTrack::m_type [private]
 

type of the track (gamma, e+, e-, hadron ...).

Definition at line 52 of file TkrTrack.h.


The documentation for this class was generated from the following files:
Generated at Mon Nov 26 18:20:06 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000