CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual ~LitStation ()
 Destructor.
 
void AddVirtualStation (const LitVirtualStation< T > &virtualStation)
 Add virtual station to detector layout.
 
unsigned char GetNofVirtualStations () const
 Return number of virtual stations.
 
const LitVirtualStation< T > & GetVirtualStation (unsigned char virtualStation) const
 Return virtual station by index.
 
string ToString () const
 Returns string representation of the class.
 

Private Attributes

vector< LitVirtualStation< T > > fVirtualStations
 

Friends

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

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 38 of file LitStation.h.

Constructor & Destructor Documentation

◆ LitStation()

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

Constructor.

Definition at line 43 of file LitStation.h.

◆ ~LitStation()

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

Destructor.

Definition at line 48 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 54 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 60 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 67 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 76 of file LitStation.h.

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

Friends And Related Symbol 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 91 of file LitStation.h.

Member Data Documentation

◆ fVirtualStations


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