CbmRoot
CbmRichDigiMapManager Class Reference

#include <CbmRichDigiMapManager.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 ~CbmRichDigiMapManager ()
 

Static Public Member Functions

static CbmRichDigiMapManagerGetInstance ()
 

Private Member Functions

 CbmRichDigiMapManager ()
 
int getDetectorSetup (TString const nodePath)
 
void Init ()
 
 CbmRichDigiMapManager (const CbmRichDigiMapManager &)
 Copy constructor. More...
 
CbmRichDigiMapManageroperator= (const CbmRichDigiMapManager &)
 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 21 of file CbmRichDigiMapManager.h.

Constructor & Destructor Documentation

◆ CbmRichDigiMapManager() [1/2]

CbmRichDigiMapManager::CbmRichDigiMapManager ( )
private

Definition at line 27 of file CbmRichDigiMapManager.cxx.

References Init().

◆ ~CbmRichDigiMapManager()

CbmRichDigiMapManager::~CbmRichDigiMapManager ( )
virtual

Definition at line 37 of file CbmRichDigiMapManager.cxx.

◆ CbmRichDigiMapManager() [2/2]

CbmRichDigiMapManager::CbmRichDigiMapManager ( const CbmRichDigiMapManager )
private

Copy constructor.

Member Function Documentation

◆ getDetectorSetup()

int CbmRichDigiMapManager::getDetectorSetup ( TString const  nodePath)
private

Definition at line 309 of file CbmRichDigiMapManager.cxx.

Referenced by Init().

◆ GetDiagonalNeighbourPixels()

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

Definition at line 303 of file CbmRichDigiMapManager.cxx.

References v.

Referenced by CbmRichDigitizer::AddCrossTalkDigis().

◆ GetDirectNeighbourPixels()

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

Definition at line 296 of file CbmRichDigiMapManager.cxx.

References v.

Referenced by CbmRichDigitizer::AddCrossTalkDigis().

◆ GetInstance()

◆ GetPixelAddressByPath()

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

Definition at line 259 of file CbmRichDigiMapManager.cxx.

References fPixelPathToAddressMap.

Referenced by CbmRichDigitizer::ProcessPoint().

◆ GetPixelAddresses()

vector< Int_t > CbmRichDigiMapManager::GetPixelAddresses ( )

◆ GetPixelDataByAddress()

◆ GetPmtDataById()

CbmRichPmtData * CbmRichDigiMapManager::GetPmtDataById ( Int_t  id)

◆ GetPmtIds()

vector< Int_t > CbmRichDigiMapManager::GetPmtIds ( )

◆ GetRandomPixelAddress()

Int_t CbmRichDigiMapManager::GetRandomPixelAddress ( )

◆ Init()

◆ operator=()

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

Assignment operator.

Member Data Documentation

◆ fPixelAddresses

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

Definition at line 83 of file CbmRichDigiMapManager.h.

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

◆ fPixelAddressToDataMap

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

Definition at line 82 of file CbmRichDigiMapManager.h.

Referenced by GetPixelDataByAddress(), and Init().

◆ fPixelPathToAddressMap

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

Definition at line 81 of file CbmRichDigiMapManager.h.

Referenced by GetPixelAddressByPath(), and Init().

◆ fPmtIds

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

Definition at line 87 of file CbmRichDigiMapManager.h.

Referenced by GetPmtIds(), and Init().

◆ fPmtIdToDataMap

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

Definition at line 86 of file CbmRichDigiMapManager.h.

Referenced by GetPmtDataById(), and Init().

◆ fPmtPathToIdMap

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

Definition at line 85 of file CbmRichDigiMapManager.h.

Referenced by Init().


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