travex
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
tvx::Track Class Reference

A simple persistent class describing a reconstructed charged particle track with a collection of track nodes. More...

#include <Track.h>

Inheritance diagram for tvx::Track:
tvx::GenericTrack< Event, std::set< TrackNode > >

Public Member Functions

 Track ()
 Constructs an orphan empty Track not associated with any Event. More...
 
 Track (Event *event)
 Constructs a empty Track without track nodes but associated with the provided Event. More...
 
virtual EventGetParentEvent ()
 
virtual const TrackNodeContainer_tGetNodes () const
 
virtual double GetEnergyLosses () const
 
virtual AddHitResult_t AddToParentEvent (const Hit &hit)
 
virtual void Print (Option_t *opt="") const
 
- Public Member Functions inherited from tvx::GenericTrack< Event, std::set< TrackNode > >
virtual ~GenericTrack ()
 
virtual AddHitResult_t AddToParentEvent (const typename HitContainer_t::value_type &hit)=0
 

Protected Attributes

EventfEvent
 Pointer to mother event containing this track. More...
 
TrackNodeContainer_t fNodes
 Container with all available track nodes/states. More...
 
double fEnergyLosses
 Total track energy lost in all volumes. More...
 

Additional Inherited Members

- Public Types inherited from tvx::GenericTrack< Event, std::set< TrackNode > >
typedef Event Event_t
 
typedef Event::AddHitResult_t AddHitResult_t
 
typedef Event::HitContainer_t HitContainer_t
 
typedef std::set< TrackNodeTrackNodeContainer_t
 

Detailed Description

A simple persistent class describing a reconstructed charged particle track with a collection of track nodes.

It is implemented as a specialization of a templated abstract GenericTrack.

Definition at line 23 of file Track.h.

Constructor & Destructor Documentation

tvx::Track::Track ( )

Constructs an orphan empty Track not associated with any Event.

Definition at line 11 of file Track.cxx.

tvx::Track::Track ( Event event)
explicit

Constructs a empty Track without track nodes but associated with the provided Event.

Definition at line 22 of file Track.cxx.

Member Function Documentation

tvx::Event::AddHitResult_t tvx::Track::AddToParentEvent ( const Hit hit)
virtual

Definition at line 28 of file Track.cxx.

virtual double tvx::Track::GetEnergyLosses ( ) const
inlinevirtual

Implements tvx::GenericTrack< Event, std::set< TrackNode > >.

Definition at line 32 of file Track.h.

virtual const TrackNodeContainer_t& tvx::Track::GetNodes ( ) const
inlinevirtual

Implements tvx::GenericTrack< Event, std::set< TrackNode > >.

Definition at line 31 of file Track.h.

virtual Event* tvx::Track::GetParentEvent ( )
inlinevirtual

Implements tvx::GenericTrack< Event, std::set< TrackNode > >.

Definition at line 30 of file Track.h.

void tvx::Track::Print ( Option_t *  opt = "") const
virtual

Definition at line 37 of file Track.cxx.

Member Data Documentation

double tvx::Track::fEnergyLosses
protected

Total track energy lost in all volumes.

Definition at line 45 of file Track.h.

Event* tvx::Track::fEvent
protected

Pointer to mother event containing this track.

Definition at line 39 of file Track.h.

TrackNodeContainer_t tvx::Track::fNodes
protected

Container with all available track nodes/states.

Definition at line 42 of file Track.h.


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