CbmRoot
Loading...
Searching...
No Matches
CbmMvdDetectorId Class Reference

#include <CbmMvdDetectorId.h>

Inheritance diagram for CbmMvdDetectorId:
[legend]

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)
 

Detailed Description

CbmMvdDetectorId.h Defines unique detector identifier for all MVD components. Classes using this ID scheme should derive from this class.

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e Current definition: System ID (kMVD=1) on bits 0-4 Station number on bits 5-31

Definition at line 37 of file CbmMvdDetectorId.h.

Constructor & Destructor Documentation

◆ CbmMvdDetectorId()

CbmMvdDetectorId::CbmMvdDetectorId ( )

Constructor

Definition at line 14 of file CbmMvdDetectorId.cxx.

◆ ~CbmMvdDetectorId()

virtual CbmMvdDetectorId::~CbmMvdDetectorId ( )
inlinevirtual

Destructor

Definition at line 45 of file CbmMvdDetectorId.h.

Member Function Documentation

◆ ClassDef()

CbmMvdDetectorId::ClassDef ( CbmMvdDetectorId ,
1  )

◆ DetectorId()

int32_t CbmMvdDetectorId::DetectorId ( int32_t iStation) const
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().

◆ StationNr()

int32_t CbmMvdDetectorId::StationNr ( int32_t detectorId) const
inline

◆ SystemId()

int32_t CbmMvdDetectorId::SystemId ( int32_t detectorId) const
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().


The documentation for this class was generated from the following files: