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

Station in muon detector layout. More...

#include <LitStationMuon.h>

Public Member Functions

 LitStationMuon ()
 Constructor. More...
 
virtual ~LitStationMuon ()
 Destructor. More...
 
void AddSubstation (const LitSubstationMuon< T > &substation)
 Add substation to station. More...
 
const LitSubstationMuon< T > & GetSubstation (unsigned short index) const
 Return substation by index. More...
 
unsigned char GetNofSubstations () const
 Return number of substations in station. More...
 
LitHitType GetType () const
 Return type of hits for station. More...
 
void SetType (LitHitType type)
 Set type of hits for station. More...
 
std::string ToString () const
 Return std::string representation for the class. More...
 

Private Attributes

LitHitType fType
 
std::vector< LitSubstationMuon< T > > fSubstations
 

Friends

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

Detailed Description

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

Station in muon detector layout.

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

Definition at line 26 of file LitStationMuon.h.

Constructor & Destructor Documentation

◆ LitStationMuon()

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

Constructor.

Definition at line 31 of file LitStationMuon.h.

◆ ~LitStationMuon()

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

Destructor.

Definition at line 36 of file LitStationMuon.h.

Member Function Documentation

◆ AddSubstation()

template<class T >
void lit::parallel::LitStationMuon< T >::AddSubstation ( const LitSubstationMuon< T > &  substation)
inline

Add substation to station.

Parameters
[in]substationSubstation to be added.

Definition at line 42 of file LitStationMuon.h.

References lit::parallel::LitStationMuon< T >::fSubstations.

◆ GetNofSubstations()

template<class T >
unsigned char lit::parallel::LitStationMuon< T >::GetNofSubstations ( ) const
inline

Return number of substations in station.

Returns
Number of substaions in station.

Definition at line 59 of file LitStationMuon.h.

References lit::parallel::LitStationMuon< T >::fSubstations.

Referenced by lit::parallel::LitTrackFitterMuon(), lit::parallel::LitTrackFinderNNVecMuon::ProcessStation(), and lit::parallel::LitStationMuon< T >::ToString().

◆ GetSubstation()

template<class T >
const LitSubstationMuon<T>& lit::parallel::LitStationMuon< T >::GetSubstation ( unsigned short  index) const
inline

Return substation by index.

Parameters
[in]indexIndex of substation.
Returns
Substation by index.

Definition at line 51 of file LitStationMuon.h.

References lit::parallel::LitStationMuon< T >::fSubstations.

Referenced by lit::parallel::LitTrackFinderNNVecMuon::ProcessStation(), and lit::parallel::LitStationMuon< T >::ToString().

◆ GetType()

template<class T >
LitHitType lit::parallel::LitStationMuon< T >::GetType ( ) const
inline

Return type of hits for station.

Returns
Type of hits for station.

Definition at line 65 of file LitStationMuon.h.

References lit::parallel::LitStationMuon< T >::fType.

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

◆ SetType()

template<class T >
void lit::parallel::LitStationMuon< T >::SetType ( LitHitType  type)
inline

Set type of hits for station.

Parameters
[in]typeType value.

Definition at line 71 of file LitStationMuon.h.

References lit::parallel::LitStationMuon< T >::fType.

◆ ToString()

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

Return std::string representation for the class.

Returns
std::string representation for the class.

Definition at line 77 of file LitStationMuon.h.

References lit::parallel::LitStationMuon< T >::GetNofSubstations(), lit::parallel::LitStationMuon< T >::GetSubstation(), lit::parallel::LitStationMuon< T >::GetType(), and i.

Friends And Related Function Documentation

◆ operator<<

template<class T >
std::ostream& operator<< ( std::ostream &  strm,
const LitStationMuon< T > &  station 
)
friend

Operator << for convenient output to std::ostream.

Returns
std::ostream for continuous output.

Definition at line 93 of file LitStationMuon.h.

Member Data Documentation

◆ fSubstations

◆ fType


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