CbmRoot
CbmMvdQa Class Reference

#include <CbmMvdQa.h>

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

Public Member Functions

 CbmMvdQa ()
 
 CbmMvdQa (const char *name, Int_t iMode=0, Int_t iVerbose=0)
 
 CbmMvdQa (const CbmMvdQa &)=delete
 
CbmMvdQaoperator= (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]
 
CbmVertexfPrimVtx
 
CbmVertexfSecVtx
 
CbmMvdDetectorfDetector
 
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
 

Detailed Description

Definition at line 33 of file CbmMvdQa.h.

Constructor & Destructor Documentation

◆ CbmMvdQa() [1/3]

CbmMvdQa::CbmMvdQa ( )

Definition at line 51 of file CbmMvdQa.cxx.

◆ CbmMvdQa() [2/3]

CbmMvdQa::CbmMvdQa ( const char *  name,
Int_t  iMode = 0,
Int_t  iVerbose = 0 
)

Definition at line 56 of file CbmMvdQa.cxx.

◆ CbmMvdQa() [3/3]

CbmMvdQa::CbmMvdQa ( const CbmMvdQa )
delete

◆ ~CbmMvdQa()

CbmMvdQa::~CbmMvdQa ( )

Definition at line 109 of file CbmMvdQa.cxx.

Member Function Documentation

◆ ClassDef()

CbmMvdQa::ClassDef ( CbmMvdQa  ,
 
)
private

◆ Exec()

void CbmMvdQa::Exec ( Option_t *  opt)

◆ ExecDigiQa()

◆ ExecHitQa()

◆ ExecMCQa()

void CbmMvdQa::ExecMCQa ( )
private

Definition at line 794 of file CbmMvdQa.cxx.

References fFirstMvdPos, fMC2F, fMcPoints, and i.

Referenced by Exec().

◆ ExecTrackQa()

◆ Finish()

void CbmMvdQa::Finish ( )

◆ FinishDigiQa()

void CbmMvdQa::FinishDigiQa ( )
private

Definition at line 1229 of file CbmMvdQa.cxx.

References fDigi1F, and fdraw.

Referenced by Finish().

◆ FinishHitQa()

void CbmMvdQa::FinishHitQa ( )
private

Definition at line 1246 of file CbmMvdQa.cxx.

References fdraw, fHits1F, fHits2F, and i.

Referenced by Finish().

◆ FinishMCQa()

void CbmMvdQa::FinishMCQa ( )
private

Definition at line 1217 of file CbmMvdQa.cxx.

References fdraw, and fMC1F.

Referenced by Finish().

◆ FinishTrackQa()

void CbmMvdQa::FinishTrackQa ( )
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().

◆ GetFirstMCPos()

void CbmMvdQa::GetFirstMCPos ( CbmStsTrack stsTrack,
Float_t *  pos 
)
private

◆ GetFirstMvdHitPos()

void CbmMvdQa::GetFirstMvdHitPos ( CbmStsTrack stsTrack,
Float_t *  hitPos 
)
private

◆ HasHitFirstMvd()

Bool_t CbmMvdQa::HasHitFirstMvd ( CbmStsTrack stsTrack)
private

◆ HasHitFirstTrue()

Bool_t CbmMvdQa::HasHitFirstTrue ( Int_t  MCtrackID,
CbmStsTrack stsTrack 
)
private

◆ Init()

◆ operator=()

CbmMvdQa& CbmMvdQa::operator= ( const CbmMvdQa )
delete

◆ SetDrawOutput()

void CbmMvdQa::SetDrawOutput ( )
inline

Definition at line 58 of file CbmMvdQa.h.

References fdraw.

◆ SetMatches()

◆ SetMinHitReq()

void CbmMvdQa::SetMinHitReq ( Int_t  nrOfHits)
inline

Definition at line 44 of file CbmMvdQa.h.

References fminHitReq.

◆ SetOutFile()

void CbmMvdQa::SetOutFile ( TFile *  outFile)
inline

Definition at line 57 of file CbmMvdQa.h.

References foutFile.

◆ SetupDigiHistograms()

void CbmMvdQa::SetupDigiHistograms ( )
private

Definition at line 228 of file CbmMvdQa.cxx.

References fDigi1F, and fDigi2F.

Referenced by SetupHistograms().

◆ SetupHistograms()

void CbmMvdQa::SetupHistograms ( )
private

◆ SetupHitHistograms()

void CbmMvdQa::SetupHitHistograms ( )
private

Definition at line 306 of file CbmMvdQa.cxx.

References fHits1F, and fHits2F.

Referenced by SetupHistograms().

◆ SetupMCHistograms()

void CbmMvdQa::SetupMCHistograms ( )
private

Definition at line 206 of file CbmMvdQa.cxx.

References fMC1F, and fMC2F.

Referenced by SetupHistograms().

◆ SetupTrackHistograms()

void CbmMvdQa::SetupTrackHistograms ( )
private

Definition at line 359 of file CbmMvdQa.cxx.

References fTracks1F, and fTracks2F.

Referenced by SetupHistograms().

◆ SetUseDigiQa()

void CbmMvdQa::SetUseDigiQa ( )
inline

Definition at line 53 of file CbmMvdQa.h.

References useDigiQa.

◆ SetUseHitQa()

void CbmMvdQa::SetUseHitQa ( )
inline

Definition at line 54 of file CbmMvdQa.h.

References useHitQa.

◆ SetUseMcQa()

void CbmMvdQa::SetUseMcQa ( )
inline

Definition at line 52 of file CbmMvdQa.h.

References useMcQa.

◆ SetUseTrackQa()

void CbmMvdQa::SetUseTrackQa ( )
inline

Definition at line 55 of file CbmMvdQa.h.

References useTrackQa.

Member Data Documentation

◆ f1FSize

const Int_t CbmMvdQa::f1FSize = 34
staticprivate

Definition at line 101 of file CbmMvdQa.h.

Referenced by FinishTrackQa().

◆ f2FSize

const Int_t CbmMvdQa::f2FSize = 12
staticprivate

Definition at line 102 of file CbmMvdQa.h.

Referenced by FinishTrackQa().

◆ fBadTrack

Int_t CbmMvdQa::fBadTrack
private

Definition at line 67 of file CbmMvdQa.h.

◆ fBadTracks

TClonesArray* CbmMvdQa::fBadTracks
private

Definition at line 97 of file CbmMvdQa.h.

Referenced by Init().

◆ fDetector

CbmMvdDetector* CbmMvdQa::fDetector
private

Definition at line 119 of file CbmMvdQa.h.

Referenced by ExecDigiQa(), and Init().

◆ fDigi1F

TH1F* CbmMvdQa::fDigi1F[30]
private

Definition at line 107 of file CbmMvdQa.h.

Referenced by ExecDigiQa(), FinishDigiQa(), and SetupDigiHistograms().

◆ fDigi2F

TH2F* CbmMvdQa::fDigi2F[30]
private

Definition at line 108 of file CbmMvdQa.h.

Referenced by ExecDigiQa(), and SetupDigiHistograms().

◆ fdraw

Bool_t CbmMvdQa::fdraw
private

Definition at line 128 of file CbmMvdQa.h.

Referenced by FinishDigiQa(), FinishHitQa(), FinishMCQa(), FinishTrackQa(), and SetDrawOutput().

◆ fEventNumber

Int_t CbmMvdQa::fEventNumber
private

Definition at line 64 of file CbmMvdQa.h.

Referenced by Exec().

◆ fFirstMvdPos

Int_t CbmMvdQa::fFirstMvdPos
private

◆ fGlobalTrackArray

TClonesArray* CbmMvdQa::fGlobalTrackArray
private

Definition at line 84 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), and Init().

◆ fhigh

Int_t CbmMvdQa::fhigh
private

Definition at line 78 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), FinishTrackQa(), and Init().

◆ fHits1F

TH1F* CbmMvdQa::fHits1F[30]
private

Definition at line 110 of file CbmMvdQa.h.

Referenced by ExecHitQa(), FinishHitQa(), and SetupHitHistograms().

◆ fHits2F

TH2F* CbmMvdQa::fHits2F[30]
private

Definition at line 111 of file CbmMvdQa.h.

Referenced by ExecHitQa(), FinishHitQa(), and SetupHitHistograms().

◆ fInfoArray

TClonesArray* CbmMvdQa::fInfoArray
private

Definition at line 99 of file CbmMvdQa.h.

◆ fListMCTracks

TClonesArray* CbmMvdQa::fListMCTracks
private

Definition at line 87 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), and Init().

◆ flow

Int_t CbmMvdQa::flow
private

Definition at line 76 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), FinishTrackQa(), and Init().

◆ fMC1F

TH1F* CbmMvdQa::fMC1F[30]
private

Definition at line 104 of file CbmMvdQa.h.

Referenced by FinishMCQa(), SetMatches(), and SetupMCHistograms().

◆ fMC2F

TH2F* CbmMvdQa::fMC2F[30]
private

Definition at line 105 of file CbmMvdQa.h.

Referenced by ExecMCQa(), and SetupMCHistograms().

◆ fMcPoints

TClonesArray* CbmMvdQa::fMcPoints
private

◆ fMCTrackArrayN

TClonesArray* CbmMvdQa::fMCTrackArrayN
private

Definition at line 89 of file CbmMvdQa.h.

◆ fMCTrackArrayP

TClonesArray* CbmMvdQa::fMCTrackArrayP
private

Definition at line 88 of file CbmMvdQa.h.

◆ fmid

Int_t CbmMvdQa::fmid
private

Definition at line 77 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), FinishTrackQa(), and Init().

◆ fminHitReq

Int_t CbmMvdQa::fminHitReq
private

Definition at line 65 of file CbmMvdQa.h.

Referenced by SetMinHitReq().

◆ fMode

Int_t CbmMvdQa::fMode
private

Definition at line 126 of file CbmMvdQa.h.

◆ fMvdCluster

TClonesArray* CbmMvdQa::fMvdCluster
private

Definition at line 93 of file CbmMvdQa.h.

Referenced by ExecHitQa(), and Init().

◆ fMvdDigiMatchArray

TClonesArray* CbmMvdQa::fMvdDigiMatchArray
private

Definition at line 96 of file CbmMvdQa.h.

Referenced by ExecDigiQa(), and Init().

◆ fMvdDigis

TClonesArray* CbmMvdQa::fMvdDigis
private

Definition at line 92 of file CbmMvdQa.h.

Referenced by ExecDigiQa(), and Init().

◆ fMvdHitMatchArray

TClonesArray* CbmMvdQa::fMvdHitMatchArray
private

Definition at line 95 of file CbmMvdQa.h.

Referenced by ExecHitQa(), GetFirstMCPos(), HasHitFirstTrue(), Init(), and SetMatches().

◆ fMvdHits

TClonesArray* CbmMvdQa::fMvdHits
private

Definition at line 94 of file CbmMvdQa.h.

Referenced by ExecHitQa(), GetFirstMvdHitPos(), HasHitFirstMvd(), and Init().

◆ fMvdRecoRatio

Float_t CbmMvdQa::fMvdRecoRatio
private

Definition at line 66 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), and SetMatches().

◆ fNHitsOfLongTracks

Int_t CbmMvdQa::fNHitsOfLongTracks
private

Definition at line 63 of file CbmMvdQa.h.

◆ fnrOfMergedHits

Int_t CbmMvdQa::fnrOfMergedHits
private

Definition at line 69 of file CbmMvdQa.h.

Referenced by SetMatches().

◆ fnrTracksHighP

Int_t CbmMvdQa::fnrTracksHighP
private

Definition at line 75 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), FinishTrackQa(), and Init().

◆ fnrTrackslowP

Int_t CbmMvdQa::fnrTrackslowP
private

Definition at line 74 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), FinishTrackQa(), and Init().

◆ foutFile

TFile* CbmMvdQa::foutFile
private

Definition at line 61 of file CbmMvdQa.h.

Referenced by Finish(), and SetOutFile().

◆ fPrimVtx

CbmVertex* CbmMvdQa::fPrimVtx
private

Definition at line 116 of file CbmMvdQa.h.

Referenced by Init().

◆ fSecVtx

CbmVertex* CbmMvdQa::fSecVtx
private

Definition at line 117 of file CbmMvdQa.h.

◆ fStsTrackArray

TClonesArray* CbmMvdQa::fStsTrackArray
private

Definition at line 80 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), and Init().

◆ fStsTrackArrayN

TClonesArray* CbmMvdQa::fStsTrackArrayN
private

Definition at line 82 of file CbmMvdQa.h.

◆ fStsTrackArrayP

TClonesArray* CbmMvdQa::fStsTrackArrayP
private

Definition at line 81 of file CbmMvdQa.h.

◆ fStsTrackMatches

TClonesArray* CbmMvdQa::fStsTrackMatches
private

Definition at line 83 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), and Init().

◆ fTracks1F

TH1F* CbmMvdQa::fTracks1F[f1FSize]
private

Definition at line 113 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), FinishTrackQa(), and SetupTrackHistograms().

◆ fTracks2F

TH2F* CbmMvdQa::fTracks2F[f2FSize]
private

Definition at line 114 of file CbmMvdQa.h.

Referenced by ExecTrackQa(), FinishTrackQa(), and SetupTrackHistograms().

◆ fUsedTracks

Int_t CbmMvdQa::fUsedTracks
private

Definition at line 68 of file CbmMvdQa.h.

◆ useDigiQa

Bool_t CbmMvdQa::useDigiQa
private

Definition at line 122 of file CbmMvdQa.h.

Referenced by Exec(), Finish(), SetupHistograms(), and SetUseDigiQa().

◆ useHitQa

Bool_t CbmMvdQa::useHitQa
private

Definition at line 123 of file CbmMvdQa.h.

Referenced by Exec(), Finish(), SetupHistograms(), and SetUseHitQa().

◆ useMcQa

Bool_t CbmMvdQa::useMcQa
private

Definition at line 121 of file CbmMvdQa.h.

Referenced by Exec(), Finish(), SetMatches(), SetupHistograms(), and SetUseMcQa().

◆ useTrackQa

Bool_t CbmMvdQa::useTrackQa
private

Definition at line 124 of file CbmMvdQa.h.

Referenced by Exec(), Finish(), SetupHistograms(), and SetUseTrackQa().


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