CbmRoot
Loading...
Searching...
No Matches
CbmTofDetectorId Class Referenceabstract

#include <CbmTofDetectorId.h>

Inheritance diagram for CbmTofDetectorId:
[legend]

Public Member Functions

 CbmTofDetectorId ()
 
virtual ~CbmTofDetectorId ()
 
virtual CbmTofDetectorInfo GetDetectorInfo (const int32_t detectorId)=0
 
virtual int32_t GetSystemId (int32_t detectorId)=0
 
virtual int32_t GetSMType (const int32_t detectorId)=0
 
virtual int32_t GetSModule (const int32_t detectorId)=0
 
virtual int32_t GetCounter (const int32_t detectorId)=0
 
virtual int32_t GetGap (const int32_t detectorId)=0
 
virtual int32_t GetCell (const int32_t detectorId)=0
 
virtual int32_t GetRegion (const int32_t detectorId)=0
 
virtual int32_t GetCellId (const int32_t detectorId)=0
 
virtual int32_t SetDetectorInfo (const CbmTofDetectorInfo detectorInfo)=0
 

Detailed Description

Definition at line 68 of file CbmTofDetectorId.h.

Constructor & Destructor Documentation

◆ CbmTofDetectorId()

◆ ~CbmTofDetectorId()

virtual CbmTofDetectorId::~CbmTofDetectorId ( )
inlinevirtual

Destructor

Definition at line 76 of file CbmTofDetectorId.h.

Member Function Documentation

◆ GetCell()

virtual int32_t CbmTofDetectorId::GetCell ( const int32_t detectorId)
pure virtual

Get cell number from detector ID

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.

◆ GetCellId()

virtual int32_t CbmTofDetectorId::GetCellId ( const int32_t detectorId)
pure virtual

Get cell number from detector ID

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.

◆ GetCounter()

virtual int32_t CbmTofDetectorId::GetCounter ( const int32_t detectorId)
pure virtual

Get counter number from detector ID

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.

◆ GetDetectorInfo()

virtual CbmTofDetectorInfo CbmTofDetectorId::GetDetectorInfo ( const int32_t detectorId)
pure virtual

Get System identifier from detector ID Get complete system info from detector ID This will return a pointer to an integer array of length array_length

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.

◆ GetGap()

virtual int32_t CbmTofDetectorId::GetGap ( const int32_t detectorId)
pure virtual

Get gap number from detector ID

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.

◆ GetRegion()

virtual int32_t CbmTofDetectorId::GetRegion ( const int32_t detectorId)
pure virtual

Get region number from detector ID

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.

◆ GetSModule()

virtual int32_t CbmTofDetectorId::GetSModule ( const int32_t detectorId)
pure virtual

Get SModule number from detector ID

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.

◆ GetSMType()

virtual int32_t CbmTofDetectorId::GetSMType ( const int32_t detectorId)
pure virtual

Get SMType from detector ID

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.

◆ GetSystemId()

virtual int32_t CbmTofDetectorId::GetSystemId ( int32_t detectorId)
pure virtual

◆ SetDetectorInfo()

virtual int32_t CbmTofDetectorId::SetDetectorInfo ( const CbmTofDetectorInfo detectorInfo)
pure virtual

Calculate the unique detector ID This will return a pointer to an integer array of length array_length

Implemented in CbmTofDetectorId_v07a, CbmTofDetectorId_v12b, CbmTofDetectorId_v14a, and CbmTofDetectorId_v21a.


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