CbmRoot
|
#include <CbmMvdDetectorId.h>
Public Member Functions | |
CbmMvdDetectorId () | |
virtual | ~CbmMvdDetectorId () |
Int_t | DetectorId (Int_t iStation) const |
Int_t | SystemId (Int_t detectorId) const |
Int_t | StationNr (Int_t detectorId) const |
ClassDef (CbmMvdDetectorId, 1) | |
CbmMvdDetectorId.h Defines unique detector identifier for all MVD components. Classes using this ID scheme should derive from this class.
Definition at line 32 of file CbmMvdDetectorId.h.
CbmMvdDetectorId::CbmMvdDetectorId | ( | ) |
Constructor
Definition at line 10 of file CbmMvdDetectorId.cxx.
|
inlinevirtual |
Destructor
Definition at line 40 of file CbmMvdDetectorId.h.
CbmMvdDetectorId::ClassDef | ( | CbmMvdDetectorId | , |
1 | |||
) |
|
inline |
Create unique detector ID from station number
Definition at line 44 of file CbmMvdDetectorId.h.
References kMvd, and ToIntegralType().
Referenced by CbmMvdHit::CbmMvdHit(), CbmMvdPoint::CbmMvdPoint(), and CbmMvdCluster::GetDetectorId().
|
inline |
Get station number from detector ID
Definition at line 61 of file CbmMvdDetectorId.h.
Referenced by CbmMvdDigi::GetStationNr(), CbmMvdHit::GetStationNr(), and CbmMvdPoint::GetStationNr().
|
inline |
Get System identifier from detector ID
Definition at line 50 of file CbmMvdDetectorId.h.
References kMvd, and ToIntegralType().
Referenced by CbmMvdHit::GetSystemId(), and CbmMvdPoint::GetSystemId().