18#ifndef LITDETECTORLAYOUTMUON_H_
19#define LITDETECTORLAYOUTMUON_H_
79 return fStationGroups[stationGroup].GetStation(station).GetNofSubstations();
111 unsigned char substation)
const
113 return fStationGroups[stationGroup].GetStation(station).GetSubstation(substation);
unsigned char GetNofStationGroups() const
Return number of station groups.
const LitStationMuon< T > & GetStation(unsigned char stationGroup, unsigned char station) const
Return station for specified station group and station indices.
unsigned char GetNofStations(unsigned char stationGroup) const
Return number of stations for specified station group.
std::vector< LitStationGroupMuon< T > > fStationGroups
void AddStationGroup(const LitStationGroupMuon< T > &stationGroup)
Add station group to the layout.
unsigned char GetNofSubstations(unsigned char stationGroup, unsigned char station) const
Return number of substations for specified station group and station.
friend std::ostream & operator<<(std::ostream &strm, const LitDetectorLayoutMuon &layout)
Operator << for convenient output to std::ostream.
LitDetectorLayoutMuon()
Constructor.
const LitSubstationMuon< T > & GetSubstation(unsigned char stationGroup, unsigned char station, unsigned char substation) const
Return substation for specified station group, station and substation indices.
const LitStationGroupMuon< T > & GetStationGroup(unsigned char stationGroup) const
Return station group for specified station group index.
std::string ToString() const
Return std::string representation of the class.
virtual ~LitDetectorLayoutMuon()
Destructor.
Station in muon detector layout.
Substation in muon detector layout.
LitDetectorLayoutMuon< fvec > LitDetectorLayoutMuonVec
class lit::parallel::LitDetectorLayout _fvecalignment
LitDetectorLayoutMuon< fscal > LitDetectorLayoutMuonScal
std::string ToString(const T &value)
Function converts object into a std::string.