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

Detector station. More...

#include <LitStation.h>

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

Public Member Functions

 LitStation ()
 Constructor. More...
 
virtual ~LitStation ()
 Destructor. More...
 
void AddVirtualStation (const LitVirtualStation< T > &virtualStation)
 Add virtual station to detector layout. More...
 
unsigned char GetNofVirtualStations () const
 Return number of virtual stations. More...
 
const LitVirtualStation< T > & GetVirtualStation (unsigned char virtualStation) const
 Return virtual station by index. More...
 
string ToString () const
 Returns string representation of the class. More...
 

Private Attributes

vector< LitVirtualStation< T > > fVirtualStations
 

Friends

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

Detailed Description

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

Detector station.

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

Station stores list of virtual stations which are used in track propagation.

Definition at line 31 of file LitStation.h.

Constructor & Destructor Documentation

◆ LitStation()

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

Constructor.

Definition at line 36 of file LitStation.h.

◆ ~LitStation()

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

Destructor.

Definition at line 41 of file LitStation.h.

Member Function Documentation

◆ AddVirtualStation()

template<class T >
void lit::parallel::LitStation< T >::AddVirtualStation ( const LitVirtualStation< T > &  virtualStation)
inline

Add virtual station to detector layout.

Parameters
[in]virtualStationVirtual station to be added.

Definition at line 47 of file LitStation.h.

References lit::parallel::LitStation< T >::fVirtualStations.

Referenced by CbmLitTrackingGeometryConstructor::GetMuchLayout(), and CbmLitTrackingGeometryConstructor::GetTrdLayout().

◆ GetNofVirtualStations()

template<class T >
unsigned char lit::parallel::LitStation< T >::GetNofVirtualStations ( ) const
inline

Return number of virtual stations.

Returns
Number of virtual stations.

Definition at line 55 of file LitStation.h.

References lit::parallel::LitStation< T >::fVirtualStations.

Referenced by lit::parallel::LitTrackFinderNN::PropagateToStation(), and lit::parallel::LitStation< T >::ToString().

◆ GetVirtualStation()

template<class T >
const LitVirtualStation<T>& lit::parallel::LitStation< T >::GetVirtualStation ( unsigned char  virtualStation) const
inline

Return virtual station by index.

Parameters
[in]stationVirtual station index.
Returns
Virtual station by index.

Definition at line 65 of file LitStation.h.

References lit::parallel::LitStation< T >::fVirtualStations.

Referenced by lit::parallel::LitTrackFinderNN::PropagateToStation(), and lit::parallel::LitStation< T >::ToString().

◆ ToString()

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

Returns string representation of the class.

Returns
String representation of the class.

Definition at line 73 of file LitStation.h.

References lit::parallel::LitStation< T >::GetNofVirtualStations(), lit::parallel::LitStation< T >::GetVirtualStation(), and i.

Friends And Related Function Documentation

◆ operator<<

template<class T >
ostream& operator<< ( ostream &  strm,
const LitStation< T > &  station 
)
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 88 of file LitStation.h.

Member Data Documentation

◆ fVirtualStations


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