CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual ~LitDetectorLayoutMuon ()
 Destructor.
 
void AddStationGroup (const LitStationGroupMuon< T > &stationGroup)
 Add station group to the layout.
 
unsigned char GetNofStationGroups () const
 Return number of station groups.
 
unsigned char GetNofStations (unsigned char stationGroup) const
 Return number of stations for specified station group.
 
unsigned char GetNofSubstations (unsigned char stationGroup, unsigned char station) const
 Return number of substations for specified station group and station.
 
const LitStationGroupMuon< T > & GetStationGroup (unsigned char stationGroup) const
 Return station group for specified station group index.
 
const LitStationMuon< T > & GetStation (unsigned char stationGroup, unsigned char station) const
 Return station for specified station group and station indices.
 
const LitSubstationMuon< T > & GetSubstation (unsigned char stationGroup, unsigned char station, unsigned char substation) const
 Return substation for specified station group, station and substation indices.
 
std::string ToString () const
 Return std::string representation of the class.
 

Private Attributes

std::vector< LitStationGroupMuon< T > > fStationGroups
 

Friends

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

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

Constructor & Destructor Documentation

◆ LitDetectorLayoutMuon()

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

Constructor.

Definition at line 42 of file LitDetectorLayoutMuon.h.

◆ ~LitDetectorLayoutMuon()

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

Destructor.

Definition at line 47 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 53 of file LitDetectorLayoutMuon.h.

References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.

◆ GetNofStationGroups()

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

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

References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.

Referenced by lit::parallel::LitHitDataMuon< T >::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 77 of file LitDetectorLayoutMuon.h.

References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.

Referenced by lit::parallel::LitHitDataMuon< T >::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 98 of file LitDetectorLayoutMuon.h.

References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.

◆ 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.

References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.

Referenced by lit::parallel::LitDetectorLayoutMuon< T >::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.

References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.

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

References lit::parallel::LitDetectorLayoutMuon< T >::GetNofStationGroups(), lit::parallel::LitDetectorLayoutMuon< T >::GetStationGroup(), and lit::parallel::ToString().

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

Member Data Documentation

◆ fStationGroups


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