CbmRoot
|
Class for pixel deadtime and crosstalk Qa. More...
#include <CbmRichDigiQa.h>
Public Member Functions | |
CbmRichDigiQa () | |
~CbmRichDigiQa ()=default | |
CbmRichDigiQa (const CbmRichDigiQa &)=delete | |
CbmRichDigiQa | operator= (const CbmRichDigiQa &)=delete |
InitStatus | Init () |
void | Exec (Option_t *option) |
void | Finish () |
void | InitHistograms () |
void | SetToTLimits (Double_t low, Double_t high) |
Set ToT cut. | |
void | SetNeighbourTimeLimit (Double_t limit) |
Set time limit in which a digi is considered neighbour. | |
Private Attributes | |
int | fEventNum {} |
CbmDigiManager * | fDigiMan {nullptr} |
CbmHistManager * | fHM {nullptr} |
TClonesArray * | fRichPoints {nullptr} |
std::map< Int_t, std::vector< Double_t > > | fFiredTimes {} |
std::map< Int_t, std::vector< std::pair< Double_t, Int_t > > > | fPmtDigisTimeAddress {} |
Double_t | fNeighbourTimeLimit {5.} |
Double_t | fToTLimitLow {-1.} |
Double_t | fToTLimitHigh {-1.} |
|
inline |
Default constructor
Definition at line 35 of file CbmRichDigiQa.h.
|
default |
Destructor
|
delete |
Copy constructor (disabled)
void CbmRichDigiQa::Exec | ( | Option_t * | option | ) |
Inherited from FairTask
Definition at line 48 of file CbmRichDigiQa.cxx.
References fDigiMan, fEventNum, fFiredTimes, fHM, fNeighbourTimeLimit, CbmRichPixelData::fPixelId, fPmtDigisTimeAddress, CbmRichPixelData::fPmtId, fToTLimitHigh, fToTLimitLow, CbmDigiManager::Get(), CbmRichDigi::GetAddress(), CbmRichDigiMapManager::GetInstance(), CbmDigiManager::GetNofDigis(), CbmRichDigiMapManager::GetPixelDataByAddress(), CbmRichDigi::GetTime(), CbmRichDigi::GetToT(), CbmHistManager::H1(), CbmHistManager::H2(), and kRich.
void CbmRichDigiQa::Finish | ( | ) |
Inherited from FairTask
Definition at line 115 of file CbmRichDigiQa.cxx.
References fHM, and CbmHistManager::WriteToFile().
InitStatus CbmRichDigiQa::Init | ( | ) |
Inherited from FairTask
Definition at line 19 of file CbmRichDigiQa.cxx.
References fDigiMan, CbmRichDigiMapManager::GetInstance(), CbmDigiManager::Init(), InitHistograms(), CbmDigiManager::Instance(), CbmDigiManager::IsPresent(), and kRich.
void CbmRichDigiQa::InitHistograms | ( | ) |
Initialize histogram manager
Definition at line 32 of file CbmRichDigiQa.cxx.
References CbmHistManager::Create1(), CbmHistManager::Create2(), and fHM.
Referenced by Init().
|
delete |
Assignment operator (disabled)
|
inline |
Set time limit in which a digi is considered neighbour.
[in] | limit | absolue time limit |
Definition at line 73 of file CbmRichDigiQa.h.
References fNeighbourTimeLimit.
|
inline |
Set ToT cut.
[in] | low | lower limit |
[in] | high | upper limit |
Definition at line 63 of file CbmRichDigiQa.h.
References fToTLimitHigh, and fToTLimitLow.
|
private |
Definition at line 78 of file CbmRichDigiQa.h.
|
private |
Definition at line 76 of file CbmRichDigiQa.h.
Referenced by Exec().
|
private |
Definition at line 83 of file CbmRichDigiQa.h.
Referenced by Exec().
|
private |
Definition at line 79 of file CbmRichDigiQa.h.
Referenced by Exec(), Finish(), and InitHistograms().
|
private |
Definition at line 87 of file CbmRichDigiQa.h.
Referenced by Exec(), and SetNeighbourTimeLimit().
|
private |
Definition at line 85 of file CbmRichDigiQa.h.
Referenced by Exec().
|
private |
Definition at line 81 of file CbmRichDigiQa.h.
|
private |
Definition at line 89 of file CbmRichDigiQa.h.
Referenced by Exec(), and SetToTLimits().
|
private |
Definition at line 88 of file CbmRichDigiQa.h.
Referenced by Exec(), and SetToTLimits().