FairRoot/PandaRoot
|
#include <PndTrackCand.h>
Public Member Functions | |
PndTrackCand () | |
~PndTrackCand () | |
bool | operator== (const PndTrackCand &rhs) |
PndTrackCandHit | GetSortedHit (UInt_t i) |
UInt_t | GetNHits () const |
int | getMcTrackId () const |
UInt_t | GetNHitsDet (Int_t detId) |
std::vector< PndTrackCandHit > | GetSortedHits () |
void | Sort () |
void | AddHit (UInt_t detId, UInt_t hitId, Double_t rho) |
void | AddHit (TString branchName, UInt_t hitId, Double_t rho) |
void | AddHit (FairLink link, Double_t rho) |
void | DeleteHit (UInt_t detId, UInt_t hitId) |
Int_t | HitInTrack (UInt_t detId, UInt_t hitId) const |
void | setMcTrackId (int i) |
void | CalcTimeStamp () |
void | ResetLinks () |
void | Print () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
ClassDef (PndTrackCand, 3) | |
Private Attributes | |
std::vector< PndTrackCandHit > | fHitId |
first index is detId, second index is hit Id More... | |
bool | sorted |
int | fMcTrackId |
Int_t | fVerbose |
Definition at line 43 of file PndTrackCand.h.
PndTrackCand::PndTrackCand | ( | ) |
Definition at line 31 of file PndTrackCand.cxx.
PndTrackCand::~PndTrackCand | ( | ) |
Definition at line 33 of file PndTrackCand.cxx.
void PndTrackCand::AddHit | ( | UInt_t | detId, |
UInt_t | hitId, | ||
Double_t | rho | ||
) |
Definition at line 36 of file PndTrackCand.cxx.
References fHitId, and sorted.
Referenced by AddHit(), PndFtsHoughSpace::AddHitsToTrackletByCalculating(), PndMdtTrk::AddTrackCand(), PndFtsHoughTrackCand::addUniqueTrackletHits(), PndTrkTrack::ConvertToPndTrackCand(), PndSttMvdGemTracking::Copy(), PndRiemannTrackFinder::CreateOneTrackCand(), PndSttCellTrackletGenerator::CreatePndTrackCands(), PndCloneGenerator::CreateTrackCandClones(), PndPatternMatcher::CreateTrackCandFromMatch(), PndGemTrackFinderOnHits::CreateTracks(), PndMvdGemTrackFinderOnHits::CreateTracks(), PndGemTrackFinderOnHitsTB::CreateTracks(), PndGemTrackFinderIdeal::DoFind(), PndSttTrackFinderReal::DoFind(), PndSttTrackFinderIdeal::DoFind(), PndMvdRiemannTrackFinderTaskEff::Exec(), PndFtsCATracking::Exec(), PndSttMvdGemTracking::Exec(), PndLmdTrackFinderCATask::Exec(), PndFtsTrackerIdeal::Exec(), PndGemIdealPatternRecoTask::Exec(), PndCATracking::Exec(), PndFtsHoughSpace::FindAllPeaksScanPathsMergeBins(), PndFtsHoughSpace::FindAllPeaksScanPathsMergeBinsCalculatingPaths(), PndLmdTrackFinderTask::FindHitsI(), PndStraightLineTrackFinderTask::FindHitsI(), PndLmdTrackFinderTask::FindHitsII(), PndStraightLineTrackFinderTask::FindHitsII(), PndLmdTrackFinderTask::FindHitsIII(), PndStraightLineTrackFinderTask::FindHitsIII(), PndRiemannTrackFinder::FindTracks(), PndMvdSttGemRiemannTrackFinder::FindTracks(), Genfit2TrackCand2PndTrackCand(), GenfitTrackCand2PndTrackCand(), PndSttCellTrackletGenerator::InitStartTracklets(), PndTrkTracking2::LoadPndTrack_TrackCand(), PndLineApproximation::plot(), PndFtsExpandedTrackCand::PndFtsExpandedTrackCand(), PndSttCellTrackletGenerator::RefitTracks(), PndForwardTrackFinderTask::saveCombined(), PndForwardTrackFinderTask::saveCorrectedTracklets(), PndForwardTrackFinderTask::saveTrackCollection(), and PndBarrelTrackFinder::WriteTracks().
Definition at line 44 of file PndTrackCand.cxx.
References AddHit().
void PndTrackCand::AddHit | ( | FairLink | link, |
Double_t | rho | ||
) |
Definition at line 51 of file PndTrackCand.cxx.
References fHitId, and sorted.
void PndTrackCand::CalcTimeStamp | ( | ) |
Definition at line 112 of file PndTrackCand.cxx.
References Double_t, fVerbose, i, sqrt(), and TString.
Referenced by PndMvdSttGemRiemannTrackFinderTask::Exec(), PndMvdRiemannTrackFinderTask::Exec(), and PndFtsHoughTrackerTask::Exec().
PndTrackCand::ClassDef | ( | PndTrackCand | , |
3 | |||
) |
void PndTrackCand::DeleteHit | ( | UInt_t | detId, |
UInt_t | hitId | ||
) |
Definition at line 75 of file PndTrackCand.cxx.
References fHitId, and HitInTrack().
|
inline |
Definition at line 60 of file PndTrackCand.h.
References fMcTrackId.
Referenced by PndSttMvdGemTracking::Copy(), dedx_p_chain(), PndSttMvdGemTracking::EvaluatePerformances(), PndMvdRiemannTrackFinderTaskEff::Exec(), PndSttTrackFitterQATask::Exec(), PndSttMvdGemTracking::Exec(), PndTrackingQA::FillMapTrackQualifikation(), PndTrackingQualityBarrelAnalysisNewLinks::FillMapTrackQualifikation(), PndSttMvdGemTracking::FillTrueDistances(), PndMvdRiemannVertexFinderTask::FindVertex(), PndTrackCand2Genfit2TrackCand(), PndTrackCand2GenfitTrackCand(), PndSttMvdGemTracking::SetStartParameters(), and PndSttMvdGemTracking::UpdateMCTrackId().
|
inline |
Definition at line 59 of file PndTrackCand.h.
References fHitId.
Referenced by PndTrackCandDraw::AddBoxesPndTrackCand(), PndFtsHoughTrackCand::addUniqueTrackletHits(), check_trackcand(), PndMvdRiemannVertexFinderTask::CheckRecoTrack(), PndMvdRiemannTrackFinderTaskEff::CheckRecoTrack(), PndMvdRiemannVertexFinderTask::CheckTwoCands(), PndSttMvdGemTracking::Copy(), PndRiemannTrackFinder::CreateOneTrackCand(), PndCloneGenerator::CreateTrackCandClones(), PndIdealTrackFinder::CreateTracks(), dedx_p_chain(), PndSttTrackFinderIdeal::DoFind(), PndSttMvdGemTracking::EvaluatePerformances(), PndMvdSttGemRiemannTrackFinderTask::Exec(), PndSttHelixHitProducer::Exec(), PndLmdTrksFilterTask::Exec(), PndFtsTrackerIdeal::Exec(), PndLmdLineTask::Exec(), PndLmdLinFitTask::Exec(), PndGemTrackFinderQA::Exec(), PndLmdTrkQTask::Exec(), PndLmdIdealFitTask::Exec(), PndTrkTrackFinder::Exec(), PndSttMatchTracks::Exec(), PndLmdKalmanTask::Exec(), PndSttMvdGemTracking::FillTrueDistances(), PndMvdSttGemRiemannTrackFinder::FindTracks(), PndRiemannTrackFinder::FindTracksWithSimilarHits(), PndMvdRiemannVertexFinderTask::FoundCandInMCCands(), PndPidCorrelator::GetFtsInfo(), PndPidCorrelator::GetGemInfo(), PndTrackingQualityBarrelTaskNewLinks::GetMCInfoFromIdealTrack(), PndTrackingQATask::GetMCInfoFromIdealTrack(), PndPidCorrelator::GetMvdInfo(), PndFtsHoughTracklet::getNSharedHits(), PndFtsHoughTrackCand::getPndTrack(), PndPidCorrelator::GetSttInfo(), PndSttHelixTrackFitter::IntersectionFinder(), main(), PndGemTrackFinderQA::MatchRecoTracks(), PndSttHelixTrackFitter::MinuitFit(), PndSttHelixTrackFitter::OrderHitsByR(), PndTrackCand2Genfit2TrackCand(), PndTrackCand2GenfitTrackCand(), PndSttMvdGemTracking::Prefit(), PndMvdIdealTrackFinderTask::PrintResult(), PndTrkTrackFinder::RecreateHitArrays(), PndMvdRiemannVertexFinderTask::refit(), PndLmdQATask::ResoAndPulls(), PndSttHelixTrackFitter::RunEventDisplay(), PndSttMvdGemTracking::SetStartParameters(), PndSttHelixTrackFitter::SetUpFitVector(), PndSttMvdGemTracking::UpdateMCTrackId(), PndSttHelixTrackFitter::XYFit(), PndSttHelixTrackFitter::XYFitThroughOrigin(), PndSttHelixTrackFitter::ZFinder(), PndSttHelixTrackFitter::ZFinderThroughOrigin(), PndSttHelixTrackFitter::ZFit(), and PndSttHelixTrackFitter::ZFitThroughOrigin().
UInt_t PndTrackCand::GetNHitsDet | ( | Int_t | detId | ) |
Definition at line 85 of file PndTrackCand.cxx.
References fHitId, PndTrackCandHit::GetDetId(), and GetSortedHit().
Referenced by PndTrackingQualityBarrelTaskNewLinks::GetMCInfoFromIdealTrack(), and PndTrackingQATask::GetMCInfoFromIdealTrack().
|
inline |
Definition at line 54 of file PndTrackCand.h.
References fHitId, Sort(), and sorted.
Referenced by PndTrackCandDraw::AddBoxesPndTrackCand(), PndFtsHoughTrackCand::addUniqueTrackletHits(), check_trackcand(), PndMvdRiemannVertexFinderTask::CheckRecoTrack(), PndMvdRiemannTrackFinderTaskEff::CheckRecoTrack(), PndMvdRiemannVertexFinderTask::CheckTwoCands(), PndSttMvdGemTracking::Copy(), PndRiemannTrackFinder::CreateOneTrackCand(), PndCloneGenerator::CreateTrackCandClones(), PndIdealTrackFinder::CreateTracks(), dedx_p_chain(), PndGemTrackFinderIdeal::DoFind(), PndSttTrackFinderIdeal::DoFind(), PndSttMvdGemTracking::EvaluatePerformances(), PndSttHelixHitProducer::Exec(), PndFtsTrackerIdeal::Exec(), PndLmdLineTask::Exec(), PndLmdLinFitTask::Exec(), PndGemTrackFinderQA::Exec(), PndLmdBPtestTask::Exec(), PndLmdTrkQTask::Exec(), PndLmdIdealFitTask::Exec(), PndTrkTrackFinder::Exec(), PndSttMatchTracks::Exec(), PndLmdKalmanTask::Exec(), PndSttMvdGemTracking::FillTrueDistances(), PndRiemannTrackFinder::FindTracksWithSimilarHits(), PndMvdRiemannVertexFinderTask::FoundCandInMCCands(), PndPidCorrelator::GetFtsInfo(), PndPidCorrelator::GetGemInfo(), PndTrackingQualityBarrelTaskNewLinks::GetMCInfoFromIdealTrack(), PndTrackingQATask::GetMCInfoFromIdealTrack(), PndPidCorrelator::GetMvdInfo(), GetNHitsDet(), PndFtsHoughTracklet::getNSharedHits(), PndPidCorrelator::GetSttInfo(), PndFtsHoughTrackCand::getTrackParPForHit(), PndSttHelixTrackFitter::IntersectionFinder(), main(), PndGemTrackFinderQA::MatchRecoTracks(), PndSttHelixTrackFitter::OrderHitsByR(), PndTrackCand2Genfit2TrackCand(), PndTrackCand2GenfitTrackCand(), PndSttMvdGemTracking::Prefit(), PndMvdIdealTrackFinderTask::PrintResult(), PndTrkTrackFinder::RecreateHitArrays(), PndMvdRiemannVertexFinderTask::refit(), PndLmdQATask::ResoAndPulls(), PndSttHelixTrackFitter::RunEventDisplay(), PndSttMvdGemTracking::SetStartParameters(), PndSttHelixTrackFitter::SetUpFitVector(), PndSttMvdGemTracking::UpdateMCTrackId(), PndSttHelixTrackFitter::XYFit(), PndSttHelixTrackFitter::XYFitThroughOrigin(), PndSttHelixTrackFitter::ZFinder(), PndSttHelixTrackFitter::ZFinderThroughOrigin(), PndSttHelixTrackFitter::ZFit(), and PndSttHelixTrackFitter::ZFitThroughOrigin().
std::vector< PndTrackCandHit > PndTrackCand::GetSortedHits | ( | ) |
Definition at line 105 of file PndTrackCand.cxx.
References fHitId, Sort(), and sorted.
Referenced by PndSttMvdGemTracking::Copy(), PndXYResidualTask::Exec(), and PndUnassignedHitsTask::FillTrackCands().
int PndTrackCand::HitInTrack | ( | UInt_t | detId, |
UInt_t | hitId | ||
) | const |
Definition at line 65 of file PndTrackCand.cxx.
Referenced by PndFtsHoughTrackCand::addUniqueTrackletHits(), DeleteHit(), and PndFtsHoughTracklet::getNSharedHits().
bool PndTrackCand::operator== | ( | const PndTrackCand & | rhs | ) |
Definition at line 155 of file PndTrackCand.cxx.
void PndTrackCand::Print | ( | ) | const |
Definition at line 164 of file PndTrackCand.cxx.
References fHitId, fMcTrackId, and i.
Referenced by PndTrackCandDraw::AddBoxesPndTrackCand(), check_trackcand(), PndFtsHoughTrackerTask::Exec(), PndMvdSttGemRiemannTrackFinder::FindTracks(), and PndFtsHoughTrackCand::Print().
void PndTrackCand::ResetLinks | ( | ) |
Definition at line 59 of file PndTrackCand.cxx.
References fHitId.
|
inline |
Definition at line 82 of file PndTrackCand.h.
References fHitId, fMcTrackId, and sorted.
|
inline |
Definition at line 72 of file PndTrackCand.h.
References fMcTrackId, and i.
Referenced by PndMvdIdealTrackFinderTask::AddAndExpand(), PndSttMvdGemTracking::Copy(), PndIdealTrackFinder::CreateTracks(), PndSttTrackFinderReal::DoFind(), PndSttTrackFinderIdeal::DoFind(), PndFtsCATracking::Exec(), PndFtsTrackerIdeal::Exec(), PndCATracking::Exec(), Genfit2TrackCand2PndTrackCand(), GenfitTrackCand2PndTrackCand(), PndTrkTracking2::LoadPndTrack_TrackCand(), and PndSttMvdGemTracking::UpdateMCTrackId().
void PndTrackCand::Sort | ( | ) |
Definition at line 99 of file PndTrackCand.cxx.
References fHitId, and sorted.
Referenced by PndGemTrackFinderOnHits::CreateTracks(), PndMvdGemTrackFinderOnHits::CreateTracks(), PndGemTrackFinderOnHitsTB::CreateTracks(), PndGemTrackFinderIdeal::DoFind(), PndFtsTrackerIdeal::Exec(), PndSttFindTracks::Exec(), GetSortedHit(), GetSortedHits(), and PndBarrelTrackFinder::WriteTracks().
|
private |
first index is detId, second index is hit Id
Definition at line 93 of file PndTrackCand.h.
Referenced by AddHit(), DeleteHit(), GetNHits(), GetNHitsDet(), GetSortedHit(), GetSortedHits(), HitInTrack(), operator==(), Print(), ResetLinks(), serialize(), and Sort().
|
private |
Definition at line 95 of file PndTrackCand.h.
Referenced by getMcTrackId(), Print(), serialize(), and setMcTrackId().
|
private |
Definition at line 96 of file PndTrackCand.h.
Referenced by CalcTimeStamp().
|
private |
Definition at line 94 of file PndTrackCand.h.
Referenced by AddHit(), GetSortedHit(), GetSortedHits(), serialize(), and Sort().