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

Muon detector layout. More...

#include <LitDetectorLayoutMuon.h>

Inheritance diagram for lit::parallel::LitDetectorLayoutMuon< T >:
[legend]

Public Member Functions

 LitDetectorLayoutMuon ()
 Constructor. More...
 
virtual ~LitDetectorLayoutMuon ()
 Destructor. More...
 
void AddStationGroup (const LitStationGroupMuon< T > &stationGroup)
 Add station group to the layout. More...
 
unsigned char GetNofStationGroups () const
 Return number of station groups. More...
 
unsigned char GetNofStations (unsigned char stationGroup) const
 Return number of stations for specified station group. More...
 
unsigned char GetNofSubstations (unsigned char stationGroup, unsigned char station) const
 Return number of substations for specified station group and station. More...
 
const LitStationGroupMuon< T > & GetStationGroup (unsigned char stationGroup) const
 Return station group for specified station group index. More...
 
const LitStationMuon< T > & GetStation (unsigned char stationGroup, unsigned char station) const
 Return station for specified station group and station indices. More...
 
const LitSubstationMuon< T > & GetSubstation (unsigned char stationGroup, unsigned char station, unsigned char substation) const
 Return substation for specified station group, station and substation indices. More...
 
std::string ToString () const
 Return std::string representation of the class. More...
 

Private Attributes

std::vector< LitStationGroupMuon< T > > fStationGroups
 

Friends

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

Detailed Description

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

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 31 of file LitDetectorLayoutMuon.h.

Constructor & Destructor Documentation

◆ LitDetectorLayoutMuon()

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

Constructor.

Definition at line 36 of file LitDetectorLayoutMuon.h.

◆ ~LitDetectorLayoutMuon()

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

Destructor.

Definition at line 41 of file LitDetectorLayoutMuon.h.

Member Function Documentation

◆ AddStationGroup()

template<class T >
void lit::parallel::LitDetectorLayoutMuon< T >::AddStationGroup ( const LitStationGroupMuon< T > &  stationGroup)
inline

Add station group to the layout.

Parameters
stationGroupStation group to be added.

Definition at line 47 of file LitDetectorLayoutMuon.h.

◆ GetNofStationGroups()

template<class T >
unsigned char lit::parallel::LitDetectorLayoutMuon< T >::GetNofStationGroups ( ) const
inline

Return number of station groups.

Returns
Number of station groups.

Definition at line 55 of file LitDetectorLayoutMuon.h.

Referenced by lit::parallel::LitTrackFitterMuon(), lit::parallel::LitHitDataMuon< F32vec4 >::SetDetectorLayout(), and lit::parallel::LitDetectorLayoutMuon< F32vec4 >::ToString().

◆ GetNofStations()

template<class T >
unsigned char lit::parallel::LitDetectorLayoutMuon< T >::GetNofStations ( unsigned char  stationGroup) const
inline

Return number of stations for specified station group.

Parameters
[in]stationGroupStation group index.
Returns
Number of stations for specified station group.

Definition at line 64 of file LitDetectorLayoutMuon.h.

Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::SetDetectorLayout().

◆ GetNofSubstations()

template<class T >
unsigned char lit::parallel::LitDetectorLayoutMuon< T >::GetNofSubstations ( unsigned char  stationGroup,
unsigned char  station 
) const
inline

Return number of substations for specified station group and station.

Parameters
[in]stationGroupStation group index.
[in]stationStation index.
Returns
Number of substations for specified station group and station.

Definition at line 74 of file LitDetectorLayoutMuon.h.

Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::SetDetectorLayout().

◆ GetStation()

template<class T >
const LitStationMuon<T>& lit::parallel::LitDetectorLayoutMuon< T >::GetStation ( unsigned char  stationGroup,
unsigned char  station 
) const
inline

Return station for specified station group and station indices.

Parameters
[in]stationGroupStation group index.
[in]stationStation index.
Returns
Station for specified station group and station indices.

Definition at line 97 of file LitDetectorLayoutMuon.h.

◆ GetStationGroup()

template<class T >
const LitStationGroupMuon<T>& lit::parallel::LitDetectorLayoutMuon< T >::GetStationGroup ( unsigned char  stationGroup) const
inline

Return station group for specified station group index.

Parameters
[in]stationGroupStation group index.
Returns
Station group for specified station group index.

Definition at line 87 of file LitDetectorLayoutMuon.h.

Referenced by lit::parallel::LitDetectorLayoutMuon< F32vec4 >::ToString().

◆ GetSubstation()

template<class T >
const LitSubstationMuon<T>& lit::parallel::LitDetectorLayoutMuon< T >::GetSubstation ( unsigned char  stationGroup,
unsigned char  station,
unsigned char  substation 
) const
inline

Return substation for specified station group, station and substation indices.

Parameters
[in]stationGroupStation group index.
[in]stationStation index.
[in]substationSubstation index.
Returns
[in] Substation for specified station group, station and substation indices.

Definition at line 110 of file LitDetectorLayoutMuon.h.

◆ ToString()

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

Return std::string representation of the class.

Returns
std::string representation of the class.

Definition at line 121 of file LitDetectorLayoutMuon.h.

Friends And Related Function Documentation

◆ operator<<

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

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

Returns
std::ostream for continuous output.

Definition at line 136 of file LitDetectorLayoutMuon.h.

Member Data Documentation

◆ fStationGroups


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