CbmRoot
|
#include <CbmKFTrackFitQA.h>
Public Member Functions | |
CbmKFTrackFitQA () | |
~CbmKFTrackFitQA () | |
void | StsHitMatch () |
void | FillHitHistos () |
void | FillHistoAtParticleVertex (CbmMCTrack *track_mc, CbmKFTrack *track_kf) |
void | FillHistoAtFirstPoint (CbmKFTrErrMCPoints *mc_points, CbmMCTrack *track_mc, CbmKFTrack *track_kf) |
void | KFWrite () |
void | FindBackTracks (CbmKFTrErrMCPoints *mc_points, CbmMCTrack *track_mc, CbmKFTrack *track_kf, int iEvent) |
void | FindBackTracks () |
void | Save () |
void | SetOutFile (TString outname) |
virtual InitStatus | ReInit () |
virtual InitStatus | Init () |
void | Exec (Option_t *option) |
void | Finish () |
Private Member Functions | |
ClassDef (CbmKFTrackFitQA, 1) | |
CbmKFTrackFitQA (const CbmKFTrackFitQA &) | |
void | operator= (const CbmKFTrackFitQA &) |
Private Attributes | |
TClonesArray * | listStsPts |
TClonesArray * | listMvdPts |
TClonesArray * | listMCTracks |
TClonesArray * | listStsTracksMatch |
TClonesArray * | listStsTracks |
TClonesArray * | listStsHits |
TClonesArray * | listMvdHits |
TClonesArray * | listMvdHitMatches |
TClonesArray * | listStsClusters |
TClonesArray * | listStsDigi |
TClonesArray * | listStsDigiMatch |
TString | outfileName |
std::vector< int > | vStsHitMatch |
TH1F * | res_STShit_x |
TH1F * | res_STShit_y |
TH1F * | pull_STShit_x |
TH1F * | pull_STShit_y |
TH1F * | res_MVDhit_x |
TH1F * | res_MVDhit_y |
TH1F * | pull_MVDhit_x |
TH1F * | pull_MVDhit_y |
TH1F * | res_AtPV_x |
TH1F * | res_AtPV_y |
TH1F * | res_AtPV_tx |
TH1F * | res_AtPV_ty |
TH1F * | res_AtPV_qp |
TH1F * | pull_AtPV_x |
TH1F * | pull_AtPV_y |
TH1F * | pull_AtPV_tx |
TH1F * | pull_AtPV_ty |
TH1F * | pull_AtPV_qp |
TH1F * | res_AtFP_x |
TH1F * | res_AtFP_y |
TH1F * | res_AtFP_tx |
TH1F * | res_AtFP_ty |
TH1F * | res_AtFP_qp |
TH1F * | pull_AtFP_x |
TH1F * | pull_AtFP_y |
TH1F * | pull_AtFP_tx |
TH1F * | pull_AtFP_ty |
TH1F * | pull_AtFP_qp |
TProfile * | q_QA |
TProfile * | dp_p |
TH1F * | ggg |
int | Nback |
Definition at line 42 of file CbmKFTrackFitQA.h.
CbmKFTrackFitQA::CbmKFTrackFitQA | ( | ) |
CbmKFTrackFitQA::~CbmKFTrackFitQA | ( | ) |
Definition at line 186 of file CbmKFTrackFitQA.cxx.
References pull_AtFP_qp, pull_AtFP_tx, pull_AtFP_ty, pull_AtFP_x, pull_AtFP_y, pull_AtPV_qp, pull_AtPV_tx, pull_AtPV_ty, pull_AtPV_x, pull_AtPV_y, pull_MVDhit_x, pull_MVDhit_y, pull_STShit_x, pull_STShit_y, res_AtFP_qp, res_AtFP_tx, res_AtFP_ty, res_AtFP_x, res_AtFP_y, res_AtPV_qp, res_AtPV_tx, res_AtPV_ty, res_AtPV_x, res_AtPV_y, res_MVDhit_x, res_MVDhit_y, res_STShit_x, and res_STShit_y.
|
private |
|
private |
void CbmKFTrackFitQA::Exec | ( | Option_t * | option | ) |
Definition at line 253 of file CbmKFTrackFitQA.cxx.
References FillHistoAtFirstPoint(), FillHistoAtParticleVertex(), FillHitHistos(), CbmTrackMatch::GetMCTrackId(), CbmTrackMatch::GetNofMCTracks(), CbmKF::Instance(), listMCTracks, listMvdPts, listStsPts, listStsTracks, listStsTracksMatch, CbmKFTrErrMCPoints::MvdArray, and CbmKFTrErrMCPoints::StsArray.
void CbmKFTrackFitQA::FillHistoAtFirstPoint | ( | CbmKFTrErrMCPoints * | mc_points, |
CbmMCTrack * | track_mc, | ||
CbmKFTrack * | track_kf | ||
) |
Definition at line 364 of file CbmKFTrackFitQA.cxx.
References dp_p, CbmKFTrackInterface::Extrapolate(), fabs(), finite(), CbmKFTrack::GetCovMatrix(), CbmMCTrack::GetPdgCode(), CbmKFTrack::GetTrack(), CbmKFTrErrMCPoints::MvdArray, pull_AtFP_qp, pull_AtFP_tx, pull_AtFP_ty, pull_AtFP_x, pull_AtFP_y, q_QA, res_AtFP_qp, res_AtFP_tx, res_AtFP_ty, res_AtFP_x, res_AtFP_y, sqrt(), and CbmKFTrErrMCPoints::StsArray.
Referenced by Exec().
void CbmKFTrackFitQA::FillHistoAtParticleVertex | ( | CbmMCTrack * | track_mc, |
CbmKFTrack * | track_kf | ||
) |
Definition at line 288 of file CbmKFTrackFitQA.cxx.
References dp_p, CbmKFTrackInterface::Extrapolate(), fabs(), finite(), CbmKFTrackInterface::GetCovMatrix(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetPx(), CbmMCTrack::GetPy(), CbmMCTrack::GetPz(), CbmMCTrack::GetStartX(), CbmMCTrack::GetStartY(), CbmKFTrackInterface::GetTrack(), pull_AtPV_qp, pull_AtPV_tx, pull_AtPV_ty, pull_AtPV_x, pull_AtPV_y, q_QA, res_AtPV_qp, res_AtPV_tx, res_AtPV_ty, res_AtPV_x, res_AtPV_y, and sqrt().
Referenced by Exec().
void CbmKFTrackFitQA::FillHitHistos | ( | ) |
Definition at line 571 of file CbmKFTrackFitQA.cxx.
References CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmPixelHit::GetX(), CbmStsPoint::GetXIn(), CbmStsPoint::GetXOut(), CbmPixelHit::GetY(), CbmStsPoint::GetYIn(), CbmStsPoint::GetYOut(), listStsHits, listStsPts, pull_STShit_x, pull_STShit_y, res_STShit_x, res_STShit_y, StsHitMatch(), and vStsHitMatch.
Referenced by Exec().
void CbmKFTrackFitQA::FindBackTracks | ( | ) |
Definition at line 684 of file CbmKFTrackFitQA.cxx.
void CbmKFTrackFitQA::FindBackTracks | ( | CbmKFTrErrMCPoints * | mc_points, |
CbmMCTrack * | track_mc, | ||
CbmKFTrack * | track_kf, | ||
int | iEvent | ||
) |
Definition at line 736 of file CbmKFTrackFitQA.cxx.
void CbmKFTrackFitQA::Finish | ( | ) |
Definition at line 286 of file CbmKFTrackFitQA.cxx.
References KFWrite().
|
virtual |
Definition at line 224 of file CbmKFTrackFitQA.cxx.
References CbmKF::Instance(), listMCTracks, listMvdHitMatches, listMvdHits, listMvdPts, listStsClusters, listStsDigi, listStsDigiMatch, listStsHits, listStsPts, listStsTracks, listStsTracksMatch, and CbmKF::vMvdMaterial.
Referenced by ReInit().
void CbmKFTrackFitQA::KFWrite | ( | ) |
Definition at line 477 of file CbmKFTrackFitQA.cxx.
References dp_p, ggg, outfileName, pull_AtFP_qp, pull_AtFP_tx, pull_AtFP_ty, pull_AtFP_x, pull_AtFP_y, pull_AtPV_qp, pull_AtPV_tx, pull_AtPV_ty, pull_AtPV_x, pull_AtPV_y, pull_MVDhit_x, pull_MVDhit_y, pull_STShit_x, pull_STShit_y, q_QA, res_AtFP_qp, res_AtFP_tx, res_AtFP_ty, res_AtFP_x, res_AtFP_y, res_AtPV_qp, res_AtPV_tx, res_AtPV_ty, res_AtPV_x, res_AtPV_y, res_MVDhit_x, res_MVDhit_y, res_STShit_x, and res_STShit_y.
Referenced by Finish().
|
private |
|
virtual |
Definition at line 222 of file CbmKFTrackFitQA.cxx.
References Init().
void CbmKFTrackFitQA::Save | ( | ) |
Definition at line 529 of file CbmKFTrackFitQA.cxx.
References pull_AtFP_qp, pull_AtFP_tx, pull_AtFP_ty, pull_AtFP_x, pull_AtFP_y, pull_AtPV_qp, pull_AtPV_tx, pull_AtPV_ty, pull_AtPV_x, pull_AtPV_y, res_AtFP_qp, res_AtFP_tx, res_AtFP_ty, res_AtFP_x, res_AtFP_y, res_AtPV_qp, res_AtPV_tx, res_AtPV_ty, res_AtPV_x, and res_AtPV_y.
|
inline |
Definition at line 61 of file CbmKFTrackFitQA.h.
References outfileName.
void CbmKFTrackFitQA::StsHitMatch | ( | ) |
Definition at line 609 of file CbmKFTrackFitQA.cxx.
References CbmLink::GetIndex(), CbmMatch::GetLink(), CbmHit::GetMatch(), CbmCluster::GetMatch(), CbmMatch::GetNofLinks(), ggg, listStsClusters, listStsDigiMatch, listStsHits, and vStsHitMatch.
Referenced by FillHitHistos().
|
private |
Definition at line 131 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), FillHistoAtParticleVertex(), and KFWrite().
|
private |
Definition at line 133 of file CbmKFTrackFitQA.h.
Referenced by KFWrite(), and StsHitMatch().
|
private |
Definition at line 73 of file CbmKFTrackFitQA.h.
|
private |
Definition at line 78 of file CbmKFTrackFitQA.h.
Referenced by Init().
|
private |
Definition at line 77 of file CbmKFTrackFitQA.h.
Referenced by Init().
|
private |
Definition at line 72 of file CbmKFTrackFitQA.h.
|
private |
Definition at line 79 of file CbmKFTrackFitQA.h.
Referenced by Init(), and StsHitMatch().
|
private |
Definition at line 80 of file CbmKFTrackFitQA.h.
Referenced by Init().
|
private |
Definition at line 81 of file CbmKFTrackFitQA.h.
Referenced by Init(), and StsHitMatch().
|
private |
Definition at line 76 of file CbmKFTrackFitQA.h.
Referenced by FillHitHistos(), Init(), and StsHitMatch().
|
private |
Definition at line 71 of file CbmKFTrackFitQA.h.
Referenced by Exec(), FillHitHistos(), and Init().
|
private |
Definition at line 75 of file CbmKFTrackFitQA.h.
|
private |
Definition at line 74 of file CbmKFTrackFitQA.h.
|
private |
Definition at line 135 of file CbmKFTrackFitQA.h.
|
private |
Definition at line 85 of file CbmKFTrackFitQA.h.
Referenced by KFWrite(), and SetOutFile().
|
private |
Definition at line 127 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 125 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 126 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 123 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 124 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 114 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 112 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 113 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 110 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 111 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 99 of file CbmKFTrackFitQA.h.
Referenced by KFWrite(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 100 of file CbmKFTrackFitQA.h.
Referenced by KFWrite(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 94 of file CbmKFTrackFitQA.h.
Referenced by FillHitHistos(), KFWrite(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 95 of file CbmKFTrackFitQA.h.
Referenced by FillHitHistos(), KFWrite(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 130 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), FillHistoAtParticleVertex(), and KFWrite().
|
private |
Definition at line 121 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 119 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 120 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 117 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 118 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtFirstPoint(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 108 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 106 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 107 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 104 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 105 of file CbmKFTrackFitQA.h.
Referenced by FillHistoAtParticleVertex(), KFWrite(), Save(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 97 of file CbmKFTrackFitQA.h.
Referenced by KFWrite(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 98 of file CbmKFTrackFitQA.h.
Referenced by KFWrite(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 92 of file CbmKFTrackFitQA.h.
Referenced by FillHitHistos(), KFWrite(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 93 of file CbmKFTrackFitQA.h.
Referenced by FillHitHistos(), KFWrite(), and ~CbmKFTrackFitQA().
|
private |
Definition at line 87 of file CbmKFTrackFitQA.h.
Referenced by FillHitHistos(), and StsHitMatch().