CbmRoot
Loading...
Searching...
No Matches
lit::parallel::LitStationMuon< T > Class Template Reference

Station in muon detector layout. More...

#include <LitStationMuon.h>

Public Member Functions

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

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.
 

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 32 of file LitStationMuon.h.

Constructor & Destructor Documentation

◆ LitStationMuon()

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

Constructor.

Definition at line 37 of file LitStationMuon.h.

◆ ~LitStationMuon()

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

Destructor.

Definition at line 42 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 48 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 61 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 55 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 67 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 73 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 79 of file LitStationMuon.h.

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

Friends And Related Symbol 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: