CbmRoot
Loading...
Searching...
No Matches
CbmTofCalibrator Class Reference

contains filling and updating of calibration histos More...

#include <CbmTofCalibrator.h>

Inheritance diagram for CbmTofCalibrator:
[legend]
Collaboration diagram for CbmTofCalibrator:
[legend]

Public Member Functions

 CbmTofCalibrator ()
 
virtual ~CbmTofCalibrator ()
 
InitStatus Init ()
 
Bool_t InitParameters ()
 
Bool_t CreateCalHist ()
 
void FillCalHist (CbmTofHit *pHit, Int_t iOpt, CbmEvent *pEvent=NULL)
 
void FillHitCalHist (CbmTofHit *pHit, Int_t iOpt, CbmEvent *pEvent=NULL, TClonesArray *tHitColl=NULL)
 
void FillCalHist (CbmTofTracklet *pTrk, Int_t iOpt, CbmEvent *pEvent=NULL)
 
Bool_t UpdateCalHist (Int_t iOpt)
 
void ReadHist (TFile *fhFile)
 
void WriteHist (TFile *fhFile)
 
void HstDoublets (CbmTofTracklet *pTrk)
 
double * find_tofedge (const char *hname, Double_t dThr, Double_t dLen)
 
double * find_tofedge (const char *hname)
 
double CalcChi2 (TH1 *h1, TH1 *h2, int iShift)
 
double * fit_tofedge (const char *hname, Double_t dTmax, Double_t dThr)
 
double * fit_tofedge (const char *hname)
 
double TruncatedMeanY (TH2 *pHst, double RmsLim=1.)
 
void SetR0Lim (Double_t dVal)
 
void SetBeam (Bool_t bVal)
 

Static Public Member Functions

static double f1_tedge (double *x, double *par)
 

Private Member Functions

 CbmTofCalibrator (const CbmTofCalibrator &)=delete
 
CbmTofCalibrator operator= (const CbmTofCalibrator &)=delete
 
 ClassDef (CbmTofCalibrator, 1)
 

Private Attributes

CbmDigiManagerfDigiMan
 
CbmTofEventClusterizerfTofClusterizer
 
CbmTofFindTracksfTofFindTracks
 
CbmTofTrackletToolsfTrackletTools
 
const std::vector< CbmTofDigi > * fTofCalDigiVec = nullptr
 
CbmTofDigiParfDigiPar
 
CbmTofDigiBdfParfDigiBdfPar
 
CbmTofGeoHandlerfGeoHandler
 
CbmTofDetectorIdfTofId
 
TClonesArray * fTofDigiMatchColl
 
FairEventHeader * fEvtHeader
 
TH1 * fhCalR0
 
TH1 * fhCalDX0
 
TH1 * fhCalDY0
 
TH1 * fhCalCounterDt
 
TH1 * fhCalCounterDy
 
TH1 * fhCalChannelDt
 
TH1 * fhCalChannelDy
 
std::vector< TH2 * > fhCalTot
 
std::vector< TH2 * > fhCalPosition
 
std::vector< TH2 * > fhCalPos
 
std::vector< TH2 * > fhCalTOff
 
std::vector< TH2 * > fhCalTofOff
 
std::vector< TH2 * > fhCalDelPos
 
std::vector< TH2 * > fhCalDelTOff
 
std::vector< TH2 * > fhCalCluTrms
 
std::vector< TH2 * > fhCalCluSize
 
std::vector< TH2 * > fhCalWalkAv
 
std::vector< std::vector< std::vector< TH2 * > > > fhCalWalk
 
std::vector< std::vector< std::vector< TH2 * > > > fhCalDtWalk
 
std::vector< TH3 * > fhCalXYTOff
 
std::vector< TH3 * > fhCalXYTot
 
std::vector< std::vector< std::vector< TH3 * > > > fhCalTotYWalk
 
std::vector< std::vector< std::vector< TH3 * > > > fhCalTotYTOff
 
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
 
std::map< int, TH1 * > fhDoubletDt
 
std::map< int, TH1 * > fhDoubletDd
 
std::map< int, TH1 * > fhDoubletV
 
Double_t fdR0Lim = 0.
 
Bool_t fbBeam = kFALSE
 

Detailed Description

contains filling and updating of calibration histos

Author
nh

Definition at line 51 of file CbmTofCalibrator.h.

Constructor & Destructor Documentation

◆ CbmTofCalibrator() [1/2]

CbmTofCalibrator::CbmTofCalibrator ( )

Constructor

Definition at line 54 of file CbmTofCalibrator.cxx.

◆ ~CbmTofCalibrator()

CbmTofCalibrator::~CbmTofCalibrator ( )
virtual

Destructor

Definition at line 93 of file CbmTofCalibrator.cxx.

◆ CbmTofCalibrator() [2/2]

CbmTofCalibrator::CbmTofCalibrator ( const CbmTofCalibrator & )
privatedelete

Member Function Documentation

◆ CalcChi2()

double CbmTofCalibrator::CalcChi2 ( TH1 * h1,
TH1 * h2,
int iShift )

Definition at line 2248 of file CbmTofCalibrator.cxx.

Referenced by UpdateCalHist().

◆ ClassDef()

CbmTofCalibrator::ClassDef ( CbmTofCalibrator ,
1  )
private

◆ CreateCalHist()

◆ f1_tedge()

Double_t CbmTofCalibrator::f1_tedge ( double * x,
double * par )
static

Definition at line 2265 of file CbmTofCalibrator.cxx.

References x.

Referenced by fit_tofedge().

◆ FillCalHist() [1/2]

◆ FillCalHist() [2/2]

◆ FillHitCalHist()

◆ find_tofedge() [1/2]

double * CbmTofCalibrator::find_tofedge ( const char * hname)

Definition at line 2241 of file CbmTofCalibrator.cxx.

References find_tofedge().

◆ find_tofedge() [2/2]

double * CbmTofCalibrator::find_tofedge ( const char * hname,
Double_t dThr,
Double_t dLen )

Referenced by find_tofedge(), and UpdateCalHist().

◆ fit_tofedge() [1/2]

double * CbmTofCalibrator::fit_tofedge ( const char * hname)

◆ fit_tofedge() [2/2]

double * CbmTofCalibrator::fit_tofedge ( const char * hname,
Double_t dTmax,
Double_t dThr )

Definition at line 2274 of file CbmTofCalibrator.cxx.

References f1_tedge().

Referenced by fit_tofedge(), and UpdateCalHist().

◆ HstDoublets()

◆ Init()

◆ InitParameters()

Bool_t CbmTofCalibrator::InitParameters ( )

Definition at line 172 of file CbmTofCalibrator.cxx.

References fDigiBdfPar, and fDigiPar.

Referenced by Init().

◆ operator=()

CbmTofCalibrator CbmTofCalibrator::operator= ( const CbmTofCalibrator & )
privatedelete

◆ ReadHist()

◆ SetBeam()

void CbmTofCalibrator::SetBeam ( Bool_t bVal)
inline

Definition at line 79 of file CbmTofCalibrator.h.

References fbBeam.

Referenced by CbmTofFindTracks::Init().

◆ SetR0Lim()

void CbmTofCalibrator::SetR0Lim ( Double_t dVal)
inline

Definition at line 78 of file CbmTofCalibrator.h.

References fdR0Lim.

Referenced by CbmTofFindTracks::Init().

◆ TruncatedMeanY()

double CbmTofCalibrator::TruncatedMeanY ( TH2 * pHst,
double RmsLim = 1. )

Definition at line 2375 of file CbmTofCalibrator.cxx.

Referenced by UpdateCalHist().

◆ UpdateCalHist()

◆ WriteHist()

void CbmTofCalibrator::WriteHist ( TFile * fhFile)

Member Data Documentation

◆ fbBeam

Bool_t CbmTofCalibrator::fbBeam = kFALSE
private

Definition at line 136 of file CbmTofCalibrator.h.

Referenced by FillCalHist(), and SetBeam().

◆ fDetIdIndexMap

std::map<UInt_t, UInt_t> CbmTofCalibrator::fDetIdIndexMap
private

◆ fDigiBdfPar

CbmTofDigiBdfPar* CbmTofCalibrator::fDigiBdfPar
private

◆ fDigiMan

CbmDigiManager* CbmTofCalibrator::fDigiMan
private

Definition at line 82 of file CbmTofCalibrator.h.

Referenced by Init().

◆ fDigiPar

CbmTofDigiPar* CbmTofCalibrator::fDigiPar
private

◆ fdR0Lim

Double_t CbmTofCalibrator::fdR0Lim = 0.
private

Definition at line 135 of file CbmTofCalibrator.h.

Referenced by FillCalHist(), and SetR0Lim().

◆ fEvtHeader

FairEventHeader* CbmTofCalibrator::fEvtHeader
private

Definition at line 95 of file CbmTofCalibrator.h.

Referenced by Init().

◆ fGeoHandler

CbmTofGeoHandler* CbmTofCalibrator::fGeoHandler
private

Definition at line 91 of file CbmTofCalibrator.h.

◆ fhCalChannelDt

TH1* CbmTofCalibrator::fhCalChannelDt
private

Definition at line 103 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and UpdateCalHist().

◆ fhCalChannelDy

TH1* CbmTofCalibrator::fhCalChannelDy
private

Definition at line 104 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and UpdateCalHist().

◆ fhCalCluSize

std::vector<TH2*> CbmTofCalibrator::fhCalCluSize
private

Definition at line 114 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and FillHitCalHist().

◆ fhCalCluTrms

std::vector<TH2*> CbmTofCalibrator::fhCalCluTrms
private

Definition at line 113 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and FillHitCalHist().

◆ fhCalCounterDt

TH1* CbmTofCalibrator::fhCalCounterDt
private

Definition at line 101 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and UpdateCalHist().

◆ fhCalCounterDy

TH1* CbmTofCalibrator::fhCalCounterDy
private

Definition at line 102 of file CbmTofCalibrator.h.

Referenced by CreateCalHist().

◆ fhCalDelPos

std::vector<TH2*> CbmTofCalibrator::fhCalDelPos
private

Definition at line 111 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), FillHitCalHist(), and UpdateCalHist().

◆ fhCalDelTOff

std::vector<TH2*> CbmTofCalibrator::fhCalDelTOff
private

Definition at line 112 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), FillHitCalHist(), and UpdateCalHist().

◆ fhCalDtWalk

std::vector<std::vector<std::vector<TH2*> > > CbmTofCalibrator::fhCalDtWalk
private

Definition at line 117 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), FillCalHist(), and FillHitCalHist().

◆ fhCalDX0

TH1* CbmTofCalibrator::fhCalDX0
private

Definition at line 98 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and FillCalHist().

◆ fhCalDY0

TH1* CbmTofCalibrator::fhCalDY0
private

Definition at line 99 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and FillCalHist().

◆ fhCalPos

std::vector<TH2*> CbmTofCalibrator::fhCalPos
private

Definition at line 108 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), FillCalHist(), FillHitCalHist(), and UpdateCalHist().

◆ fhCalPosition

std::vector<TH2*> CbmTofCalibrator::fhCalPosition
private

◆ fhCalR0

TH1* CbmTofCalibrator::fhCalR0
private

Definition at line 97 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and FillCalHist().

◆ fhCalTOff

std::vector<TH2*> CbmTofCalibrator::fhCalTOff
private

◆ fhCalTofOff

std::vector<TH2*> CbmTofCalibrator::fhCalTofOff
private

Definition at line 110 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), FillCalHist(), FillHitCalHist(), and UpdateCalHist().

◆ fhCalTot

std::vector<TH2*> CbmTofCalibrator::fhCalTot
private

Definition at line 106 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), FillCalHist(), FillHitCalHist(), and UpdateCalHist().

◆ fhCalTotYTOff

std::vector<std::vector<std::vector<TH3*> > > CbmTofCalibrator::fhCalTotYTOff
private

Definition at line 121 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and FillHitCalHist().

◆ fhCalTotYWalk

std::vector<std::vector<std::vector<TH3*> > > CbmTofCalibrator::fhCalTotYWalk
private

Definition at line 120 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and FillHitCalHist().

◆ fhCalWalk

std::vector<std::vector<std::vector<TH2*> > > CbmTofCalibrator::fhCalWalk
private

◆ fhCalWalkAv

std::vector<TH2*> CbmTofCalibrator::fhCalWalkAv
private

Definition at line 115 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), FillCalHist(), and UpdateCalHist().

◆ fhCalXYTOff

std::vector<TH3*> CbmTofCalibrator::fhCalXYTOff
private

Definition at line 118 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), FillCalHist(), FillCalHist(), and FillHitCalHist().

◆ fhCalXYTot

std::vector<TH3*> CbmTofCalibrator::fhCalXYTot
private

Definition at line 119 of file CbmTofCalibrator.h.

Referenced by CreateCalHist(), and FillHitCalHist().

◆ fhCorPos

std::vector<TH1*> CbmTofCalibrator::fhCorPos
private

Definition at line 123 of file CbmTofCalibrator.h.

Referenced by ReadHist(), UpdateCalHist(), and WriteHist().

◆ fhCorSvel

std::vector<TH1*> CbmTofCalibrator::fhCorSvel
private

Definition at line 127 of file CbmTofCalibrator.h.

Referenced by ReadHist().

◆ fhCorTOff

std::vector<TH1*> CbmTofCalibrator::fhCorTOff
private

Definition at line 124 of file CbmTofCalibrator.h.

Referenced by ReadHist(), UpdateCalHist(), and WriteHist().

◆ fhCorTot

std::vector<TH1*> CbmTofCalibrator::fhCorTot
private

Definition at line 125 of file CbmTofCalibrator.h.

Referenced by ReadHist(), UpdateCalHist(), and WriteHist().

◆ fhCorTotOff

std::vector<TH1*> CbmTofCalibrator::fhCorTotOff
private

Definition at line 126 of file CbmTofCalibrator.h.

Referenced by ReadHist(), and WriteHist().

◆ fhCorWalk

std::vector<std::vector<std::vector<TH1*> > > CbmTofCalibrator::fhCorWalk
private

Definition at line 128 of file CbmTofCalibrator.h.

Referenced by ReadHist(), UpdateCalHist(), and WriteHist().

◆ fhDoubletDd

std::map<int, TH1*> CbmTofCalibrator::fhDoubletDd
private

Definition at line 132 of file CbmTofCalibrator.h.

Referenced by HstDoublets().

◆ fhDoubletDt

std::map<int, TH1*> CbmTofCalibrator::fhDoubletDt
private

Definition at line 131 of file CbmTofCalibrator.h.

Referenced by HstDoublets().

◆ fhDoubletV

std::map<int, TH1*> CbmTofCalibrator::fhDoubletV
private

Definition at line 133 of file CbmTofCalibrator.h.

Referenced by HstDoublets().

◆ fTofCalDigiVec

const std::vector<CbmTofDigi>* CbmTofCalibrator::fTofCalDigiVec = nullptr
private

Definition at line 87 of file CbmTofCalibrator.h.

Referenced by FillCalHist(), FillCalHist(), FillHitCalHist(), and Init().

◆ fTofClusterizer

CbmTofEventClusterizer* CbmTofCalibrator::fTofClusterizer
private

◆ fTofDigiMatchColl

TClonesArray* CbmTofCalibrator::fTofDigiMatchColl
private

Definition at line 93 of file CbmTofCalibrator.h.

Referenced by FillCalHist(), and Init().

◆ fTofFindTracks

CbmTofFindTracks* CbmTofCalibrator::fTofFindTracks
private

Definition at line 84 of file CbmTofCalibrator.h.

Referenced by FillCalHist(), FillCalHist(), and Init().

◆ fTofId

CbmTofDetectorId* CbmTofCalibrator::fTofId
private

Definition at line 92 of file CbmTofCalibrator.h.

Referenced by Init(), and UpdateCalHist().

◆ fTrackletTools

CbmTofTrackletTools* CbmTofCalibrator::fTrackletTools
private

Definition at line 85 of file CbmTofCalibrator.h.

Referenced by FillCalHist(), and Init().


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