Go to the documentation of this file.
14 #ifndef LITDETECTORLAYOUTMUON_H_
15 #define LITDETECTORLAYOUTMUON_H_
75 unsigned char station)
const {
98 unsigned char station)
const {
111 unsigned char station,
112 unsigned char substation)
const {
113 return fStationGroups[stationGroup].GetStation(station).GetSubstation(
123 "LitDetectorLayoutMuon: nofStationGroups="
126 str += lit::parallel::ToString<int>((
int)
i) +
" "
143 std::vector<LitStationGroupMuon<T>>
Substation in muon detector layout.
std::vector< LitStationGroupMuon< T > > fStationGroups
LitDetectorLayoutMuon< fvec > LitDetectorLayoutMuonVec
void AddStationGroup(const LitStationGroupMuon< T > &stationGroup)
Add station group to the layout.
class lit::parallel::LitDetectorLayout _fvecalignment
const LitSubstationMuon< T > & GetSubstation(unsigned char stationGroup, unsigned char station, unsigned char substation) const
Return substation for specified station group, station and substation indices.
LitDetectorLayoutMuon< fscal > LitDetectorLayoutMuonScal
const LitStationMuon< T > & GetStation(unsigned char stationGroup, unsigned char station) const
Return station for specified station group and station indices.
const LitStationGroupMuon< T > & GetStationGroup(unsigned char stationGroup) const
Return station group for specified station group index.
unsigned char GetNofStations(unsigned char stationGroup) const
Return number of stations for specified station group.
virtual ~LitDetectorLayoutMuon()
Destructor.
LitDetectorLayoutMuon()
Constructor.
unsigned char GetNofSubstations(unsigned char stationGroup, unsigned char station) const
Return number of substations for specified station group and station.
std::string ToString() const
Return std::string representation of the class.
Station in muon detector layout.
friend std::ostream & operator<<(std::ostream &strm, const LitDetectorLayoutMuon &layout)
Operator << for convenient output to std::ostream.
unsigned char GetNofStationGroups() const
Return number of station groups.