CbmRoot
|
#include <CbmMvdQa.h>
Public Member Functions | |
CbmMvdQa () | |
CbmMvdQa (const char *name, Int_t iMode=0, Int_t iVerbose=0) | |
CbmMvdQa (const CbmMvdQa &)=delete | |
CbmMvdQa & | operator= (const CbmMvdQa &)=delete |
~CbmMvdQa () | |
void | SetMinHitReq (Int_t nrOfHits) |
void | SetMatches (Int_t MCtrackID, CbmStsTrack *stsTrack) |
void | Exec (Option_t *opt) |
InitStatus | Init () |
void | Finish () |
void | SetUseMcQa () |
void | SetUseDigiQa () |
void | SetUseHitQa () |
void | SetUseTrackQa () |
void | SetOutFile (TFile *outFile) |
void | SetDrawOutput () |
Private Member Functions | |
void | SetupHistograms () |
void | SetupMCHistograms () |
void | SetupDigiHistograms () |
void | SetupHitHistograms () |
void | SetupTrackHistograms () |
void | ExecDigiQa () |
void | ExecHitQa () |
void | ExecMCQa () |
void | ExecTrackQa () |
void | FinishMCQa () |
void | FinishDigiQa () |
void | FinishHitQa () |
void | FinishTrackQa () |
Bool_t | HasHitFirstMvd (CbmStsTrack *stsTrack) |
Bool_t | HasHitFirstTrue (Int_t MCtrackID, CbmStsTrack *stsTrack) |
void | GetFirstMCPos (CbmStsTrack *stsTrack, Float_t *pos) |
void | GetFirstMvdHitPos (CbmStsTrack *stsTrack, Float_t *hitPos) |
ClassDef (CbmMvdQa, 1) | |
Private Attributes | |
TFile * | foutFile |
Int_t | fNHitsOfLongTracks |
Int_t | fEventNumber |
Int_t | fminHitReq |
Float_t | fMvdRecoRatio |
Int_t | fBadTrack |
Int_t | fUsedTracks |
Int_t | fnrOfMergedHits |
Int_t | fFirstMvdPos |
Int_t | fnrTrackslowP |
Int_t | fnrTracksHighP |
Int_t | flow |
Int_t | fmid |
Int_t | fhigh |
TClonesArray * | fStsTrackArray |
TClonesArray * | fStsTrackArrayP |
TClonesArray * | fStsTrackArrayN |
TClonesArray * | fStsTrackMatches |
TClonesArray * | fGlobalTrackArray |
TClonesArray * | fListMCTracks |
TClonesArray * | fMCTrackArrayP |
TClonesArray * | fMCTrackArrayN |
TClonesArray * | fMcPoints |
TClonesArray * | fMvdDigis |
TClonesArray * | fMvdCluster |
TClonesArray * | fMvdHits |
TClonesArray * | fMvdHitMatchArray |
TClonesArray * | fMvdDigiMatchArray |
TClonesArray * | fBadTracks |
TClonesArray * | fInfoArray |
TH1F * | fMC1F [30] |
TH2F * | fMC2F [30] |
TH1F * | fDigi1F [30] |
TH2F * | fDigi2F [30] |
TH1F * | fHits1F [30] |
TH2F * | fHits2F [30] |
TH1F * | fTracks1F [f1FSize] |
TH2F * | fTracks2F [f2FSize] |
CbmVertex * | fPrimVtx |
CbmVertex * | fSecVtx |
CbmMvdDetector * | fDetector |
Bool_t | useMcQa |
Bool_t | useDigiQa |
Bool_t | useHitQa |
Bool_t | useTrackQa |
Int_t | fMode |
Bool_t | fdraw |
Static Private Attributes | |
static const Int_t | f1FSize = 34 |
static const Int_t | f2FSize = 12 |
Definition at line 33 of file CbmMvdQa.h.
CbmMvdQa::CbmMvdQa | ( | ) |
Definition at line 51 of file CbmMvdQa.cxx.
CbmMvdQa::CbmMvdQa | ( | const char * | name, |
Int_t | iMode = 0 , |
||
Int_t | iVerbose = 0 |
||
) |
Definition at line 56 of file CbmMvdQa.cxx.
|
delete |
CbmMvdQa::~CbmMvdQa | ( | ) |
Definition at line 109 of file CbmMvdQa.cxx.
|
private |
void CbmMvdQa::Exec | ( | Option_t * | opt | ) |
Definition at line 781 of file CbmMvdQa.cxx.
References ExecDigiQa(), ExecHitQa(), ExecMCQa(), ExecTrackQa(), fEventNumber, useDigiQa, useHitQa, useMcQa, and useTrackQa.
|
private |
Definition at line 807 of file CbmMvdQa.cxx.
References fDetector, fDigi1F, fDigi2F, PairAnalysisStyler::Fill, fMcPoints, fMvdDigiMatchArray, fMvdDigis, CbmMvdDigi::GetDetectorId(), CbmMvdSensor::GetDetectorID(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmMatch::GetNofLinks(), CbmMvdDigi::GetPixelX(), CbmMvdDigi::GetPixelY(), CbmMvdDetector::GetSensor(), CbmMvdDetector::GetSensorArraySize(), CbmMvdSensor::GetZ(), i, lab, and CbmMvdSensor::PixelToTop().
Referenced by Exec().
|
private |
Definition at line 854 of file CbmMvdQa.cxx.
References fHits1F, fHits2F, PairAnalysisStyler::Fill, fMcPoints, fMvdCluster, fMvdHitMatchArray, fMvdHits, CbmMvdHit::GetClusterIndex(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmMvdCluster::GetTotalDigisInCluster(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), and i.
Referenced by Exec().
|
private |
Definition at line 794 of file CbmMvdQa.cxx.
References fFirstMvdPos, fMC2F, fMcPoints, and i.
Referenced by Exec().
|
private |
Definition at line 893 of file CbmMvdQa.cxx.
References fabs(), fGlobalTrackArray, fhigh, fListMCTracks, flow, fmid, fMvdRecoRatio, fnrTracksHighP, fnrTrackslowP, fStsTrackArray, fStsTrackMatches, fTracks1F, fTracks2F, CbmTrack::GetChiSq(), GetFirstMCPos(), GetFirstMvdHitPos(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmTrack::GetNDF(), CbmStsTrack::GetNofMvdHits(), CbmMCTrack::GetP(), CbmTrack::GetParamFirst(), CbmGlobalTrack::GetParamVertex(), CbmGlobalTrack::GetStsTrackIndex(), CbmTrackMatchNew::GetTrueOverAllHitsRatio(), HasHitFirstMvd(), HasHitFirstTrue(), SetMatches(), and sqrt().
Referenced by Exec().
void CbmMvdQa::Finish | ( | ) |
Definition at line 1204 of file CbmMvdQa.cxx.
References FinishDigiQa(), FinishHitQa(), FinishMCQa(), FinishTrackQa(), foutFile, useDigiQa, useHitQa, useMcQa, and useTrackQa.
|
private |
Definition at line 1229 of file CbmMvdQa.cxx.
References fDigi1F, and fdraw.
Referenced by Finish().
|
private |
|
private |
|
private |
Definition at line 1287 of file CbmMvdQa.cxx.
References f1FSize, f2FSize, fdraw, fhigh, flow, fmid, fnrTracksHighP, fnrTrackslowP, fTracks1F, fTracks2F, and i.
Referenced by Finish().
|
private |
Definition at line 1133 of file CbmMvdQa.cxx.
References fFirstMvdPos, fMcPoints, fMvdHitMatchArray, CbmLink::GetIndex(), CbmMatch::GetLink(), CbmStsTrack::GetMvdHitIndex(), CbmMatch::GetNofLinks(), CbmStsTrack::GetNofMvdHits(), CbmMvdPoint::GetZOut(), and pos.
Referenced by ExecTrackQa().
|
private |
Definition at line 1075 of file CbmMvdQa.cxx.
References fFirstMvdPos, fMvdHits, CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), and CbmHit::GetZ().
Referenced by ExecTrackQa().
|
private |
Definition at line 1088 of file CbmMvdQa.cxx.
References fFirstMvdPos, fMvdHits, CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), and CbmHit::GetZ().
Referenced by ExecTrackQa().
|
private |
Definition at line 1101 of file CbmMvdQa.cxx.
References fFirstMvdPos, fMcPoints, fMvdHitMatchArray, CbmLink::GetIndex(), CbmMatch::GetLink(), CbmStsTrack::GetMvdHitIndex(), CbmMatch::GetNofLinks(), CbmStsTrack::GetNofMvdHits(), and CbmMvdPoint::GetZOut().
Referenced by ExecTrackQa().
InitStatus CbmMvdQa::Init | ( | ) |
Definition at line 113 of file CbmMvdQa.cxx.
References fBadTracks, fDetector, fFirstMvdPos, fGlobalTrackArray, fhigh, fListMCTracks, flow, fMcPoints, fmid, fMvdCluster, fMvdDigiMatchArray, fMvdDigis, fMvdHitMatchArray, fMvdHits, fnrTracksHighP, fnrTrackslowP, fPrimVtx, fStsTrackArray, fStsTrackMatches, CbmMvdDetector::GetParameterFile(), CbmMvdStationPar::GetZPosition(), CbmMvdDetector::Init(), CbmMvdDetector::Instance(), and SetupHistograms().
|
inline |
Definition at line 58 of file CbmMvdQa.h.
References fdraw.
void CbmMvdQa::SetMatches | ( | Int_t | MCtrackID, |
CbmStsTrack * | stsTrack | ||
) |
Definition at line 1164 of file CbmMvdQa.cxx.
References counter, fMC1F, fMcPoints, fMvdHitMatchArray, fMvdRecoRatio, fnrOfMergedHits, CbmLink::GetIndex(), CbmMatch::GetLink(), CbmStsTrack::GetMvdHitIndex(), CbmMatch::GetNofLinks(), CbmStsTrack::GetNofMvdHits(), and useMcQa.
Referenced by ExecTrackQa().
|
inline |
Definition at line 44 of file CbmMvdQa.h.
References fminHitReq.
|
inline |
Definition at line 57 of file CbmMvdQa.h.
References foutFile.
|
private |
Definition at line 228 of file CbmMvdQa.cxx.
References fDigi1F, and fDigi2F.
Referenced by SetupHistograms().
|
private |
Definition at line 197 of file CbmMvdQa.cxx.
References SetupDigiHistograms(), SetupHitHistograms(), SetupMCHistograms(), SetupTrackHistograms(), useDigiQa, useHitQa, useMcQa, and useTrackQa.
Referenced by Init().
|
private |
Definition at line 306 of file CbmMvdQa.cxx.
References fHits1F, and fHits2F.
Referenced by SetupHistograms().
|
private |
Definition at line 206 of file CbmMvdQa.cxx.
Referenced by SetupHistograms().
|
private |
Definition at line 359 of file CbmMvdQa.cxx.
References fTracks1F, and fTracks2F.
Referenced by SetupHistograms().
|
inline |
Definition at line 53 of file CbmMvdQa.h.
References useDigiQa.
|
inline |
Definition at line 54 of file CbmMvdQa.h.
References useHitQa.
|
inline |
Definition at line 52 of file CbmMvdQa.h.
References useMcQa.
|
inline |
Definition at line 55 of file CbmMvdQa.h.
References useTrackQa.
|
staticprivate |
Definition at line 101 of file CbmMvdQa.h.
Referenced by FinishTrackQa().
|
staticprivate |
Definition at line 102 of file CbmMvdQa.h.
Referenced by FinishTrackQa().
|
private |
Definition at line 67 of file CbmMvdQa.h.
|
private |
Definition at line 97 of file CbmMvdQa.h.
Referenced by Init().
|
private |
Definition at line 119 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), and Init().
|
private |
Definition at line 107 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), FinishDigiQa(), and SetupDigiHistograms().
|
private |
Definition at line 108 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), and SetupDigiHistograms().
|
private |
Definition at line 128 of file CbmMvdQa.h.
Referenced by FinishDigiQa(), FinishHitQa(), FinishMCQa(), FinishTrackQa(), and SetDrawOutput().
|
private |
Definition at line 64 of file CbmMvdQa.h.
Referenced by Exec().
|
private |
Definition at line 71 of file CbmMvdQa.h.
Referenced by ExecMCQa(), GetFirstMCPos(), GetFirstMvdHitPos(), HasHitFirstMvd(), HasHitFirstTrue(), and Init().
|
private |
Definition at line 84 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and Init().
|
private |
Definition at line 78 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 110 of file CbmMvdQa.h.
Referenced by ExecHitQa(), FinishHitQa(), and SetupHitHistograms().
|
private |
Definition at line 111 of file CbmMvdQa.h.
Referenced by ExecHitQa(), FinishHitQa(), and SetupHitHistograms().
|
private |
Definition at line 99 of file CbmMvdQa.h.
|
private |
Definition at line 87 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and Init().
|
private |
Definition at line 76 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 104 of file CbmMvdQa.h.
Referenced by FinishMCQa(), SetMatches(), and SetupMCHistograms().
|
private |
Definition at line 105 of file CbmMvdQa.h.
Referenced by ExecMCQa(), and SetupMCHistograms().
|
private |
Definition at line 91 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), ExecHitQa(), ExecMCQa(), GetFirstMCPos(), HasHitFirstTrue(), Init(), and SetMatches().
|
private |
Definition at line 89 of file CbmMvdQa.h.
|
private |
Definition at line 88 of file CbmMvdQa.h.
|
private |
Definition at line 77 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 65 of file CbmMvdQa.h.
Referenced by SetMinHitReq().
|
private |
Definition at line 126 of file CbmMvdQa.h.
|
private |
Definition at line 93 of file CbmMvdQa.h.
Referenced by ExecHitQa(), and Init().
|
private |
Definition at line 96 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), and Init().
|
private |
Definition at line 92 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), and Init().
|
private |
Definition at line 95 of file CbmMvdQa.h.
Referenced by ExecHitQa(), GetFirstMCPos(), HasHitFirstTrue(), Init(), and SetMatches().
|
private |
Definition at line 94 of file CbmMvdQa.h.
Referenced by ExecHitQa(), GetFirstMvdHitPos(), HasHitFirstMvd(), and Init().
|
private |
Definition at line 66 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and SetMatches().
|
private |
Definition at line 63 of file CbmMvdQa.h.
|
private |
Definition at line 69 of file CbmMvdQa.h.
Referenced by SetMatches().
|
private |
Definition at line 75 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 74 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 61 of file CbmMvdQa.h.
Referenced by Finish(), and SetOutFile().
|
private |
Definition at line 116 of file CbmMvdQa.h.
Referenced by Init().
|
private |
Definition at line 117 of file CbmMvdQa.h.
|
private |
Definition at line 80 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and Init().
|
private |
Definition at line 82 of file CbmMvdQa.h.
|
private |
Definition at line 81 of file CbmMvdQa.h.
|
private |
Definition at line 83 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and Init().
|
private |
Definition at line 113 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and SetupTrackHistograms().
|
private |
Definition at line 114 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and SetupTrackHistograms().
|
private |
Definition at line 68 of file CbmMvdQa.h.
|
private |
Definition at line 122 of file CbmMvdQa.h.
Referenced by Exec(), Finish(), SetupHistograms(), and SetUseDigiQa().
|
private |
Definition at line 123 of file CbmMvdQa.h.
Referenced by Exec(), Finish(), SetupHistograms(), and SetUseHitQa().
|
private |
Definition at line 121 of file CbmMvdQa.h.
Referenced by Exec(), Finish(), SetMatches(), SetupHistograms(), and SetUseMcQa().
|
private |
Definition at line 124 of file CbmMvdQa.h.
Referenced by Exec(), Finish(), SetupHistograms(), and SetUseTrackQa().