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

#include <CbmRichMCbmDigiMapManager.h>

Collaboration diagram for CbmRichMCbmDigiMapManager:
[legend]

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.
 
CbmRichMCbmDigiMapManageroperator= (const CbmRichMCbmDigiMapManager &)
 Assignment operator.
 

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 24 of file CbmRichMCbmDigiMapManager.h.

Constructor & Destructor Documentation

◆ CbmRichMCbmDigiMapManager() [1/2]

CbmRichMCbmDigiMapManager::CbmRichMCbmDigiMapManager ( )
private

Definition at line 33 of file CbmRichMCbmDigiMapManager.cxx.

References Init().

◆ ~CbmRichMCbmDigiMapManager()

CbmRichMCbmDigiMapManager::~CbmRichMCbmDigiMapManager ( )
virtual

Definition at line 44 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 230 of file CbmRichMCbmDigiMapManager.cxx.

References v.

◆ GetDirectNeighbourPixels()

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

Definition at line 223 of file CbmRichMCbmDigiMapManager.cxx.

References v.

◆ GetInstance()

static CbmRichMCbmDigiMapManager & CbmRichMCbmDigiMapManager::GetInstance ( )
inlinestatic

Return Instance of CbmRichGeoManager.

Definition at line 32 of file CbmRichMCbmDigiMapManager.h.

◆ GetPixelAddressByPath()

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

Definition at line 185 of file CbmRichMCbmDigiMapManager.cxx.

References fPixelPathToAddressMap.

◆ GetPixelAddresses()

vector< Int_t > CbmRichMCbmDigiMapManager::GetPixelAddresses ( )

Definition at line 209 of file CbmRichMCbmDigiMapManager.cxx.

References fPixelAddresses.

◆ GetPixelDataByAddress()

CbmRichPixelData * CbmRichMCbmDigiMapManager::GetPixelDataByAddress ( Int_t address)

Definition at line 194 of file CbmRichMCbmDigiMapManager.cxx.

References fPixelAddressToDataMap.

◆ GetPmtDataById()

CbmRichPmtData * CbmRichMCbmDigiMapManager::GetPmtDataById ( Int_t id)

Definition at line 215 of file CbmRichMCbmDigiMapManager.cxx.

References fPmtIdToDataMap.

◆ GetPmtIds()

vector< Int_t > CbmRichMCbmDigiMapManager::GetPmtIds ( )

Definition at line 212 of file CbmRichMCbmDigiMapManager.cxx.

References fPmtIds.

◆ GetRandomPixelAddress()

Int_t CbmRichMCbmDigiMapManager::GetRandomPixelAddress ( )

Definition at line 202 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 87 of file CbmRichMCbmDigiMapManager.h.

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

◆ fPixelAddressToDataMap

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

Definition at line 86 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPixelDataByAddress(), and Init().

◆ fPixelPathToAddressMap

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

Definition at line 85 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPixelAddressByPath(), and Init().

◆ fPmtIds

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

Definition at line 91 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPmtIds(), and Init().

◆ fPmtIdToDataMap

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

Definition at line 90 of file CbmRichMCbmDigiMapManager.h.

Referenced by GetPmtDataById(), and Init().

◆ fPmtPathToIdMap

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

Definition at line 89 of file CbmRichMCbmDigiMapManager.h.

Referenced by Init().


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