CbmRoot
|
Muon detector layout. More...
#include <LitDetectorLayoutMuon.h>
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... | |
Muon detector layout.
Definition at line 31 of file LitDetectorLayoutMuon.h.
|
inline |
Constructor.
Definition at line 36 of file LitDetectorLayoutMuon.h.
|
inlinevirtual |
Destructor.
Definition at line 41 of file LitDetectorLayoutMuon.h.
|
inline |
Add station group to the layout.
stationGroup | Station group to be added. |
Definition at line 47 of file LitDetectorLayoutMuon.h.
|
inline |
Return 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().
|
inline |
Return number of stations for specified station group.
[in] | stationGroup | Station group index. |
Definition at line 64 of file LitDetectorLayoutMuon.h.
Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::SetDetectorLayout().
|
inline |
Return number of substations for specified station group and station.
[in] | stationGroup | Station group index. |
[in] | station | Station index. |
Definition at line 74 of file LitDetectorLayoutMuon.h.
Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::SetDetectorLayout().
|
inline |
Return station for specified station group and station indices.
[in] | stationGroup | Station group index. |
[in] | station | Station index. |
Definition at line 97 of file LitDetectorLayoutMuon.h.
|
inline |
Return station group for specified station group index.
[in] | stationGroup | Station group index. |
Definition at line 87 of file LitDetectorLayoutMuon.h.
Referenced by lit::parallel::LitDetectorLayoutMuon< F32vec4 >::ToString().
|
inline |
Return substation for specified station group, station and substation indices.
[in] | stationGroup | Station group index. |
[in] | station | Station index. |
[in] | substation | Substation index. |
Definition at line 110 of file LitDetectorLayoutMuon.h.
|
inline |
Return std::string representation of the class.
Definition at line 121 of file LitDetectorLayoutMuon.h.
|
friend |
Operator << for convenient output to std::ostream.
Definition at line 136 of file LitDetectorLayoutMuon.h.
|
private |
Definition at line 144 of file LitDetectorLayoutMuon.h.
Referenced by lit::parallel::LitDetectorLayoutMuon< F32vec4 >::AddStationGroup(), lit::parallel::LitDetectorLayoutMuon< F32vec4 >::GetNofStationGroups(), lit::parallel::LitDetectorLayoutMuon< F32vec4 >::GetNofStations(), lit::parallel::LitDetectorLayoutMuon< F32vec4 >::GetNofSubstations(), lit::parallel::LitDetectorLayoutMuon< F32vec4 >::GetStation(), lit::parallel::LitDetectorLayoutMuon< F32vec4 >::GetStationGroup(), and lit::parallel::LitDetectorLayoutMuon< F32vec4 >::GetSubstation().