CbmRoot
CbmRichMCbmDigiMapManager Class Reference

#include <CbmRichMCbmDigiMapManager.h>

Public Member Functions

Int_t GetPixelAddressByPath (const std::string &path)
 
CbmRichPixelDataGetPixelDataByAddress (Int_t address)
 
std::vector< Int_t > GetDirectNeighbourPixels (Int_t address)
 
std::vector< Int_t > GetDiagonalNeighbourPixels (Int_t address)
 
Int_t GetRandomPixelAddress ()
 
std::vector< Int_t > GetPixelAddresses ()
 
std::vector< Int_t > GetPmtIds ()
 
CbmRichPmtDataGetPmtDataById (Int_t id)
 
virtual ~CbmRichMCbmDigiMapManager ()
 

Static Public Member Functions

static CbmRichMCbmDigiMapManagerGetInstance ()
 

Private Member Functions

 CbmRichMCbmDigiMapManager ()
 
void Init ()
 
 CbmRichMCbmDigiMapManager (const CbmRichMCbmDigiMapManager &)
 Copy constructor. More...
 
CbmRichMCbmDigiMapManageroperator= (const CbmRichMCbmDigiMapManager &)
 Assignment operator. More...
 

Private Attributes

std::map< std::string, Int_t > fPixelPathToAddressMap
 
std::map< Int_t, CbmRichPixelData * > fPixelAddressToDataMap
 
std::vector< Int_t > fPixelAddresses
 
std::map< std::string, Int_t > fPmtPathToIdMap
 
std::map< Int_t, CbmRichPmtData * > fPmtIdToDataMap
 
std::vector< Int_t > fPmtIds
 

Detailed Description

Definition at line 20 of file CbmRichMCbmDigiMapManager.h.

Constructor & Destructor Documentation

◆ CbmRichMCbmDigiMapManager() [1/2]

CbmRichMCbmDigiMapManager::CbmRichMCbmDigiMapManager ( )
private

Definition at line 28 of file CbmRichMCbmDigiMapManager.cxx.

References Init().

◆ ~CbmRichMCbmDigiMapManager()

CbmRichMCbmDigiMapManager::~CbmRichMCbmDigiMapManager ( )
virtual

Definition at line 38 of file CbmRichMCbmDigiMapManager.cxx.

◆ CbmRichMCbmDigiMapManager() [2/2]

CbmRichMCbmDigiMapManager::CbmRichMCbmDigiMapManager ( const CbmRichMCbmDigiMapManager )
private

Copy constructor.

Member Function Documentation

◆ GetDiagonalNeighbourPixels()

vector< Int_t > CbmRichMCbmDigiMapManager::GetDiagonalNeighbourPixels ( Int_t  address)

Definition at line 234 of file CbmRichMCbmDigiMapManager.cxx.

References v.

◆ GetDirectNeighbourPixels()

vector< Int_t > CbmRichMCbmDigiMapManager::GetDirectNeighbourPixels ( Int_t  address)

Definition at line 227 of file CbmRichMCbmDigiMapManager.cxx.

References v.

◆ GetInstance()

static CbmRichMCbmDigiMapManager& CbmRichMCbmDigiMapManager::GetInstance ( )
inlinestatic

Return Instance of CbmRichGeoManager.

Definition at line 28 of file CbmRichMCbmDigiMapManager.h.

◆ GetPixelAddressByPath()

Int_t CbmRichMCbmDigiMapManager::GetPixelAddressByPath ( const std::string &  path)

Definition at line 189 of file CbmRichMCbmDigiMapManager.cxx.

References fPixelPathToAddressMap.

◆ GetPixelAddresses()

vector< Int_t > CbmRichMCbmDigiMapManager::GetPixelAddresses ( )

Definition at line 211 of file CbmRichMCbmDigiMapManager.cxx.

References fPixelAddresses.

◆ GetPixelDataByAddress()

CbmRichPixelData * CbmRichMCbmDigiMapManager::GetPixelDataByAddress ( Int_t  address)

Definition at line 198 of file CbmRichMCbmDigiMapManager.cxx.

References fPixelAddressToDataMap.

◆ GetPmtDataById()

CbmRichPmtData * CbmRichMCbmDigiMapManager::GetPmtDataById ( Int_t  id)

Definition at line 219 of file CbmRichMCbmDigiMapManager.cxx.

References fPmtIdToDataMap.

◆ GetPmtIds()

vector< Int_t > CbmRichMCbmDigiMapManager::GetPmtIds ( )

Definition at line 216 of file CbmRichMCbmDigiMapManager.cxx.

References fPmtIds.

◆ GetRandomPixelAddress()

Int_t CbmRichMCbmDigiMapManager::GetRandomPixelAddress ( )

Definition at line 205 of file CbmRichMCbmDigiMapManager.cxx.

References fPixelAddresses.

◆ Init()

◆ operator=()

CbmRichMCbmDigiMapManager& CbmRichMCbmDigiMapManager::operator= ( const CbmRichMCbmDigiMapManager )
private

Assignment operator.

Member Data Documentation

◆ fPixelAddresses

std::vector<Int_t> CbmRichMCbmDigiMapManager::fPixelAddresses
private

Definition at line 82 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPixelAddresses(), GetRandomPixelAddress(), and Init().

◆ fPixelAddressToDataMap

std::map<Int_t, CbmRichPixelData*> CbmRichMCbmDigiMapManager::fPixelAddressToDataMap
private

Definition at line 81 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPixelDataByAddress(), and Init().

◆ fPixelPathToAddressMap

std::map<std::string, Int_t> CbmRichMCbmDigiMapManager::fPixelPathToAddressMap
private

Definition at line 80 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPixelAddressByPath(), and Init().

◆ fPmtIds

std::vector<Int_t> CbmRichMCbmDigiMapManager::fPmtIds
private

Definition at line 86 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPmtIds(), and Init().

◆ fPmtIdToDataMap

std::map<Int_t, CbmRichPmtData*> CbmRichMCbmDigiMapManager::fPmtIdToDataMap
private

Definition at line 85 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPmtDataById(), and Init().

◆ fPmtPathToIdMap

std::map<std::string, Int_t> CbmRichMCbmDigiMapManager::fPmtPathToIdMap
private

Definition at line 84 of file CbmRichMCbmDigiMapManager.h.

Referenced by Init().


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