FairRoot/PandaRoot
|
#include <PndMvdRiemannVertexFinderTask.h>
Public Member Functions | |
PndMvdRiemannVertexFinderTask () | |
virtual | ~PndMvdRiemannVertexFinderTask () |
PndMvdRiemannVertexFinderTask (const PndMvdRiemannVertexFinderTask &)=delete | |
PndMvdRiemannVertexFinderTask & | operator= (const PndMvdRiemannVertexFinderTask &)=delete |
virtual void | SetParContainers () |
virtual InitStatus | Init () |
virtual InitStatus | ReInit () |
virtual void | Exec (Option_t *opt) |
virtual void | FinishEvent () |
void | SetVerbose (Int_t verbose) |
void | SetVertexCut (double cut) |
Public Attributes | |
TH1F * | delta |
TH1F * | wrongV |
std::pair< double, double > | eff |
std::pair< double, double > | ghosts |
Private Member Functions | |
bool | CheckRecoTrack (PndTrackCand *cand, PndMCTrack *myTrack) |
bool | CheckVertex (std::vector< int > Combination, std::vector< std::pair< int, int > > PairCand) |
bool | CheckTwoCands (int first, int second) |
int | FoundCandInMCCands (int candN) |
void | refit (std::vector< int > &CheckedCand) |
void | FindVertex (std::vector< int > CheckedCand, std::vector< std::pair< int, int > > &PairCand, std::vector< std::pair< int, int > > &TrueMCCand, std::vector< std::pair< int, int > > &FalseMCCand, std::vector< std::pair< int, int > > &MCCand, int &MaxIndex) |
void | CalcEfficiency (std::vector< std::pair< int, int > > TrueMCCand, std::vector< std::pair< int, int > > FalseMCCand, std::vector< std::pair< int, int > > MCCand) |
void | Register () |
void | Reset () |
void | ProduceHits () |
ClassDef (PndMvdRiemannVertexFinderTask, 1) | |
Private Attributes | |
TString | fHitBranch |
TString | fHitBranch2 |
TString | fTrackBranch |
TString | fIdealTrackCandBranch |
TString | fMCTrackBranch |
int | fEventNr |
int | fVerbose |
double | fVertexCut |
TClonesArray * | fHitArray |
TClonesArray * | fHitArray2 |
TClonesArray * | fTrackCandArray |
TClonesArray * | fTrackArray |
TClonesArray * | fIdealTrackCandArray |
TClonesArray * | fMCTrackArray |
TClonesArray * | fVertex |
TClonesArray * | fMCVertex |
Definition at line 13 of file PndMvdRiemannVertexFinderTask.h.
PndMvdRiemannVertexFinderTask::PndMvdRiemannVertexFinderTask | ( | ) |
Definition at line 34 of file PndMvdRiemannVertexFinderTask.cxx.
|
virtual |
Definition at line 58 of file PndMvdRiemannVertexFinderTask.cxx.
|
delete |
|
private |
Definition at line 172 of file PndMvdRiemannVertexFinderTask.cxx.
References counter, eff, ghosts, and i.
Referenced by Exec().
|
private |
Definition at line 377 of file PndMvdRiemannVertexFinderTask.cxx.
References a, count, fHitArray, fHitArray2, fHitBranch, fHitBranch2, PndTrackCandHit::GetDetId(), PndTrackCandHit::GetHitId(), PndMCTrack::GetMotherID(), PndTrackCand::GetNHits(), PndSdsHit::GetPosition(), PndTrackCand::GetSortedHit(), and i.
Referenced by FindVertex().
|
private |
Definition at line 353 of file PndMvdRiemannVertexFinderTask.cxx.
References counter, fTrackCandArray, PndTrackCandHit::GetDetId(), PndTrackCandHit::GetHitId(), PndTrackCand::GetNHits(), PndTrackCand::GetSortedHit(), h1, h2, and i.
Referenced by FindVertex().
|
private |
|
private |
|
virtual |
Virtual method Exec
Definition at line 152 of file PndMvdRiemannVertexFinderTask.cxx.
References CalcEfficiency(), fEventNr, FindVertex(), fTrackCandArray, and refit().
|
private |
for D+D-
Definition at line 197 of file PndMvdRiemannVertexFinderTask.cxx.
References c1, c2, PndRiemannTrack::calcIntersection(), CheckRecoTrack(), CheckTwoCands(), delta, fabs(), fIdealTrackCandArray, fMCTrackArray, FoundCandInMCCands(), fTrackArray, fVertex, PndTrackCand::getMcTrackId(), PndMCTrack::GetPdgCode(), PndMCTrack::GetStartVertex(), i, p1, p2, PndRiemannTrack::SetVerbose(), and wrongV.
Referenced by Exec().
|
virtual |
Definition at line 423 of file PndMvdRiemannVertexFinderTask.cxx.
References fIdealTrackCandArray, fMCVertex, fTrackArray, fTrackCandArray, and fVertex.
|
private |
Definition at line 302 of file PndMvdRiemannVertexFinderTask.cxx.
References counter, fIdealTrackCandArray, fTrackCandArray, PndTrackCandHit::GetDetId(), PndTrackCandHit::GetHitId(), PndTrackCand::GetNHits(), PndTrackCand::GetSortedHit(), h1, h2, and i.
Referenced by FindVertex().
|
virtual |
Definition at line 88 of file PndMvdRiemannVertexFinderTask.cxx.
References delta, fHitArray, fHitArray2, fHitBranch, fHitBranch2, fIdealTrackCandArray, fIdealTrackCandBranch, fMCTrackArray, fMCTrackBranch, fMCVertex, fTrackArray, fTrackBranch, fTrackCandArray, fVertex, and wrongV.
|
delete |
|
private |
|
private |
Definition at line 267 of file PndMvdRiemannVertexFinderTask.cxx.
References PndRiemannTrack::addHit(), fHitArray, fHitArray2, fHitBranch, fHitBranch2, fTrackArray, fTrackCandArray, fVertexCut, PndTrackCandHit::GetDetId(), PndTrackCandHit::GetHitId(), PndTrackCand::GetNHits(), PndTrackCand::GetSortedHit(), hit(), i, point, PndRiemannTrack::refit(), PndRiemannHit::setDXYZ(), PndRiemannTrack::SetVertexCut(), PndRiemannHit::setXYZ(), PndRiemannTrack::szFit(), and track.
Referenced by Exec().
|
private |
|
virtual |
Definition at line 72 of file PndMvdRiemannVertexFinderTask.cxx.
|
private |
|
virtual |
Virtual method Init
Definition at line 62 of file PndMvdRiemannVertexFinderTask.cxx.
|
inline |
|
inline |
Definition at line 32 of file PndMvdRiemannVertexFinderTask.h.
References cut, and fVertexCut.
TH1F* PndMvdRiemannVertexFinderTask::delta |
Definition at line 32 of file PndMvdRiemannVertexFinderTask.h.
Referenced by FindVertex(), and Init().
std::pair<double,double> PndMvdRiemannVertexFinderTask::eff |
Definition at line 36 of file PndMvdRiemannVertexFinderTask.h.
Referenced by CalcEfficiency().
|
private |
Definition at line 46 of file PndMvdRiemannVertexFinderTask.h.
Referenced by Exec().
|
private |
Definition at line 50 of file PndMvdRiemannVertexFinderTask.h.
Referenced by CheckRecoTrack(), Init(), and refit().
|
private |
Definition at line 51 of file PndMvdRiemannVertexFinderTask.h.
Referenced by CheckRecoTrack(), Init(), and refit().
|
private |
Definition at line 40 of file PndMvdRiemannVertexFinderTask.h.
Referenced by CheckRecoTrack(), Init(), and refit().
|
private |
Definition at line 41 of file PndMvdRiemannVertexFinderTask.h.
Referenced by CheckRecoTrack(), Init(), and refit().
|
private |
Definition at line 55 of file PndMvdRiemannVertexFinderTask.h.
Referenced by FindVertex(), FinishEvent(), FoundCandInMCCands(), and Init().
|
private |
Definition at line 43 of file PndMvdRiemannVertexFinderTask.h.
Referenced by Init().
|
private |
Definition at line 56 of file PndMvdRiemannVertexFinderTask.h.
Referenced by FindVertex(), and Init().
|
private |
Definition at line 44 of file PndMvdRiemannVertexFinderTask.h.
Referenced by Init().
|
private |
Definition at line 59 of file PndMvdRiemannVertexFinderTask.h.
Referenced by FinishEvent(), and Init().
|
private |
Definition at line 54 of file PndMvdRiemannVertexFinderTask.h.
Referenced by FindVertex(), FinishEvent(), Init(), and refit().
|
private |
Definition at line 42 of file PndMvdRiemannVertexFinderTask.h.
Referenced by Init().
|
private |
Definition at line 52 of file PndMvdRiemannVertexFinderTask.h.
Referenced by CheckTwoCands(), Exec(), FinishEvent(), FoundCandInMCCands(), Init(), and refit().
|
private |
Definition at line 47 of file PndMvdRiemannVertexFinderTask.h.
Referenced by SetVerbose().
|
private |
Definition at line 58 of file PndMvdRiemannVertexFinderTask.h.
Referenced by FindVertex(), FinishEvent(), and Init().
|
private |
Definition at line 48 of file PndMvdRiemannVertexFinderTask.h.
Referenced by refit(), and SetVertexCut().
std::pair<double,double> PndMvdRiemannVertexFinderTask::ghosts |
Definition at line 37 of file PndMvdRiemannVertexFinderTask.h.
Referenced by CalcEfficiency().
TH1F* PndMvdRiemannVertexFinderTask::wrongV |
Definition at line 34 of file PndMvdRiemannVertexFinderTask.h.
Referenced by FindVertex(), and Init().