CbmRoot
CbmLitFitQa Class Reference

Track fit QA for track reconstruction. More...

#include <CbmLitFitQa.h>

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

Public Member Functions

 CbmLitFitQa ()
 Constructor. More...
 
virtual ~CbmLitFitQa ()
 Destructor. More...
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void Exec (Option_t *opt)
 Inherited from FairTask. More...
 
virtual void Finish ()
 Inherited from FairTask. More...
 
void SetMvdMinNofHits (Int_t minNofHits)
 
void SetStsMinNofHits (Int_t minNofHits)
 
void SetTrdMinNofHits (Int_t minNofHits)
 
void SetMuchMinNofHits (Int_t minNofHits)
 
void SetOutputDir (const string &dir)
 
void SetFixedBounds (Bool_t isFixedBounds)
 
void SetPRange (Int_t bins, Int_t min, Int_t max)
 

Private Member Functions

void ReadDataBranches ()
 Reads data branches. More...
 
void ProcessGlobalTracks ()
 
void ProcessStsTrack (Int_t trackId)
 
void ProcessTrdTrack (Int_t trackId)
 
void ProcessMuchTrack (Int_t trackId)
 
void FillResidualsAndPulls (const FairTrackParam *par, const CbmLitMCPoint *mcPoint, const string &histName, Float_t wrongPar, ECbmModuleId detId)
 
void FillTrackParamHistogramm (const string &histName, const FairTrackParam *par)
 
void ProcessTrackParamsAtVertex ()
 
void ProcessTrackParamsAtVertex (CbmEvent *event)
 
void ProcessTrackMomentumAtVertex ()
 
void CreateHistograms ()
 
void CreateResidualAndPullHistograms (ECbmModuleId detId, const string &detName)
 
void CreateTrackParamHistograms (ECbmModuleId detId, const string &detName)
 
 CbmLitFitQa (const CbmLitFitQa &)
 
CbmLitFitQaoperator= (const CbmLitFitQa &)
 

Private Attributes

Bool_t fIsFixedBounds
 
Int_t fMvdMinNofHits
 
Int_t fStsMinNofHits
 
Int_t fTrdMinNofHits
 
Int_t fMuchMinNofHits
 
string fOutputDir
 
Double_t fPRangeMin
 
Double_t fPRangeMax
 
Int_t fPRangeBins
 
CbmHistManagerfHM
 
TClonesArray * fGlobalTracks
 
TClonesArray * fStsTracks
 
TClonesArray * fStsTrackMatches
 
TClonesArray * fStsHits
 
TClonesArray * fMvdHits
 
TClonesArray * fTrdTracks
 
TClonesArray * fTrdTrackMatches
 
TClonesArray * fTrdHits
 
TClonesArray * fMuchTracks
 
TClonesArray * fMuchTrackMatches
 
TClonesArray * fMuchPixelHits
 
TClonesArray * fMuchStripHits
 
CbmMCDataArrayfMCTracks
 
TClonesArray * fEvents
 
Double_t fQuota
 
CbmVertexfPrimVertex
 
CbmStsKFTrackFitter fKFFitter
 
CbmLitMCTrackCreatorfMCTrackCreator
 
CbmLitDetectorSetup fDet
 

Detailed Description

Track fit QA for track reconstruction.

Calculate residual and pull distributions for first and last track parameters of MVD/STS, TRD and MUCH for reconstructed tracks.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2011

Definition at line 38 of file CbmLitFitQa.h.

Constructor & Destructor Documentation

◆ CbmLitFitQa() [1/2]

CbmLitFitQa::CbmLitFitQa ( )

Constructor.

Definition at line 35 of file CbmLitFitQa.cxx.

◆ ~CbmLitFitQa()

CbmLitFitQa::~CbmLitFitQa ( )
virtual

Destructor.

Definition at line 66 of file CbmLitFitQa.cxx.

References fHM.

◆ CbmLitFitQa() [2/2]

CbmLitFitQa::CbmLitFitQa ( const CbmLitFitQa )
private

Member Function Documentation

◆ CreateHistograms()

void CbmLitFitQa::CreateHistograms ( )
private

◆ CreateResidualAndPullHistograms()

void CbmLitFitQa::CreateResidualAndPullHistograms ( ECbmModuleId  detId,
const string &  detName 
)
private

Definition at line 630 of file CbmLitFitQa.cxx.

References CbmHistManager::Add(), fDet, fHM, fIsFixedBounds, CbmLitDetectorSetup::GetDet(), and i.

Referenced by CreateHistograms().

◆ CreateTrackParamHistograms()

void CbmLitFitQa::CreateTrackParamHistograms ( ECbmModuleId  detId,
const string &  detName 
)
private

Definition at line 711 of file CbmLitFitQa.cxx.

References CbmHistManager::Add(), fDet, fHM, fIsFixedBounds, CbmLitDetectorSetup::GetDet(), and i.

Referenced by CreateHistograms().

◆ Exec()

void CbmLitFitQa::Exec ( Option_t *  opt)
virtual

◆ FillResidualsAndPulls()

void CbmLitFitQa::FillResidualsAndPulls ( const FairTrackParam *  par,
const CbmLitMCPoint mcPoint,
const string &  histName,
Float_t  wrongPar,
ECbmModuleId  detId 
)
private

◆ FillTrackParamHistogramm()

void CbmLitFitQa::FillTrackParamHistogramm ( const string &  histName,
const FairTrackParam *  par 
)
private

Definition at line 417 of file CbmLitFitQa.cxx.

References fabs(), fHM, CbmHistManager::H1(), and sqrt().

Referenced by ProcessMuchTrack(), ProcessStsTrack(), and ProcessTrdTrack().

◆ Finish()

void CbmLitFitQa::Finish ( )
virtual

◆ Init()

InitStatus CbmLitFitQa::Init ( )
virtual

◆ operator=()

CbmLitFitQa& CbmLitFitQa::operator= ( const CbmLitFitQa )
private

◆ ProcessGlobalTracks()

◆ ProcessMuchTrack()

◆ ProcessStsTrack()

◆ ProcessTrackMomentumAtVertex()

◆ ProcessTrackParamsAtVertex() [1/2]

void CbmLitFitQa::ProcessTrackParamsAtVertex ( )
private

Definition at line 433 of file CbmLitFitQa.cxx.

References fEvents, and i.

Referenced by Exec().

◆ ProcessTrackParamsAtVertex() [2/2]

◆ ProcessTrdTrack()

◆ ReadDataBranches()

◆ SetFixedBounds()

void CbmLitFitQa::SetFixedBounds ( Bool_t  isFixedBounds)
inline

Definition at line 71 of file CbmLitFitQa.h.

References fIsFixedBounds.

◆ SetMuchMinNofHits()

void CbmLitFitQa::SetMuchMinNofHits ( Int_t  minNofHits)
inline

Definition at line 69 of file CbmLitFitQa.h.

References fMuchMinNofHits.

◆ SetMvdMinNofHits()

void CbmLitFitQa::SetMvdMinNofHits ( Int_t  minNofHits)
inline

Definition at line 66 of file CbmLitFitQa.h.

References fMvdMinNofHits.

◆ SetOutputDir()

void CbmLitFitQa::SetOutputDir ( const string &  dir)
inline

Definition at line 70 of file CbmLitFitQa.h.

References fOutputDir.

◆ SetPRange()

void CbmLitFitQa::SetPRange ( Int_t  bins,
Int_t  min,
Int_t  max 
)
inline

Definition at line 73 of file CbmLitFitQa.h.

References fPRangeBins, fPRangeMax, fPRangeMin, max(), and min().

◆ SetStsMinNofHits()

void CbmLitFitQa::SetStsMinNofHits ( Int_t  minNofHits)
inline

Definition at line 67 of file CbmLitFitQa.h.

References fStsMinNofHits.

◆ SetTrdMinNofHits()

void CbmLitFitQa::SetTrdMinNofHits ( Int_t  minNofHits)
inline

Definition at line 68 of file CbmLitFitQa.h.

References fTrdMinNofHits.

Member Data Documentation

◆ fDet

CbmLitDetectorSetup CbmLitFitQa::fDet
private

◆ fEvents

TClonesArray* CbmLitFitQa::fEvents
private

Definition at line 143 of file CbmLitFitQa.h.

Referenced by ProcessTrackParamsAtVertex(), and ReadDataBranches().

◆ fGlobalTracks

TClonesArray* CbmLitFitQa::fGlobalTracks
private

◆ fHM

◆ fIsFixedBounds

Bool_t CbmLitFitQa::fIsFixedBounds
private

◆ fKFFitter

CbmStsKFTrackFitter CbmLitFitQa::fKFFitter
private

Definition at line 149 of file CbmLitFitQa.h.

Referenced by Init(), and ProcessTrackParamsAtVertex().

◆ fMCTrackCreator

CbmLitMCTrackCreator* CbmLitFitQa::fMCTrackCreator
private

Definition at line 151 of file CbmLitFitQa.h.

Referenced by Exec(), Init(), ProcessMuchTrack(), ProcessStsTrack(), and ProcessTrdTrack().

◆ fMCTracks

CbmMCDataArray* CbmLitFitQa::fMCTracks
private

◆ fMuchMinNofHits

Int_t CbmLitFitQa::fMuchMinNofHits
private

Definition at line 119 of file CbmLitFitQa.h.

Referenced by ProcessMuchTrack(), and SetMuchMinNofHits().

◆ fMuchPixelHits

TClonesArray* CbmLitFitQa::fMuchPixelHits
private

Definition at line 140 of file CbmLitFitQa.h.

Referenced by ProcessMuchTrack(), and ReadDataBranches().

◆ fMuchStripHits

TClonesArray* CbmLitFitQa::fMuchStripHits
private

Definition at line 141 of file CbmLitFitQa.h.

Referenced by ReadDataBranches().

◆ fMuchTrackMatches

TClonesArray* CbmLitFitQa::fMuchTrackMatches
private

Definition at line 139 of file CbmLitFitQa.h.

Referenced by ProcessMuchTrack(), and ReadDataBranches().

◆ fMuchTracks

TClonesArray* CbmLitFitQa::fMuchTracks
private

Definition at line 138 of file CbmLitFitQa.h.

Referenced by ProcessMuchTrack(), and ReadDataBranches().

◆ fMvdHits

TClonesArray* CbmLitFitQa::fMvdHits
private

Definition at line 134 of file CbmLitFitQa.h.

Referenced by ProcessStsTrack(), and ReadDataBranches().

◆ fMvdMinNofHits

Int_t CbmLitFitQa::fMvdMinNofHits
private

Definition at line 116 of file CbmLitFitQa.h.

Referenced by ProcessStsTrack(), and SetMvdMinNofHits().

◆ fOutputDir

string CbmLitFitQa::fOutputDir
private

Definition at line 121 of file CbmLitFitQa.h.

Referenced by Finish(), and SetOutputDir().

◆ fPRangeBins

Int_t CbmLitFitQa::fPRangeBins
private

Definition at line 125 of file CbmLitFitQa.h.

Referenced by CreateHistograms(), and SetPRange().

◆ fPRangeMax

Double_t CbmLitFitQa::fPRangeMax
private

Definition at line 124 of file CbmLitFitQa.h.

Referenced by CreateHistograms(), and SetPRange().

◆ fPRangeMin

Double_t CbmLitFitQa::fPRangeMin
private

Definition at line 123 of file CbmLitFitQa.h.

Referenced by CreateHistograms(), and SetPRange().

◆ fPrimVertex

CbmVertex* CbmLitFitQa::fPrimVertex
private

Definition at line 147 of file CbmLitFitQa.h.

Referenced by ProcessTrackParamsAtVertex(), and ReadDataBranches().

◆ fQuota

Double_t CbmLitFitQa::fQuota
private

◆ fStsHits

TClonesArray* CbmLitFitQa::fStsHits
private

Definition at line 133 of file CbmLitFitQa.h.

Referenced by ProcessStsTrack(), and ReadDataBranches().

◆ fStsMinNofHits

Int_t CbmLitFitQa::fStsMinNofHits
private

Definition at line 117 of file CbmLitFitQa.h.

Referenced by ProcessStsTrack(), and SetStsMinNofHits().

◆ fStsTrackMatches

TClonesArray* CbmLitFitQa::fStsTrackMatches
private

◆ fStsTracks

TClonesArray* CbmLitFitQa::fStsTracks
private

◆ fTrdHits

TClonesArray* CbmLitFitQa::fTrdHits
private

Definition at line 137 of file CbmLitFitQa.h.

Referenced by ProcessTrdTrack(), and ReadDataBranches().

◆ fTrdMinNofHits

Int_t CbmLitFitQa::fTrdMinNofHits
private

Definition at line 118 of file CbmLitFitQa.h.

Referenced by ProcessTrdTrack(), and SetTrdMinNofHits().

◆ fTrdTrackMatches

TClonesArray* CbmLitFitQa::fTrdTrackMatches
private

Definition at line 136 of file CbmLitFitQa.h.

Referenced by ProcessTrdTrack(), and ReadDataBranches().

◆ fTrdTracks

TClonesArray* CbmLitFitQa::fTrdTracks
private

Definition at line 135 of file CbmLitFitQa.h.

Referenced by ProcessTrdTrack(), and ReadDataBranches().


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