CbmRoot
|
#include <CbmRichDigiMapManager.h>
Public Member Functions | |
Int_t | GetPixelAddressByPath (const std::string &path) |
CbmRichPixelData * | GetPixelDataByAddress (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 () |
CbmRichPmtData * | GetPmtDataById (Int_t id) |
virtual | ~CbmRichDigiMapManager () |
Static Public Member Functions | |
static CbmRichDigiMapManager & | GetInstance () |
Private Member Functions | |
CbmRichDigiMapManager () | |
int | getDetectorSetup (TString const nodePath) |
void | Init () |
CbmRichDigiMapManager (const CbmRichDigiMapManager &) | |
Copy constructor. More... | |
CbmRichDigiMapManager & | operator= (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 |
Definition at line 21 of file CbmRichDigiMapManager.h.
|
private |
Definition at line 27 of file CbmRichDigiMapManager.cxx.
References Init().
|
virtual |
Definition at line 37 of file CbmRichDigiMapManager.cxx.
|
private |
Copy constructor.
|
private |
Definition at line 309 of file CbmRichDigiMapManager.cxx.
Referenced by Init().
vector< Int_t > CbmRichDigiMapManager::GetDiagonalNeighbourPixels | ( | Int_t | address | ) |
Definition at line 303 of file CbmRichDigiMapManager.cxx.
References v.
Referenced by CbmRichDigitizer::AddCrossTalkDigis().
vector< Int_t > CbmRichDigiMapManager::GetDirectNeighbourPixels | ( | Int_t | address | ) |
Definition at line 296 of file CbmRichDigiMapManager.cxx.
References v.
Referenced by CbmRichDigitizer::AddCrossTalkDigis().
|
inlinestatic |
Return Instance of CbmRichGeoManager.
Definition at line 29 of file CbmRichDigiMapManager.h.
Referenced by CbmRichDigitizer::AddCrossTalkDigis(), CbmRichDigitizer::AddDigisToOutputArray(), CbmRichDigitizer::AddNoiseDigis(), CbmRichGeoTest::DrawPmtPoint(), CbmRichGeoTest::DrawPmts(), CbmLitFieldQa::FillRichPmtPlaneBHistos(), CbmRichDigitizer::GenerateNoiseBetweenEvents(), CbmRichDraw::GetPmtHistBins(), CbmRichDigitizer::Init(), CbmRichUrqmdTest::NofHitsAndPoints(), CbmRichMCbmHitProducer::ProcessDigi(), CbmRichHitProducer::ProcessDigi(), and CbmRichDigitizer::ProcessPoint().
Int_t CbmRichDigiMapManager::GetPixelAddressByPath | ( | const std::string & | path | ) |
Definition at line 259 of file CbmRichDigiMapManager.cxx.
References fPixelPathToAddressMap.
Referenced by CbmRichDigitizer::ProcessPoint().
vector< Int_t > CbmRichDigiMapManager::GetPixelAddresses | ( | ) |
Definition at line 280 of file CbmRichDigiMapManager.cxx.
References fPixelAddresses.
Referenced by CbmRichDigitizer::AddNoiseDigis(), CbmRichGeoTest::DrawPmts(), CbmLitFieldQa::FillRichPmtPlaneBHistos(), and CbmRichDigitizer::GenerateNoiseBetweenEvents().
CbmRichPixelData * CbmRichDigiMapManager::GetPixelDataByAddress | ( | Int_t | address | ) |
Definition at line 267 of file CbmRichDigiMapManager.cxx.
References fPixelAddressToDataMap.
Referenced by CbmRichDigitizer::AddDigisToOutputArray(), CbmRichGeoTest::DrawPmtPoint(), CbmRichGeoTest::DrawPmts(), CbmLitFieldQa::FillRichPmtPlaneBHistos(), CbmRichUrqmdTest::NofHitsAndPoints(), CbmRichMCbmHitProducer::ProcessDigi(), and CbmRichHitProducer::ProcessDigi().
CbmRichPmtData * CbmRichDigiMapManager::GetPmtDataById | ( | Int_t | id | ) |
Definition at line 288 of file CbmRichDigiMapManager.cxx.
References fPmtIdToDataMap.
Referenced by CbmRichGeoTest::DrawPmtPoint(), CbmRichDraw::GetPmtHistBins(), and CbmRichUrqmdTest::NofHitsAndPoints().
vector< Int_t > CbmRichDigiMapManager::GetPmtIds | ( | ) |
Definition at line 285 of file CbmRichDigiMapManager.cxx.
References fPmtIds.
Referenced by CbmRichGeoTest::DrawPmts(), CbmRichDraw::GetPmtHistBins(), and CbmRichUrqmdTest::NofHitsAndPoints().
Int_t CbmRichDigiMapManager::GetRandomPixelAddress | ( | ) |
Definition at line 274 of file CbmRichDigiMapManager.cxx.
References fPixelAddresses.
Referenced by CbmRichDigitizer::AddNoiseDigis(), and CbmRichDigitizer::GenerateNoiseBetweenEvents().
|
private |
Definition at line 39 of file CbmRichDigiMapManager.cxx.
References CbmRichPixelData::fAddress, CbmRichPmtData::fHeight, CbmRichPmtData::fId, CbmRichPmtData::fPixelAddresses, fPixelAddresses, fPixelAddressToDataMap, fPixelPathToAddressMap, CbmRichPixelData::fPmtId, fPmtIds, fPmtIdToDataMap, fPmtPathToIdMap, CbmRichPmtData::fWidth, CbmRichPixelData::fX, CbmRichPmtData::fX, CbmRichPixelData::fY, CbmRichPmtData::fY, CbmRichPixelData::fZ, CbmRichPmtData::fZ, getDetectorSetup(), shape, x, and y.
Referenced by CbmRichDigiMapManager().
|
private |
Assignment operator.
|
private |
Definition at line 83 of file CbmRichDigiMapManager.h.
Referenced by GetPixelAddresses(), GetRandomPixelAddress(), and Init().
|
private |
Definition at line 82 of file CbmRichDigiMapManager.h.
Referenced by GetPixelDataByAddress(), and Init().
|
private |
Definition at line 81 of file CbmRichDigiMapManager.h.
Referenced by GetPixelAddressByPath(), and Init().
|
private |
Definition at line 87 of file CbmRichDigiMapManager.h.
Referenced by GetPmtIds(), and Init().
|
private |
Definition at line 86 of file CbmRichDigiMapManager.h.
Referenced by GetPmtDataById(), and Init().
|
private |
Definition at line 85 of file CbmRichDigiMapManager.h.
Referenced by Init().