Go to the documentation of this file.
8 #ifndef LITSTATIONMUON_H_
9 #define LITSTATIONMUON_H_
11 #include "../LitEnums.h"
79 "LitStationMuon: type="
80 + lit::parallel::ToString<LitHitType>(
GetType()) +
", nofSubstations="
83 str +=
" " + lit::parallel::ToString<int>((
int)
i) +
" "
101 std::vector<LitSubstationMuon<T>>
Substation in muon detector layout.
std::vector< LitSubstationMuon< T > > fSubstations
unsigned char GetNofSubstations() const
Return number of substations in station.
std::string ToString() const
Return std::string representation for the class.
class lit::parallel::LitDetectorLayout _fvecalignment
LitHitType
Type of the hit and station.
friend std::ostream & operator<<(std::ostream &strm, const LitStationMuon &station)
Operator << for convenient output to std::ostream.
LitHitType GetType() const
Return type of hits for station.
virtual ~LitStationMuon()
Destructor.
const LitSubstationMuon< T > & GetSubstation(unsigned short index) const
Return substation by index.
void AddSubstation(const LitSubstationMuon< T > &substation)
Add substation to station.
LitStationMuon()
Constructor.
LitStationMuon< fvec > LitStationMuonVec
LitStationMuon< fscal > LitStationMuonScal
Station in muon detector layout.
void SetType(LitHitType type)
Set type of hits for station.