CbmRoot
|
#include <CbmMuchHitFinderQa.h>
Public Member Functions | |
CbmMuchHitFinderQa (const char *name="MuchHitFinderQa", Int_t verbose=1) | |
virtual | ~CbmMuchHitFinderQa () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *option) |
virtual void | FinishTask () |
virtual void | SetParContainers () |
void | SetGeoFileName (TString fileName) |
void | SetPerformanceFileName (TString fileName) |
void | SetGeometryID (Int_t flag) |
Protected Member Functions | |
void | PullsQa () |
void | StatisticsQa () |
void | ClusterDeconvQa () |
Private Member Functions | |
void | DeInit () |
void | DrawCanvases () |
Bool_t | IsSignalPoint (CbmLink pointLink) |
CbmMuchHitFinderQa (const CbmMuchHitFinderQa &) | |
CbmMuchHitFinderQa & | operator= (const CbmMuchHitFinderQa &) |
Private Attributes | |
FairRootManager * | fManager = nullptr |
CbmMCDataManager * | fMcManager = nullptr |
CbmTimeSlice * | fTimeSlice = nullptr |
CbmMuchGeoScheme * | fGeoScheme |
TString | fGeoFileName |
TString | fFileName |
Int_t | fVerbose = 0 |
Int_t | fFlag = 0 |
CbmMCDataArray * | fMCTracks = nullptr |
CbmMCDataArray * | fPoints = nullptr |
CbmDigiManager * | fDigiManager = nullptr |
TFolder | fOutFolder |
TFolder * | histFolder |
output folder with histos and canvases | |
TClonesArray * | fClusters = nullptr |
subfolder for histograms | |
TClonesArray * | fHits = nullptr |
Int_t | fNstations = 0 |
TH1D * | fhPullX = nullptr |
TH1D * | fhPullY = nullptr |
TH1D * | fhPullT = nullptr |
TH1D * | fhResidualX = nullptr |
TH1D * | fhResidualY = nullptr |
TH1D * | fhResidualT = nullptr |
std::vector< TH1I * > | fhPointsInCluster |
std::vector< TH1I * > | fhDigisInCluster |
std::vector< TH1I * > | fhHitsPerCluster |
CbmQaCanvas * | fCanvPointsInCluster = nullptr |
CbmQaCanvas * | fCanvDigisInCluster = nullptr |
CbmQaCanvas * | fCanvHitsPerCluster = nullptr |
CbmQaCanvas * | fCanvPull = nullptr |
CbmQaCanvas * | fCanvResidual = nullptr |
TParameter< int > | fNevents |
TParameter< int > | fSignalPoints |
number of processed events | |
TParameter< int > | fSignalHits |
TParameter< int > | fPointsTotal |
TParameter< int > | fPointsUnderCounted |
TParameter< int > | fPointsOverCounted |
Definition at line 37 of file CbmMuchHitFinderQa.h.
CbmMuchHitFinderQa::CbmMuchHitFinderQa | ( | const char * | name = "MuchHitFinderQa", |
Int_t | verbose = 1 ) |
Definition at line 65 of file CbmMuchHitFinderQa.cxx.
|
virtual |
Definition at line 87 of file CbmMuchHitFinderQa.cxx.
References DeInit().
|
private |
|
protected |
Definition at line 645 of file CbmMuchHitFinderQa.cxx.
References fClusters, fDigiManager, fPoints, fSignalHits, fSignalPoints, fTimeSlice, CbmCluster::GetDigi(), CbmMatch::GetLink(), CbmDigiManager::GetMatch(), CbmTimeSlice::GetMatch(), CbmCluster::GetNofDigis(), CbmMatch::GetNofLinks(), IsSignalPoint(), kMuch, CbmLink::SetIndex(), CbmLink::SetWeight(), and CbmMCDataArray::Size().
Referenced by Exec().
|
private |
Definition at line 91 of file CbmMuchHitFinderQa.cxx.
References fCanvDigisInCluster, fCanvHitsPerCluster, fCanvPointsInCluster, fCanvPull, fCanvResidual, fClusters, fDigiManager, fFlag, fhDigisInCluster, fhHitsPerCluster, fHits, fhPointsInCluster, fhPullT, fhPullX, fhPullY, fhResidualT, fhResidualX, fhResidualY, fMCTracks, fNevents, fNstations, fOutFolder, fPoints, fPointsOverCounted, fPointsTotal, fPointsUnderCounted, fSignalHits, fSignalPoints, fVerbose, and histFolder.
Referenced by Init(), and ~CbmMuchHitFinderQa().
|
private |
Definition at line 368 of file CbmMuchHitFinderQa.cxx.
References fCanvDigisInCluster, fCanvHitsPerCluster, fCanvPointsInCluster, fCanvPull, fCanvResidual, fhDigisInCluster, fhHitsPerCluster, fhPointsInCluster, fhPullT, fhPullX, fhPullY, fhResidualT, fhResidualX, fhResidualY, and fNstations.
Referenced by FinishTask().
|
virtual |
Definition at line 299 of file CbmMuchHitFinderQa.cxx.
References ClusterDeconvQa(), fNevents, PullsQa(), and StatisticsQa().
|
virtual |
Definition at line 312 of file CbmMuchHitFinderQa.cxx.
References DrawCanvases(), fhDigisInCluster, fhHitsPerCluster, fhPointsInCluster, fhPullT, fhPullX, fhPullY, fhResidualT, fhResidualX, fhResidualY, fNevents, fNstations, fOutFolder, fPointsOverCounted, fPointsTotal, fPointsUnderCounted, fSignalHits, fSignalPoints, and fVerbose.
|
virtual |
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 142 of file CbmMuchHitFinderQa.cxx.
References DeInit(), CbmQaCanvas::Divide2D(), fCanvDigisInCluster, fCanvHitsPerCluster, fCanvPointsInCluster, fCanvPull, fCanvResidual, fClusters, fDigiManager, fFlag, fGeoFileName, fGeoScheme, fhDigisInCluster, fhHitsPerCluster, fHits, fhPointsInCluster, fhPullT, fhPullX, fhPullY, fhResidualT, fhResidualX, fhResidualY, fManager, fMcManager, fMCTracks, fNevents, fNstations, fOutFolder, fPoints, fPointsOverCounted, fPointsTotal, fPointsUnderCounted, fSignalHits, fSignalPoints, fTimeSlice, CbmMuchGeoScheme::GetNStations(), histFolder, CbmDigiManager::Init(), CbmMuchGeoScheme::Init(), CbmMCDataManager::InitBranch(), and CbmDigiManager::Instance().
|
private |
Defines whether the point with the given index is signal point.
Definition at line 698 of file CbmMuchHitFinderQa.cxx.
References fMCTracks, fPoints, CbmMCDataArray::Get(), CbmLink::GetEntry(), CbmLink::GetFile(), CbmMCTrack::GetMotherId(), and CbmMCTrack::GetPdgCode().
Referenced by ClusterDeconvQa().
|
private |
|
protected |
Definition at line 514 of file CbmMuchHitFinderQa.cxx.
References fClusters, fDigiManager, fGeoScheme, fHits, fhPullT, fhPullX, fhPullY, fhResidualT, fhResidualX, fhResidualY, fPoints, fVerbose, CbmDigiManager::Get(), CbmMCDataArray::Get(), CbmHit::GetAddress(), CbmMuchDigi::GetAddress(), CbmCluster::GetDigi(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmLink::GetEntry(), CbmLink::GetFile(), CbmLink::GetIndex(), CbmMuchAddress::GetLayerIndex(), CbmMatch::GetLink(), CbmDigiManager::GetMatch(), CbmMuchGeoScheme::GetModuleByDetId(), CbmCluster::GetNofDigis(), CbmMatch::GetNofLinks(), CbmHit::GetRefId(), CbmMuchAddress::GetStationIndex(), CbmHit::GetTime(), CbmHit::GetTimeError(), CbmPixelHit::GetX(), CbmMuchPoint::GetXIn(), CbmMuchPoint::GetXOut(), CbmPixelHit::GetY(), CbmMuchPoint::GetYIn(), CbmMuchPoint::GetYOut(), and kMuch.
Referenced by Exec().
|
inline |
Definition at line 46 of file CbmMuchHitFinderQa.h.
References fGeoFileName.
|
inline |
Definition at line 48 of file CbmMuchHitFinderQa.h.
References fFlag.
|
virtual |
Definition at line 287 of file CbmMuchHitFinderQa.cxx.
|
inline |
Definition at line 47 of file CbmMuchHitFinderQa.h.
References fFileName.
|
protected |
end add
Definition at line 437 of file CbmMuchHitFinderQa.cxx.
References fClusters, fDigiManager, fhDigisInCluster, fhHitsPerCluster, fHits, fhPointsInCluster, fPointsOverCounted, fPointsTotal, fPointsUnderCounted, CbmCluster::GetAddress(), CbmCluster::GetDigi(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmDigiManager::GetMatch(), CbmCluster::GetNofDigis(), CbmMatch::GetNofLinks(), CbmHit::GetRefId(), CbmMuchAddress::GetStationIndex(), CbmDigiManager::IsMatchPresent(), and kMuch.
Referenced by Exec().
|
private |
Definition at line 107 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), and Init().
|
private |
Definition at line 108 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), and Init().
|
private |
Definition at line 106 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), and Init().
|
private |
Definition at line 109 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), and Init().
|
private |
Definition at line 110 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), and Init().
|
private |
subfolder for histograms
Definition at line 87 of file CbmMuchHitFinderQa.h.
Referenced by ClusterDeconvQa(), DeInit(), Init(), PullsQa(), and StatisticsQa().
|
private |
Definition at line 82 of file CbmMuchHitFinderQa.h.
Referenced by ClusterDeconvQa(), DeInit(), Init(), PullsQa(), and StatisticsQa().
|
private |
Definition at line 76 of file CbmMuchHitFinderQa.h.
Referenced by SetPerformanceFileName().
|
private |
Definition at line 78 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), Init(), and SetGeometryID().
|
private |
Definition at line 75 of file CbmMuchHitFinderQa.h.
Referenced by Init(), and SetGeoFileName().
|
private |
Definition at line 74 of file CbmMuchHitFinderQa.h.
|
private |
Definition at line 103 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and StatisticsQa().
|
private |
Definition at line 104 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and StatisticsQa().
|
private |
Definition at line 88 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), Init(), PullsQa(), and StatisticsQa().
|
private |
Definition at line 102 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and StatisticsQa().
|
private |
Definition at line 95 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and PullsQa().
|
private |
Definition at line 93 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and PullsQa().
|
private |
Definition at line 94 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and PullsQa().
|
private |
Definition at line 100 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and PullsQa().
|
private |
Definition at line 98 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and PullsQa().
|
private |
Definition at line 99 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), Init(), and PullsQa().
|
private |
Definition at line 69 of file CbmMuchHitFinderQa.h.
Referenced by Init().
|
private |
Definition at line 70 of file CbmMuchHitFinderQa.h.
Referenced by Init().
|
private |
Definition at line 80 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), Init(), and IsSignalPoint().
|
private |
Definition at line 112 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), Exec(), FinishTask(), and Init().
|
private |
Definition at line 90 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), DrawCanvases(), FinishTask(), and Init().
|
private |
Definition at line 84 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), FinishTask(), and Init().
|
private |
Definition at line 81 of file CbmMuchHitFinderQa.h.
Referenced by ClusterDeconvQa(), DeInit(), Init(), IsSignalPoint(), and PullsQa().
|
private |
Definition at line 117 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), FinishTask(), Init(), and StatisticsQa().
|
private |
Definition at line 115 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), FinishTask(), Init(), and StatisticsQa().
|
private |
Definition at line 116 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), FinishTask(), Init(), and StatisticsQa().
|
private |
Definition at line 114 of file CbmMuchHitFinderQa.h.
Referenced by ClusterDeconvQa(), DeInit(), FinishTask(), and Init().
|
private |
number of processed events
Definition at line 113 of file CbmMuchHitFinderQa.h.
Referenced by ClusterDeconvQa(), DeInit(), FinishTask(), and Init().
|
private |
Definition at line 71 of file CbmMuchHitFinderQa.h.
Referenced by ClusterDeconvQa(), and Init().
|
private |
Definition at line 77 of file CbmMuchHitFinderQa.h.
Referenced by DeInit(), FinishTask(), and PullsQa().
|
private |
output folder with histos and canvases
Definition at line 85 of file CbmMuchHitFinderQa.h.