CbmRoot
|
Station in muon detector layout. More...
#include <LitStationMuon.h>
Public Member Functions | |
LitStationMuon () | |
Constructor. | |
virtual | ~LitStationMuon () |
Destructor. | |
void | AddSubstation (const LitSubstationMuon< T > &substation) |
Add substation to station. | |
const LitSubstationMuon< T > & | GetSubstation (unsigned short index) const |
Return substation by index. | |
unsigned char | GetNofSubstations () const |
Return number of substations in station. | |
LitHitType | GetType () const |
Return type of hits for station. | |
void | SetType (LitHitType type) |
Set type of hits for station. | |
std::string | ToString () const |
Return std::string representation for the class. | |
Private Attributes | |
LitHitType | fType |
std::vector< LitSubstationMuon< T > > | fSubstations |
Friends | |
std::ostream & | operator<< (std::ostream &strm, const LitStationMuon &station) |
Operator << for convenient output to std::ostream. | |
Station in muon detector layout.
Definition at line 32 of file LitStationMuon.h.
|
inline |
Constructor.
Definition at line 37 of file LitStationMuon.h.
|
inlinevirtual |
Destructor.
Definition at line 42 of file LitStationMuon.h.
|
inline |
Add substation to station.
[in] | substation | Substation to be added. |
Definition at line 48 of file LitStationMuon.h.
References lit::parallel::LitStationMuon< T >::fSubstations.
|
inline |
Return number of substations in station.
Definition at line 61 of file LitStationMuon.h.
References lit::parallel::LitStationMuon< T >::fSubstations.
Referenced by lit::parallel::LitTrackFitterMuon(), lit::parallel::LitTrackFinderNNVecMuon::ProcessStation(), and lit::parallel::LitStationMuon< T >::ToString().
|
inline |
Return substation by index.
[in] | index | Index of substation. |
Definition at line 55 of file LitStationMuon.h.
References lit::parallel::LitStationMuon< T >::fSubstations.
Referenced by lit::parallel::LitTrackFinderNNVecMuon::ProcessStation(), and lit::parallel::LitStationMuon< T >::ToString().
|
inline |
Return type of hits for station.
Definition at line 67 of file LitStationMuon.h.
References lit::parallel::LitStationMuon< T >::fType.
Referenced by lit::parallel::LitStationMuon< T >::ToString().
|
inline |
Set type of hits for station.
[in] | type | Type value. |
Definition at line 73 of file LitStationMuon.h.
References lit::parallel::LitStationMuon< T >::fType.
|
inline |
Return std::string representation for the class.
Definition at line 79 of file LitStationMuon.h.
References lit::parallel::LitStationMuon< T >::GetNofSubstations(), lit::parallel::LitStationMuon< T >::GetSubstation(), lit::parallel::LitStationMuon< T >::GetType(), and lit::parallel::ToString().
|
friend |
Operator << for convenient output to std::ostream.
Definition at line 93 of file LitStationMuon.h.
|
private |
Definition at line 101 of file LitStationMuon.h.
Referenced by lit::parallel::LitStationMuon< T >::AddSubstation(), lit::parallel::LitStationMuon< T >::GetNofSubstations(), and lit::parallel::LitStationMuon< T >::GetSubstation().
|
private |
Definition at line 100 of file LitStationMuon.h.
Referenced by lit::parallel::LitStationMuon< T >::GetType(), and lit::parallel::LitStationMuon< T >::SetType().