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 38 of file CbmMvdQa.h.
CbmMvdQa::CbmMvdQa | ( | ) |
Definition at line 46 of file CbmMvdQa.cxx.
CbmMvdQa::CbmMvdQa | ( | const char * | name, |
Int_t | iMode = 0, | ||
Int_t | iVerbose = 0 ) |
Definition at line 51 of file CbmMvdQa.cxx.
|
delete |
CbmMvdQa::~CbmMvdQa | ( | ) |
Definition at line 106 of file CbmMvdQa.cxx.
|
private |
void CbmMvdQa::Exec | ( | Option_t * | opt | ) |
Definition at line 539 of file CbmMvdQa.cxx.
References ExecDigiQa(), ExecHitQa(), ExecMCQa(), ExecTrackQa(), fEventNumber, useDigiQa, useHitQa, useMcQa, and useTrackQa.
|
private |
Definition at line 566 of file CbmMvdQa.cxx.
References fDetector, fDigi1F, fDigi2F, fMcPoints, fMvdDigiMatchArray, fMvdDigis, CbmMvdSensor::GetDetectorID(), CbmMvdDigi::GetDetectorId(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmMatch::GetNofLinks(), CbmMvdDigi::GetPixelX(), CbmMvdDigi::GetPixelY(), CbmMvdDetector::GetSensor(), CbmMvdDetector::GetSensorArraySize(), CbmMvdSensor::GetZ(), lab, and CbmMvdSensor::PixelToTop().
Referenced by Exec().
|
private |
Definition at line 614 of file CbmMvdQa.cxx.
References fHits1F, fHits2F, fMcPoints, fMvdCluster, fMvdHitMatchArray, fMvdHits, CbmMvdHit::GetClusterIndex(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmMvdCluster::GetTotalDigisInCluster(), CbmPixelHit::GetX(), and CbmPixelHit::GetY().
Referenced by Exec().
|
private |
Definition at line 552 of file CbmMvdQa.cxx.
References fFirstMvdPos, fMC2F, and fMcPoints.
Referenced by Exec().
|
private |
Definition at line 651 of file CbmMvdQa.cxx.
References 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 971 of file CbmMvdQa.cxx.
References FinishDigiQa(), FinishHitQa(), FinishMCQa(), FinishTrackQa(), useDigiQa, useHitQa, useMcQa, and useTrackQa.
|
private |
|
private |
|
private |
|
private |
Definition at line 1059 of file CbmMvdQa.cxx.
References f1FSize, f2FSize, fdraw, fhigh, flow, fmid, fnrTracksHighP, fnrTrackslowP, fTracks1F, and fTracks2F.
Referenced by Finish().
|
private |
Definition at line 896 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 837 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 850 of file CbmMvdQa.cxx.
References fFirstMvdPos, fMvdHits, CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), and CbmHit::GetZ().
Referenced by ExecTrackQa().
|
private |
Definition at line 863 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 110 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(), SetupHistograms(), and useTrackQa.
|
inline |
Definition at line 63 of file CbmMvdQa.h.
References fdraw.
void CbmMvdQa::SetMatches | ( | Int_t | MCtrackID, |
CbmStsTrack * | stsTrack ) |
Definition at line 928 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 49 of file CbmMvdQa.h.
References fminHitReq.
|
inline |
Definition at line 62 of file CbmMvdQa.h.
References foutFile.
|
private |
Definition at line 210 of file CbmMvdQa.cxx.
References fDigi1F, and fDigi2F.
Referenced by SetupHistograms().
|
private |
Definition at line 179 of file CbmMvdQa.cxx.
References SetupDigiHistograms(), SetupHitHistograms(), SetupMCHistograms(), SetupTrackHistograms(), useDigiQa, useHitQa, useMcQa, and useTrackQa.
Referenced by Init().
|
private |
Definition at line 252 of file CbmMvdQa.cxx.
References fHits1F, and fHits2F.
Referenced by SetupHistograms().
|
private |
Definition at line 189 of file CbmMvdQa.cxx.
Referenced by SetupHistograms().
|
private |
Definition at line 295 of file CbmMvdQa.cxx.
References fTracks1F, and fTracks2F.
Referenced by SetupHistograms().
|
inline |
Definition at line 58 of file CbmMvdQa.h.
References useDigiQa.
|
inline |
Definition at line 59 of file CbmMvdQa.h.
References useHitQa.
|
inline |
Definition at line 57 of file CbmMvdQa.h.
References useMcQa.
|
inline |
Definition at line 60 of file CbmMvdQa.h.
References useTrackQa.
|
staticprivate |
Definition at line 106 of file CbmMvdQa.h.
Referenced by FinishTrackQa().
|
staticprivate |
Definition at line 107 of file CbmMvdQa.h.
Referenced by FinishTrackQa().
|
private |
Definition at line 72 of file CbmMvdQa.h.
|
private |
Definition at line 102 of file CbmMvdQa.h.
Referenced by Init().
|
private |
Definition at line 124 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), and Init().
|
private |
Definition at line 112 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), FinishDigiQa(), and SetupDigiHistograms().
|
private |
Definition at line 113 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), and SetupDigiHistograms().
|
private |
Definition at line 133 of file CbmMvdQa.h.
Referenced by FinishDigiQa(), FinishHitQa(), FinishMCQa(), FinishTrackQa(), and SetDrawOutput().
|
private |
Definition at line 69 of file CbmMvdQa.h.
Referenced by Exec().
|
private |
Definition at line 76 of file CbmMvdQa.h.
Referenced by ExecMCQa(), GetFirstMCPos(), GetFirstMvdHitPos(), HasHitFirstMvd(), HasHitFirstTrue(), and Init().
|
private |
Definition at line 89 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and Init().
|
private |
Definition at line 83 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 115 of file CbmMvdQa.h.
Referenced by ExecHitQa(), FinishHitQa(), and SetupHitHistograms().
|
private |
Definition at line 116 of file CbmMvdQa.h.
Referenced by ExecHitQa(), FinishHitQa(), and SetupHitHistograms().
|
private |
Definition at line 104 of file CbmMvdQa.h.
|
private |
Definition at line 92 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and Init().
|
private |
Definition at line 81 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 109 of file CbmMvdQa.h.
Referenced by FinishMCQa(), SetMatches(), and SetupMCHistograms().
|
private |
Definition at line 110 of file CbmMvdQa.h.
Referenced by ExecMCQa(), and SetupMCHistograms().
|
private |
Definition at line 96 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), ExecHitQa(), ExecMCQa(), GetFirstMCPos(), HasHitFirstTrue(), Init(), and SetMatches().
|
private |
Definition at line 94 of file CbmMvdQa.h.
|
private |
Definition at line 93 of file CbmMvdQa.h.
|
private |
Definition at line 82 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 70 of file CbmMvdQa.h.
Referenced by SetMinHitReq().
|
private |
Definition at line 131 of file CbmMvdQa.h.
|
private |
Definition at line 98 of file CbmMvdQa.h.
Referenced by ExecHitQa(), and Init().
|
private |
Definition at line 101 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), and Init().
|
private |
Definition at line 97 of file CbmMvdQa.h.
Referenced by ExecDigiQa(), and Init().
|
private |
Definition at line 100 of file CbmMvdQa.h.
Referenced by ExecHitQa(), GetFirstMCPos(), HasHitFirstTrue(), Init(), and SetMatches().
|
private |
Definition at line 99 of file CbmMvdQa.h.
Referenced by ExecHitQa(), GetFirstMvdHitPos(), HasHitFirstMvd(), and Init().
|
private |
Definition at line 71 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and SetMatches().
|
private |
Definition at line 68 of file CbmMvdQa.h.
|
private |
Definition at line 74 of file CbmMvdQa.h.
Referenced by SetMatches().
|
private |
Definition at line 80 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 79 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and Init().
|
private |
Definition at line 66 of file CbmMvdQa.h.
Referenced by SetOutFile().
|
private |
Definition at line 121 of file CbmMvdQa.h.
Referenced by Init().
|
private |
Definition at line 122 of file CbmMvdQa.h.
|
private |
Definition at line 85 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and Init().
|
private |
Definition at line 87 of file CbmMvdQa.h.
|
private |
Definition at line 86 of file CbmMvdQa.h.
|
private |
Definition at line 88 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), and Init().
|
private |
Definition at line 118 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and SetupTrackHistograms().
|
private |
Definition at line 119 of file CbmMvdQa.h.
Referenced by ExecTrackQa(), FinishTrackQa(), and SetupTrackHistograms().
|
private |
Definition at line 73 of file CbmMvdQa.h.
|
private |
Definition at line 127 of file CbmMvdQa.h.
Referenced by Exec(), Finish(), SetupHistograms(), and SetUseDigiQa().
|
private |
Definition at line 128 of file CbmMvdQa.h.
Referenced by Exec(), Finish(), SetupHistograms(), and SetUseHitQa().
|
private |
Definition at line 126 of file CbmMvdQa.h.
Referenced by Exec(), Finish(), SetMatches(), SetupHistograms(), and SetUseMcQa().
|
private |
Definition at line 129 of file CbmMvdQa.h.
Referenced by Exec(), Finish(), Init(), SetupHistograms(), and SetUseTrackQa().