CbmRoot
|
Muon detector layout. More...
#include <LitDetectorLayoutMuon.h>
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. | |
Muon detector layout.
Definition at line 37 of file LitDetectorLayoutMuon.h.
|
inline |
Constructor.
Definition at line 42 of file LitDetectorLayoutMuon.h.
|
inlinevirtual |
Destructor.
Definition at line 47 of file LitDetectorLayoutMuon.h.
|
inline |
Add station group to the layout.
stationGroup | Station group to be added. |
Definition at line 53 of file LitDetectorLayoutMuon.h.
References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.
|
inline |
Return number of station groups.
Definition at line 59 of file LitDetectorLayoutMuon.h.
References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.
Referenced by lit::parallel::LitTrackFitterMuon(), lit::parallel::LitHitDataMuon< T >::SetDetectorLayout(), and lit::parallel::LitDetectorLayoutMuon< T >::ToString().
|
inline |
Return number of stations for specified station group.
[in] | stationGroup | Station group index. |
Definition at line 66 of file LitDetectorLayoutMuon.h.
References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.
Referenced by lit::parallel::LitHitDataMuon< T >::SetDetectorLayout().
|
inline |
Return number of substations for specified station group and station.
[in] | stationGroup | Station group index. |
[in] | station | Station index. |
Definition at line 77 of file LitDetectorLayoutMuon.h.
References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.
Referenced by lit::parallel::LitHitDataMuon< T >::SetDetectorLayout().
|
inline |
Return station for specified station group and station indices.
[in] | stationGroup | Station group index. |
[in] | station | Station index. |
Definition at line 98 of file LitDetectorLayoutMuon.h.
References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.
|
inline |
Return station group for specified station group index.
[in] | stationGroup | Station group index. |
Definition at line 87 of file LitDetectorLayoutMuon.h.
References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.
Referenced by lit::parallel::LitDetectorLayoutMuon< T >::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.
References lit::parallel::LitDetectorLayoutMuon< T >::fStationGroups.
|
inline |
Return 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().
|
friend |
Operator << for convenient output to std::ostream.
Definition at line 134 of file LitDetectorLayoutMuon.h.
|
private |
Definition at line 141 of file LitDetectorLayoutMuon.h.
Referenced by lit::parallel::LitDetectorLayoutMuon< T >::AddStationGroup(), lit::parallel::LitDetectorLayoutMuon< T >::GetNofStationGroups(), lit::parallel::LitDetectorLayoutMuon< T >::GetNofStations(), lit::parallel::LitDetectorLayoutMuon< T >::GetNofSubstations(), lit::parallel::LitDetectorLayoutMuon< T >::GetStation(), lit::parallel::LitDetectorLayoutMuon< T >::GetStationGroup(), and lit::parallel::LitDetectorLayoutMuon< T >::GetSubstation().