CbmRoot
lit::parallel::LitTrack< T > Class Template Reference

Base track data class. More...

#include <LitTrack.h>

Collaboration diagram for lit::parallel::LitTrack< T >:
[legend]

Public Member Functions

 LitTrack ()
 Constructor. More...
 
virtual ~LitTrack ()
 Destructor. More...
 
void AddHit (LitPixelHit< T > *hit)
 Adds hit to track. More...
 
unsigned short GetNofHits () const
 Return number of hits in track. More...
 
string ToString () const
 Returns string representation of the class. More...
 

Public Attributes

LitTrackParam< T > paramLast
 
vector< LitPixelHit< T > * > hits
 
fscal chiSq
 

Friends

ostream & operator<< (ostream &strm, const LitTrack &track)
 Operator << for convenient output to ostream. More...
 

Detailed Description

template<class T>
class lit::parallel::LitTrack< T >

Base track data class.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2009

Definition at line 31 of file LitTrack.h.

Constructor & Destructor Documentation

◆ LitTrack()

template<class T >
lit::parallel::LitTrack< T >::LitTrack ( )
inline

Constructor.

Definition at line 36 of file LitTrack.h.

References lit::parallel::LitTrack< T >::hits.

◆ ~LitTrack()

template<class T >
virtual lit::parallel::LitTrack< T >::~LitTrack ( )
inlinevirtual

Destructor.

Definition at line 41 of file LitTrack.h.

Member Function Documentation

◆ AddHit()

template<class T >
void lit::parallel::LitTrack< T >::AddHit ( LitPixelHit< T > *  hit)
inline

Adds hit to track.

Parameters
[in]hitPointer to hit to be added.

Definition at line 47 of file LitTrack.h.

References lit::parallel::LitTrack< T >::hits.

◆ GetNofHits()

template<class T >
unsigned short lit::parallel::LitTrack< T >::GetNofHits ( ) const
inline

Return number of hits in track.

Returns
Number of hits in track.

Definition at line 53 of file LitTrack.h.

References lit::parallel::LitTrack< T >::hits.

Referenced by lit::parallel::PackTrack(), and lit::parallel::LitTrack< T >::ToString().

◆ ToString()

template<class T >
string lit::parallel::LitTrack< T >::ToString ( ) const
inline

Returns string representation of the class.

Returns
String representation of the class.

Definition at line 59 of file LitTrack.h.

References lit::parallel::LitTrack< T >::chiSq, lit::parallel::LitTrack< T >::GetNofHits(), and lit::parallel::LitTrack< T >::paramLast.

Friends And Related Function Documentation

◆ operator<<

template<class T >
ostream& operator<< ( ostream &  strm,
const LitTrack< T > &  track 
)
friend

Operator << for convenient output to ostream.

Returns
Insertion stream in order to be able to call a succession of insertion operations.

Definition at line 70 of file LitTrack.h.

Member Data Documentation

◆ chiSq

template<class T >
fscal lit::parallel::LitTrack< T >::chiSq

Definition at line 78 of file LitTrack.h.

Referenced by lit::parallel::LitTrack< T >::ToString().

◆ hits

◆ paramLast


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