CbmRoot
|
#include <CbmTrdCheckUtil.h>
Public Member Functions | |
CbmTrdCheckUtil () | |
default Constructor with messages More... | |
CbmTrdCheckUtil (std::string readfile) | |
CbmTrdCheckUtil (Double_t cal, Double_t tau, Int_t mode) | |
Constructor with messages and preset reconstruction mode. More... | |
CbmTrdCheckUtil (Double_t cal, Double_t tau, std::vector< Int_t > mask) | |
Constructor with messages and selection mask. More... | |
virtual | ~CbmTrdCheckUtil () |
Destructor. More... | |
CbmTrdDigi * | MakeDigi (std::vector< Int_t > samples, Int_t channel, Int_t module, Int_t layer, ULong64_t time) |
void | SetSetter (Bool_t set) |
void | DumpPlots () |
void | CreateHist (std::string name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins=0, Double_t ylow=1., Double_t yhigh=1.) |
void | CreateHist3D (std::string name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins, Double_t ylow, Double_t yhigh, Int_t zbins, Double_t zlow, Double_t zhigh) |
void | CreateProfile (std::string name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins=0, Double_t ylow=1., Double_t yhigh=1.) |
void | CreateProfile3D (std::string name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins, Double_t ylow, Double_t yhigh, Int_t zbins, Double_t zlow, Double_t zhigh) |
void | Fill (std::string name, Double_t x, Double_t y=9999.) |
void | FillProfile (std::string name, Double_t x, Double_t y, Double_t z=9999.) |
void | FillProfile3D (std::string name, Double_t x, Double_t y, Double_t z, Double_t w=1.) |
void | Fill (std::string name, Double_t x, Double_t y, Double_t z) |
void | Fill3D (std::string name, Double_t x, Double_t y, Double_t z) |
void | FillW (std::string name, Double_t x, Double_t w) |
Double_t | GetCont2D (std::string name, Double_t x, Double_t y) |
Bool_t | GetSetter () |
Public Attributes | |
Bool_t | fSet = false |
std::map< TString, TH1D * > | f1D |
std::map< TString, TH2D * > | f2D |
std::map< TString, TH3D * > | f3D |
std::map< TString, TProfile * > | fProfile1D |
std::map< TString, TProfile2D * > | fProfile2D |
std::map< TString, TProfile3D * > | fProfile3D |
Private Member Functions | |
CbmTrdCheckUtil (const CbmTrdCheckUtil &) | |
CbmTrdCheckUtil | operator= (const CbmTrdCheckUtil &) |
ClassDef (CbmTrdCheckUtil, 1) | |
Definition at line 19 of file CbmTrdCheckUtil.h.
CbmTrdCheckUtil::CbmTrdCheckUtil | ( | ) |
default Constructor with messages
Definition at line 21 of file CbmTrdCheckUtil.cxx.
CbmTrdCheckUtil::CbmTrdCheckUtil | ( | std::string | readfile | ) |
CbmTrdCheckUtil::CbmTrdCheckUtil | ( | Double_t | cal, |
Double_t | tau, | ||
Int_t | mode | ||
) |
Constructor with messages and preset reconstruction mode.
CbmTrdCheckUtil::CbmTrdCheckUtil | ( | Double_t | cal, |
Double_t | tau, | ||
std::vector< Int_t > | mask | ||
) |
Constructor with messages and selection mask.
|
inlinevirtual |
Destructor.
Definition at line 38 of file CbmTrdCheckUtil.h.
|
private |
|
private |
void CbmTrdCheckUtil::CreateHist | ( | std::string | name, |
Int_t | xbins, | ||
Double_t | xlow, | ||
Double_t | xhigh, | ||
Int_t | ybins = 0 , |
||
Double_t | ylow = 1. , |
||
Double_t | yhigh = 1. |
||
) |
Definition at line 33 of file CbmTrdCheckUtil.cxx.
Referenced by CbmTrdModuleSimR::AddDrifttime(), CbmTrdModuleSimR::CheckMulti(), CbmTrdRawToDigiR::FillLookUps(), CbmTrdModuleSimR::MakeDigi(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdRawToDigiR::ReadMaps(), and CbmTrdModuleSimR::ScanPadPlane().
void CbmTrdCheckUtil::CreateHist3D | ( | std::string | name, |
Int_t | xbins, | ||
Double_t | xlow, | ||
Double_t | xhigh, | ||
Int_t | ybins, | ||
Double_t | ylow, | ||
Double_t | yhigh, | ||
Int_t | zbins, | ||
Double_t | zlow, | ||
Double_t | zhigh | ||
) |
Definition at line 49 of file CbmTrdCheckUtil.cxx.
References f3D.
void CbmTrdCheckUtil::CreateProfile | ( | std::string | name, |
Int_t | xbins, | ||
Double_t | xlow, | ||
Double_t | xhigh, | ||
Int_t | ybins = 0 , |
||
Double_t | ylow = 1. , |
||
Double_t | yhigh = 1. |
||
) |
Definition at line 73 of file CbmTrdCheckUtil.cxx.
References fProfile1D, and fProfile2D.
Referenced by CbmTrdModuleSimR::ProcessPulseBuffer().
void CbmTrdCheckUtil::CreateProfile3D | ( | std::string | name, |
Int_t | xbins, | ||
Double_t | xlow, | ||
Double_t | xhigh, | ||
Int_t | ybins, | ||
Double_t | ylow, | ||
Double_t | yhigh, | ||
Int_t | zbins, | ||
Double_t | zlow, | ||
Double_t | zhigh | ||
) |
Definition at line 90 of file CbmTrdCheckUtil.cxx.
References fProfile3D.
|
inline |
Definition at line 56 of file CbmTrdCheckUtil.h.
References f1D, f2D, f3D, fProfile1D, fProfile2D, fProfile3D, and x.
Referenced by CbmTrdDigitizer::Finish().
void CbmTrdCheckUtil::Fill | ( | std::string | name, |
Double_t | x, | ||
Double_t | y, | ||
Double_t | z | ||
) |
Definition at line 159 of file CbmTrdCheckUtil.cxx.
void CbmTrdCheckUtil::Fill | ( | std::string | name, |
Double_t | x, | ||
Double_t | y = 9999. |
||
) |
Definition at line 114 of file CbmTrdCheckUtil.cxx.
References f1D, f2D, x, and y.
Referenced by CbmTrdModuleSimR::AddDrifttime(), CbmTrdModuleSimR::CheckMulti(), CbmTrdRawToDigiR::FillLookUps(), CbmTrdModuleSimR::MakeDigi(), CbmTrdModuleSimR::MakePulse(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdRawToDigiR::ReadMaps(), and CbmTrdModuleSimR::ScanPadPlane().
void CbmTrdCheckUtil::Fill3D | ( | std::string | name, |
Double_t | x, | ||
Double_t | y, | ||
Double_t | z | ||
) |
Definition at line 124 of file CbmTrdCheckUtil.cxx.
void CbmTrdCheckUtil::FillProfile | ( | std::string | name, |
Double_t | x, | ||
Double_t | y, | ||
Double_t | z = 9999. |
||
) |
Definition at line 137 of file CbmTrdCheckUtil.cxx.
References fProfile1D, fProfile2D, x, and y.
Referenced by CbmTrdModuleSimR::ProcessPulseBuffer().
void CbmTrdCheckUtil::FillProfile3D | ( | std::string | name, |
Double_t | x, | ||
Double_t | y, | ||
Double_t | z, | ||
Double_t | w = 1. |
||
) |
Definition at line 150 of file CbmTrdCheckUtil.cxx.
References fProfile3D, x, and y.
void CbmTrdCheckUtil::FillW | ( | std::string | name, |
Double_t | x, | ||
Double_t | w | ||
) |
Definition at line 167 of file CbmTrdCheckUtil.cxx.
|
inline |
Definition at line 129 of file CbmTrdCheckUtil.h.
Referenced by CbmTrdRawToDigiR::FillLookUps().
|
inline |
Definition at line 133 of file CbmTrdCheckUtil.h.
References fSet.
CbmTrdDigi* CbmTrdCheckUtil::MakeDigi | ( | std::vector< Int_t > | samples, |
Int_t | channel, | ||
Int_t | module, | ||
Int_t | layer, | ||
ULong64_t | time | ||
) |
|
private |
|
inline |
Definition at line 55 of file CbmTrdCheckUtil.h.
References fSet.
std::map<TString, TH1D*> CbmTrdCheckUtil::f1D |
Definition at line 48 of file CbmTrdCheckUtil.h.
Referenced by CreateHist(), DumpPlots(), Fill(), and FillW().
std::map<TString, TH2D*> CbmTrdCheckUtil::f2D |
Definition at line 49 of file CbmTrdCheckUtil.h.
Referenced by CreateHist(), DumpPlots(), Fill(), and GetCont2D().
std::map<TString, TH3D*> CbmTrdCheckUtil::f3D |
Definition at line 50 of file CbmTrdCheckUtil.h.
Referenced by CreateHist3D(), DumpPlots(), and Fill3D().
std::map<TString, TProfile*> CbmTrdCheckUtil::fProfile1D |
Definition at line 51 of file CbmTrdCheckUtil.h.
Referenced by CreateProfile(), DumpPlots(), and FillProfile().
std::map<TString, TProfile2D*> CbmTrdCheckUtil::fProfile2D |
Definition at line 52 of file CbmTrdCheckUtil.h.
Referenced by CreateProfile(), DumpPlots(), and FillProfile().
std::map<TString, TProfile3D*> CbmTrdCheckUtil::fProfile3D |
Definition at line 53 of file CbmTrdCheckUtil.h.
Referenced by CreateProfile3D(), DumpPlots(), and FillProfile3D().
Bool_t CbmTrdCheckUtil::fSet = false |
Definition at line 47 of file CbmTrdCheckUtil.h.
Referenced by GetSetter(), and SetSetter().