CbmRoot
|
contains filling and updating of calibration histos More...
#include <CbmTofCalibrator.h>
Public Member Functions | |
CbmTofCalibrator () | |
virtual | ~CbmTofCalibrator () |
InitStatus | Init () |
Bool_t | InitParameters () |
Bool_t | CreateCalHist () |
void | FillCalHist (CbmTofTracklet *pTrk) |
Bool_t | UpdateCalHist (Int_t iOpt) |
void | ReadHist (TFile *fhFile) |
void | WriteHist (TFile *fhFile) |
void | SetR0Lim (Double_t dVal) |
Private Member Functions | |
CbmTofCalibrator (const CbmTofCalibrator &)=delete | |
CbmTofCalibrator | operator= (const CbmTofCalibrator &)=delete |
ClassDef (CbmTofCalibrator, 1) | |
Private Attributes | |
CbmDigiManager * | fDigiMan |
CbmTofEventClusterizer * | fTofClusterizer |
CbmTofFindTracks * | fTofFindTracks |
CbmTofTrackletTools * | fTrackletTools |
CbmTofDigiPar * | fDigiPar |
CbmTofDigiBdfPar * | fDigiBdfPar |
TClonesArray * | fTofDigiMatchColl |
std::vector< TH2 * > | fhCalPos |
std::vector< TH2 * > | fhCalTOff |
std::vector< TH2 * > | fhCalTot |
std::vector< std::vector< std::vector< TH2 * > > > | fhCalWalk |
std::vector< TH1 * > | fhCorPos |
std::vector< TH1 * > | fhCorTOff |
std::vector< TH1 * > | fhCorTot |
std::vector< TH1 * > | fhCorTotOff |
std::vector< TH1 * > | fhCorSvel |
std::vector< std::vector< std::vector< TH1 * > > > | fhCorWalk |
std::map< UInt_t, UInt_t > | fDetIdIndexMap |
Double_t | fdR0Lim = 0. |
contains filling and updating of calibration histos
Definition at line 44 of file CbmTofCalibrator.h.
CbmTofCalibrator::CbmTofCalibrator | ( | ) |
Constructor
Definition at line 36 of file CbmTofCalibrator.cxx.
|
virtual |
Destructor
Definition at line 56 of file CbmTofCalibrator.cxx.
|
privatedelete |
|
private |
Bool_t CbmTofCalibrator::CreateCalHist | ( | ) |
Definition at line 125 of file CbmTofCalibrator.cxx.
References fDetIdIndexMap, fDigiBdfPar, fDigiPar, fhCalPos, fhCalTOff, fhCalTot, fhCalWalk, CbmTofDigiPar::GetCell(), CbmTofDigiBdfPar::GetDetUId(), CbmTofDigiBdfPar::GetNbChan(), CbmTofDigiBdfPar::GetNbDet(), CbmTofAddress::GetRpcId(), CbmTofAddress::GetSmId(), CbmTofAddress::GetSmType(), CbmTofAddress::GetUniqueAddress(), nbClWalkBinX, and nbClWalkBinY.
Referenced by Init().
void CbmTofCalibrator::FillCalHist | ( | CbmTofTracklet * | pTrk | ) |
Definition at line 228 of file CbmTofCalibrator.cxx.
References CbmTofTracklet::ContainsAddr(), DetMask, fDetIdIndexMap, fDigiBdfPar, fDigiMan, fDigiPar, fdR0Lim, fhCalPos, fhCalTOff, fhCalWalk, fTofDigiMatchColl, fTofFindTracks, CbmDigiManager::Get(), CbmHit::GetAddress(), CbmTofDigiPar::GetCell(), CbmTofDigi::GetChannel(), CbmTofAddress::GetChannelId(), CbmTofTracklet::GetFitT(), CbmTofTracklet::GetFitX(), CbmTofTracklet::GetFitY(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmTofTracklet::GetNofHits(), CbmMatch::GetNofLinks(), CbmTofTracklet::GetR0(), CbmTofAddress::GetRpcId(), CbmTofDigi::GetSide(), CbmTofDigiBdfPar::GetSigVel(), CbmTofAddress::GetSmId(), CbmTofAddress::GetSmType(), CbmHit::GetTime(), CbmTofDigi::GetTime(), CbmTofFindTracks::GetTOff(), CbmTofTracklet::GetTofHitIndex(), CbmTofTracklet::GetTofHitPointer(), CbmTofDigi::GetTot(), CbmTofTracklet::GetTt(), CbmTofCell::GetX(), CbmPixelHit::GetX(), CbmTofCell::GetY(), CbmPixelHit::GetY(), CbmTofCell::GetZ(), and CbmHit::GetZ().
Referenced by CbmTofFindTracks::FillHistograms().
InitStatus CbmTofCalibrator::Init | ( | ) |
Definition at line 58 of file CbmTofCalibrator.cxx.
References CreateCalHist(), fDigiMan, fTofClusterizer, fTofDigiMatchColl, fTofFindTracks, fTrackletTools, CbmTofEventClusterizer::GetCalParFileName(), CbmDigiManager::Init(), InitParameters(), CbmTofEventClusterizer::Instance(), CbmTofFindTracks::Instance(), CbmDigiManager::Instance(), CbmDigiManager::IsPresent(), and kTof.
Referenced by CbmTofFindTracks::Init().
Bool_t CbmTofCalibrator::InitParameters | ( | ) |
Definition at line 110 of file CbmTofCalibrator.cxx.
References fDigiBdfPar, and fDigiPar.
Referenced by Init().
|
privatedelete |
void CbmTofCalibrator::ReadHist | ( | TFile * | fhFile | ) |
Definition at line 474 of file CbmTofCalibrator.cxx.
References fDigiBdfPar, fhCorPos, fhCorSvel, fhCorTOff, fhCorTot, fhCorTotOff, fhCorWalk, CbmTofDigiBdfPar::GetDetUId(), CbmTofDigiBdfPar::GetNbChan(), CbmTofDigiBdfPar::GetNbDet(), CbmTofAddress::GetRpcId(), CbmTofAddress::GetSmId(), and CbmTofAddress::GetSmType().
Referenced by UpdateCalHist().
|
inline |
Definition at line 61 of file CbmTofCalibrator.h.
References fdR0Lim.
Referenced by CbmTofFindTracks::Init().
Bool_t CbmTofCalibrator::UpdateCalHist | ( | Int_t | iOpt | ) |
Definition at line 358 of file CbmTofCalibrator.cxx.
References fDigiBdfPar, fhCalPos, fhCalTOff, fhCalWalk, fhCorPos, fhCorTOff, fhCorWalk, CbmTofEventClusterizer::GetCalParFileName(), CbmTofDigiBdfPar::GetDetUId(), CbmTofDigiBdfPar::GetNbChan(), CbmTofDigiBdfPar::GetNbDet(), CbmTofAddress::GetRpcId(), CbmTofAddress::GetSmType(), CbmTofEventClusterizer::Instance(), ReadHist(), and WriteHist().
Referenced by CbmTofFindTracks::Finish().
void CbmTofCalibrator::WriteHist | ( | TFile * | fhFile | ) |
Definition at line 526 of file CbmTofCalibrator.cxx.
References fDigiBdfPar, fhCorPos, fhCorTOff, fhCorTot, fhCorTotOff, fhCorWalk, and CbmTofDigiBdfPar::GetNbDet().
Referenced by UpdateCalHist().
|
private |
Definition at line 87 of file CbmTofCalibrator.h.
Referenced by CreateCalHist(), and FillCalHist().
|
private |
Definition at line 70 of file CbmTofCalibrator.h.
Referenced by CreateCalHist(), FillCalHist(), InitParameters(), ReadHist(), UpdateCalHist(), and WriteHist().
|
private |
Definition at line 64 of file CbmTofCalibrator.h.
Referenced by FillCalHist(), and Init().
|
private |
Definition at line 69 of file CbmTofCalibrator.h.
Referenced by CreateCalHist(), FillCalHist(), and InitParameters().
|
private |
Definition at line 89 of file CbmTofCalibrator.h.
Referenced by FillCalHist(), and SetR0Lim().
|
private |
Definition at line 73 of file CbmTofCalibrator.h.
Referenced by CreateCalHist(), FillCalHist(), and UpdateCalHist().
|
private |
Definition at line 74 of file CbmTofCalibrator.h.
Referenced by CreateCalHist(), FillCalHist(), and UpdateCalHist().
|
private |
Definition at line 75 of file CbmTofCalibrator.h.
Referenced by CreateCalHist().
|
private |
Definition at line 77 of file CbmTofCalibrator.h.
Referenced by CreateCalHist(), FillCalHist(), and UpdateCalHist().
|
private |
Definition at line 79 of file CbmTofCalibrator.h.
Referenced by ReadHist(), UpdateCalHist(), and WriteHist().
|
private |
Definition at line 83 of file CbmTofCalibrator.h.
Referenced by ReadHist().
|
private |
Definition at line 80 of file CbmTofCalibrator.h.
Referenced by ReadHist(), UpdateCalHist(), and WriteHist().
|
private |
Definition at line 81 of file CbmTofCalibrator.h.
Referenced by ReadHist(), and WriteHist().
|
private |
Definition at line 82 of file CbmTofCalibrator.h.
Referenced by ReadHist(), and WriteHist().
|
private |
Definition at line 85 of file CbmTofCalibrator.h.
Referenced by ReadHist(), UpdateCalHist(), and WriteHist().
|
private |
Definition at line 65 of file CbmTofCalibrator.h.
Referenced by Init().
|
private |
Definition at line 71 of file CbmTofCalibrator.h.
Referenced by FillCalHist(), and Init().
|
private |
Definition at line 66 of file CbmTofCalibrator.h.
Referenced by FillCalHist(), and Init().
|
private |
Definition at line 67 of file CbmTofCalibrator.h.
Referenced by Init().