CbmRoot
|
#include <CbmMvdDetectorId.h>
Public Member Functions | |
CbmMvdDetectorId () | |
virtual | ~CbmMvdDetectorId () |
int32_t | DetectorId (int32_t iStation) const |
int32_t | SystemId (int32_t detectorId) const |
int32_t | StationNr (int32_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 37 of file CbmMvdDetectorId.h.
CbmMvdDetectorId::CbmMvdDetectorId | ( | ) |
Constructor
Definition at line 14 of file CbmMvdDetectorId.cxx.
|
inlinevirtual |
Destructor
Definition at line 45 of file CbmMvdDetectorId.h.
CbmMvdDetectorId::ClassDef | ( | CbmMvdDetectorId | , |
1 | ) |
|
inline |
Create unique detector ID from station number
Definition at line 49 of file CbmMvdDetectorId.h.
References kMvd, and ToIntegralType().
Referenced by CbmMvdDetector::AddSensor(), CbmMvdHit::CbmMvdHit(), CbmMvdPoint::CbmMvdPoint(), CbmMvdCluster::GetDetectorId(), and CbmMvdHitfinder::ProcessData().
|
inline |
Get station number from detector ID
Definition at line 65 of file CbmMvdDetectorId.h.
Referenced by CbmMvdDigi::GetStationNr(), CbmMvdHit::GetStationNr(), CbmMvdPoint::GetStationNr(), and CbmMvdTrackingInterface::GetTrackingStationIndex().
|
inline |
Get System identifier from detector ID
Definition at line 53 of file CbmMvdDetectorId.h.
References kMvd, and ToIntegralType().
Referenced by CbmMvdHit::GetSystemId(), and CbmMvdPoint::GetSystemId().