CbmRoot
CbmTrackMatchNew Class Reference

#include <CbmTrackMatchNew.h>

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

Public Member Functions

 CbmTrackMatchNew ()
 Default constructor. More...
 
virtual ~CbmTrackMatchNew ()
 Destructor. More...
 
Int_t GetNofTrueHits () const
 
Int_t GetNofWrongHits () const
 
Int_t GetNofHits () const
 
Double_t GetTrueOverAllHitsRatio () const
 
Double_t GetWrongOverAllHitsRatio () const
 
void SetNofTrueHits (Int_t nofTrueHits)
 
void SetNofWrongHits (Int_t nofWrongHits)
 
virtual std::string ToString () const
 Return string representation of the object. More...
 
const CbmLinkGetLink (Int_t i) const
 
const std::vector< CbmLink > & GetLinks () const
 
const CbmLinkGetMatchedLink () const
 
Int_t GetNofLinks () const
 
Double_t GetTotalWeight () const
 
void AddLinks (const CbmMatch &match)
 
void AddLink (const CbmLink &newLink)
 
void AddLink (Double_t weight, Int_t index, Int_t entry=-1, Int_t file=-1)
 
void ClearLinks ()
 

Protected Member Functions

 ClassDef (CbmMatch, 1)
 

Protected Attributes

std::vector< CbmLinkfLinks
 
Double_t fTotalWeight
 
Int_t fMatchedIndex
 

Private Member Functions

 ClassDef (CbmTrackMatchNew, 1)
 

Private Attributes

Int_t fNofTrueHits
 
Int_t fNofWrongHits
 

Detailed Description

Definition at line 19 of file CbmTrackMatchNew.h.

Constructor & Destructor Documentation

◆ CbmTrackMatchNew()

CbmTrackMatchNew::CbmTrackMatchNew ( )

Default constructor.

Definition at line 18 of file CbmTrackMatchNew.cxx.

◆ ~CbmTrackMatchNew()

CbmTrackMatchNew::~CbmTrackMatchNew ( )
virtual

Destructor.

Definition at line 21 of file CbmTrackMatchNew.cxx.

Member Function Documentation

◆ AddLink() [1/2]

void CbmMatch::AddLink ( const CbmLink newLink)
inherited

Definition at line 42 of file CbmMatch.cxx.

References CbmLink::AddWeight(), CbmMatch::fLinks, CbmMatch::fMatchedIndex, CbmMatch::fTotalWeight, CbmMatch::GetNofLinks(), CbmLink::GetWeight(), and i.

Referenced by CbmTrdModuleSimT::AddDigi(), CbmTrdModuleSimR::AddDigi(), CbmRichDigitizer::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::AddDigitoPulseBuffer(), CbmMatch::AddLink(), CbmStsSignal::AddLink(), CbmMatch::AddLinks(), CbmDeviceHitBuilderTof::AddNextChan(), CbmTofTestBeamClusterizer::AddNextChan(), CbmTofCosmicClusterizer::AddNextChan(), CbmTofEventClusterizer::AddNextChan(), CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmDeviceHitBuilderTof::BuildHits(), CbmTofEventClusterizer::BuildHits(), CbmMvdHitMatch::CbmMvdHitMatch(), CbmStsSignal::CbmStsSignal(), CbmTrdModuleSimR::CheckMulti(), CbmTofTBClusterizer::Exec(), CbmRichMatchRings::Exec(), CbmMvdSensorDigitizerTBTask::Exec(), CbmMvdSensorDigitizerTask::Exec(), CbmTofAnaTestbeam::FillHistos(), CbmTrdModuleSimT::FlushBuffer(), PairAnalysisEvent::GetMvdMatchingIndex(), CbmL1::HitMatch(), CbmL1::InputPerformance(), CbmBuildEventsQA::MatchEvent(), CbmMatchRecoToMC::MatchHitsTof(), CbmMatchRecoToMC::MatchHitsToPoints(), CbmMatchRecoToMC::MatchRichRings(), CbmMatchRecoToMC::MatchStsTracks(), CbmEventStore::MatchToMC(), CbmMatchRecoToMC::MatchTracks(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofMergeMcPoints::MergeRealisticTofPoints(), CbmTofDigitize::MergeSameChanDigis(), CbmTrdModuleSimR::ProcessBuffer(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmL1::ReadEvent(), CbmRecoQa::record(), CbmTimeSlice::RegisterData(), CbmTrdToTofVector::StoreVectors(), CbmMuchToTofVectors::StoreVectors(), TEST(), and TestAddLinks3().

◆ AddLink() [2/2]

void CbmMatch::AddLink ( Double_t  weight,
Int_t  index,
Int_t  entry = -1,
Int_t  file = -1 
)
inherited

Definition at line 68 of file CbmMatch.cxx.

References CbmMatch::AddLink().

◆ AddLinks()

◆ ClassDef() [1/2]

CbmMatch::ClassDef ( CbmMatch  ,
 
)
protectedinherited

◆ ClassDef() [2/2]

CbmTrackMatchNew::ClassDef ( CbmTrackMatchNew  ,
 
)
private

◆ ClearLinks()

void CbmMatch::ClearLinks ( )
inherited

◆ GetLink()

const CbmLink& CbmMatch::GetLink ( Int_t  i) const
inlineinherited

Definition at line 35 of file CbmMatch.h.

References CbmMatch::fLinks, and i.

Referenced by LxTBFinder::AddHit(), CbmMatch::AddLinks(), AddPts(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmDeviceHitBuilderTof::BuildHits(), CbmTofEventClusterizer::BuildHits(), PairAnalysisVarManager::CalculateHitTypes(), CbmGlobalTrackingQA::CheckMatch(), CbmMuchFindVectorsQA::CheckMatch(), CbmMuchFindVectorsQA::CheckMatchGem(), CbmMuchHitFinderQa::ClusterDeconvQa(), CbmDaq::CopyEventList(), CbmMuchHitFinderQa::DigitizerQa(), CbmTofHitFinderTBQA::Exec(), CbmBuildEventsQA::Exec(), CbmBinnedTrackerQANew::Exec(), CbmBinnedTrackerQA::Exec(), LxFinderTriplet::Exec(), CbmKFParticleFinderQA::Exec(), CbmBuildEventsFromTracksIdeal::Exec(), CbmTofBuildDigiEvents::Exec(), CbmKFTrackQA::Exec(), LxTBTrdFinder::Exec(), CbmEventBuilderQA::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxTBMLFinder::Exec(), LxFinder::Exec(), CbmBinnedDebug::Exec(), CbmGlobalTrackingQA::Exec(), CbmMvdQa::ExecDigiQa(), CbmHadronAnalysis::ExecEvent(), CbmMuchMatchTracks::ExecPixel(), CbmTofCalibrator::FillCalHist(), CbmMuchDigitizerQa::FillChargePerPoint(), PairAnalysis::FillHistogramsHits(), CbmTofHitFinderQa::FillHistos(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofBuildDigiEvents::FillMCEventList(), CbmMvdQa::GetFirstMCPos(), CbmMuchToTofVectors::GetHits(), CbmTrdToTofVector::GetHits(), CbmStsTracksConverter::GetMcPid(), PairAnalysisEvent::GetMvdMatchingIndex(), CbmBinnedTrackerQA::HandleMuch(), CbmBinnedTrackerQA::HandleSts(), CbmBinnedTrackerQA::HandleTof(), CbmBinnedTrackerQA::HandleTrd(), CbmMvdQa::HasHitFirstTrue(), CbmL1::HitMatch(), CbmL1::InputPerformance(), CbmBinnedTrackerQA::IterateTrdHits(), CbmBuildEventsQA::MatchEvent(), CbmMatchRecoToMC::MatchHitsTof(), CbmMatchRecoToMC::MatchStsTracks(), CbmEventStore::MatchToMC(), CbmMatchRecoToMC::MatchTracks(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofDigitize::MergeSameChanDigis(), CbmMuchTrackFinderIdeal::ProcessDigiMatches(), CbmMuchHitFinderQa::PullsQa(), CbmL1::ReadEvent(), CbmRecoQa::record(), CbmTimeSlice::RegisterData(), CbmMuchFindVectors::SelDoubleId(), CbmMuchFindVectorsGem::SelectHitId(), CbmMvdQa::SetMatches(), CbmKFParticleFinderPID::SetMCPID(), CbmMuchFindVectorsGem::SetTrackId(), CbmMuchFindVectors::SetTrackId(), CbmTrdFindVectors::SetTrackId(), CbmMuchHitFinderQa::StatisticsQa(), CbmKFTrackFitQA::StsHitMatch(), and TEST().

◆ GetLinks()

const std::vector<CbmLink>& CbmMatch::GetLinks ( ) const
inlineinherited

◆ GetMatchedLink()

const CbmLink& CbmMatch::GetMatchedLink ( ) const
inlineinherited

Definition at line 37 of file CbmMatch.h.

References CbmMatch::fLinks, and CbmMatch::fMatchedIndex.

Referenced by CbmAnaConversionPhotons::AnalysePhotons(), CbmAnaConversionRich::AnalyseRICHdata(), CbmAnaDielectronTask::AssignMcToCandidates(), CbmAnaJpsiTask::AssignMcToCandidates(), CbmAnaDielectronTask::AssignMcToTopologyCandidates(), PairAnalysisVarManager::CalculateHitTypes(), CbmAnaDielectronTask::CheckClosestMvdHit(), CbmAnaConversionRich::CheckMC(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmRichRingTrackAssignIdeal::DoAssign(), CbmRichTrackExtrapolationIdeal::DoExtrapolation(), CbmRichTrackExtrapolationMirrorIdeal::DoExtrapolation(), CbmTrdTrackFinderIdeal::DoFind(), CbmAnaConversionTest::DoSTSonlyAnalysis(), CbmKresEtaMCAnalysis::Exec(), CbmKresConversionReconstruction::Exec(), CbmKresEta::Exec(), CbmKresConversionManualmbias1::Exec(), CbmKresConversionManualmbias2::Exec(), CbmKresConversionManualmbias3::Exec(), CbmKresConversionManualmbias4::Exec(), CbmMvdClusterAna::Exec(), CbmKresConversionGeneral::Exec(), CbmBuildEventsQA::Exec(), CbmKresConversionManual::Exec(), CbmKresConversionPhotons::Exec(), CbmBuildEventsIdeal::Exec(), CbmAnaConversionPhotons2::Exec(), CbmRichMCbmQa::Exec(), CbmKresConversionCorrectedPhotons::Exec(), CbmAnaConversionRecoFull::Exec(), CbmAnaDimuonAnalysis::Exec(), CbmAnaConversionTest::Exec(), CbmAnaConversionTest2::Exec(), CbmTrdHitProducerQa::Exec(), CbmRichMirrorSortingAlignment::Exec(), CbmBuildEventsIdealNew::Exec(), CbmRichMirrorSortingCorrection::Exec(), CbmAnaConversionPhotons::Exec(), CbmKFTrackQA::Exec(), CbmAnaConversion::Exec(), CbmHadronAnalysis::ExecEvent(), CbmMvdQa::ExecHitQa(), CbmMvdQa::ExecTrackQa(), CbmAnaDielectronTask::FillCandidates(), CbmTrdElectronsTrainAnn::FillElossVectorSim(), CbmAnaDielectronTask::FillElPiMomHist(), PairAnalysis::FillHistogramsHits(), CbmTofTests::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmLitClusteringQa::FillHitEfficiencyHistograms(), CbmStsFindTracksQa::FillHitMap(), CbmLitFindGlobalTracksIdeal::FillMapTof(), CbmStsFindTracksQa::FillMatchMap(), CbmLitClusteringQa::FillResidualAndPullHistograms(), CbmRichUrqmdTest::FillRichRingNofHits(), CbmRichMirrorSortingCorrection::FillRingTrackDistance(), CbmRichRecoQa::FillRingTrackDistance(), CbmLitFindGlobalTracksIdeal::FillTrackMap(), CbmKresConversionKF::FindGammas(), CbmKresEta::FindInRich(), CbmKresConversionManualmbias4::FindInRich(), CbmKresConversionManualmbias1::FindInRich(), CbmKresConversionManualmbias2::FindInRich(), CbmKresConversionManualmbias3::FindInRich(), CbmKresConversionManual::FindInRich(), CbmKresConversionPhotons::FindInRich(), CbmKresConversionCorrectedPhotons::FindInRich(), CbmRichRingFinderIdeal::GetEventIdForRichHit(), PairAnalysisEvent::GetMvdMatchingIndex(), CbmMuchMergeVectors::GetVectors(), CbmAnaConversionTest::HasRichInd(), PairAnalysisEvent::Init(), CbmRichPMTMapping::MatchFinder(), CbmRichCorrectionVector::MatchFinder(), CbmMatchRecoToMC::MatchRichRings(), CbmMatchRecoToMC::MatchStsTracks(), CbmMatchRecoToMC::MatchTracks(), CbmAnaDielectronTask::MvdCutMcDistance(), CbmRichUrqmdTest::NofRings(), CbmLitTrackingQa::PionSuppression(), CbmRichRecoTbQa::Process(), CbmLitTofQa::ProcessGlobalTracks(), CbmLitTrackingQa::ProcessGlobalTracks(), CbmLitTofQa::ProcessMC(), CbmLitFitQa::ProcessMuchTrack(), CbmLitTrackingQa::ProcessMvd(), CbmLitTrackingQa::ProcessRichRings(), CbmLitFitQa::ProcessStsTrack(), CbmLitTofQa::ProcessTofHits(), CbmLitTofQa::ProcessTofTracks(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmLitFitQa::ProcessTrackParamsAtVertex(), CbmLitFitQa::ProcessTrdTrack(), CbmRichGeoTest::RingParameters(), CbmRichGeoOpt::RingParameters(), CbmRichRecoTbQa::RingRecoEfficiency(), CbmRichRecoQa::RingTrackMismatchSource(), CbmRichTrainAnnSelect::SetRecFlag(), CbmAnaConversionKF::test(), TEST(), CbmLitAcceptanceFunction::TrueMatchPiSuppAcceptanceFunction(), NicaCbmMatchedTrack::Update(), NicaCbmGlobalMCEvent::Update(), CbmRichRecoQa::WasRingFound(), and CbmRichRecoQa::WasRingMatched().

◆ GetNofHits()

◆ GetNofLinks()

Int_t CbmMatch::GetNofLinks ( ) const
inlineinherited

Definition at line 38 of file CbmMatch.h.

References CbmMatch::fLinks.

Referenced by LxTBFinder::AddHit(), CbmMatch::AddLink(), CbmMatch::AddLinks(), AddPts(), CbmAnaDielectronTask::AssignMcToCandidates(), CbmAnaDielectronTask::AssignMcToTopologyCandidates(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmDeviceHitBuilderTof::BuildHits(), CbmTofEventClusterizer::BuildHits(), PairAnalysisVarManager::CalculateHitTypes(), CbmGlobalTrackingQA::CheckMatch(), CbmMuchFindVectorsQA::CheckMatch(), CbmMuchFindVectorsQA::CheckMatchGem(), CbmAnaConversionRich::CheckMC(), CbmMuchHitFinderQa::ClusterDeconvQa(), compareClusterDataMembers(), compareHitDataMembers(), compareMatchDataMembers(), CbmDaq::CopyEventList(), CbmMuchHitFinderQa::DigitizerQa(), CbmAnaConversionTest::DoSTSonlyAnalysis(), CbmKresConversionReconstruction::Exec(), CbmKresEtaMCAnalysis::Exec(), CbmKresEta::Exec(), CbmKresConversionManualmbias1::Exec(), CbmKresConversionManualmbias2::Exec(), CbmKresConversionManualmbias3::Exec(), CbmKresConversionManualmbias4::Exec(), CbmTofHitFinderTBQA::Exec(), CbmKresConversionGeneral::Exec(), CbmBinnedTrackerQANew::Exec(), CbmKresConversionManual::Exec(), CbmBuildEventsQA::Exec(), CbmBinnedTrackerQA::Exec(), CbmAnaConversionPhotons2::Exec(), CbmKresConversionPhotons::Exec(), CbmKFParticleFinderQA::Exec(), CbmKresConversionCorrectedPhotons::Exec(), LxFinderTriplet::Exec(), CbmBuildEventsFromTracksIdeal::Exec(), CbmTofBuildDigiEvents::Exec(), CbmAnaConversionRecoFull::Exec(), CbmAnaDimuonAnalysis::Exec(), CbmAnaConversionTest2::Exec(), CbmKFTrackQA::Exec(), LxTBTrdFinder::Exec(), CbmEventBuilderQA::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxTBMLFinder::Exec(), CbmAnaConversion::Exec(), LxFinder::Exec(), CbmBinnedDebug::Exec(), CbmGlobalTrackingQA::Exec(), CbmMvdQa::ExecDigiQa(), CbmHadronAnalysis::ExecEvent(), CbmMuchMatchTracks::ExecPixel(), CbmTofCalibrator::FillCalHist(), CbmAnaDielectronTask::FillCandidates(), CbmMuchDigitizerQa::FillChargePerPoint(), CbmAnaDielectronTask::FillElPiMomHist(), PairAnalysis::FillHistogramsHits(), CbmTofTests::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofBuildDigiEvents::FillMCEventList(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), PairAnalysisVarManager::FillVarPixelHit(), CbmKresConversionKF::FindGammas(), CbmKresEta::FindInRich(), CbmKresConversionManualmbias1::FindInRich(), CbmKresConversionManualmbias2::FindInRich(), CbmKresConversionManualmbias3::FindInRich(), CbmKresConversionManualmbias4::FindInRich(), CbmKresConversionManual::FindInRich(), CbmKresConversionPhotons::FindInRich(), CbmKresConversionCorrectedPhotons::FindInRich(), CbmMvdQa::GetFirstMCPos(), CbmMuchToTofVectors::GetHits(), CbmTrdToTofVector::GetHits(), CbmStsTracksConverter::GetMcPid(), PairAnalysisEvent::GetMvdMatchingIndex(), CbmMuchMergeVectors::GetVectors(), CbmBinnedTrackerQA::HandleMuch(), CbmBinnedTrackerQA::HandleSts(), CbmBinnedTrackerQA::HandleTof(), CbmBinnedTrackerQA::HandleTrd(), CbmMvdQa::HasHitFirstTrue(), CbmAnaConversionTest::HasRichInd(), CbmL1::HitMatch(), PairAnalysisEvent::Init(), CbmL1::InputPerformance(), CbmBinnedTrackerQA::IterateTrdHits(), CbmBuildEventsQA::MatchEvent(), CbmMatchRecoToMC::MatchHitsTof(), CbmMatchRecoToMC::MatchRichRings(), CbmMatchRecoToMC::MatchStsTracks(), CbmEventStore::MatchToMC(), CbmMatchRecoToMC::MatchTracks(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofDigitize::MergeSameChanDigis(), CbmLitTrackingQa::PionSuppression(), CbmLitClusteringQa::ProcessClusters(), CbmMuchTrackFinderIdeal::ProcessDigiMatches(), CbmLitClusteringQa::ProcessHits(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmLitFitQa::ProcessStsTrack(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmLitFitQa::ProcessTrackParamsAtVertex(), CbmMuchHitFinderQa::PullsQa(), CbmL1::ReadEvent(), CbmRecoQa::record(), CbmTimeSlice::RegisterData(), CbmMuchFindVectors::SelDoubleId(), CbmMuchFindVectorsGem::SelectHitId(), CbmMvdQa::SetMatches(), CbmKFParticleFinderPID::SetMCPID(), CbmMuchFindVectorsGem::SetTrackId(), CbmMuchFindVectors::SetTrackId(), CbmTrdFindVectors::SetTrackId(), CbmMuchHitFinderQa::StatisticsQa(), CbmKFTrackFitQA::StsHitMatch(), CbmMatch::ToString(), ToString(), and CbmTimeSlice::ToString().

◆ GetNofTrueHits()

◆ GetNofWrongHits()

◆ GetTotalWeight()

Double_t CbmMatch::GetTotalWeight ( ) const
inlineinherited

◆ GetTrueOverAllHitsRatio()

◆ GetWrongOverAllHitsRatio()

Double_t CbmTrackMatchNew::GetWrongOverAllHitsRatio ( ) const
inline

Definition at line 39 of file CbmTrackMatchNew.h.

References fNofWrongHits, and GetNofHits().

Referenced by CbmLitTrackingQa::FillTrackQualityHistograms().

◆ SetNofTrueHits()

void CbmTrackMatchNew::SetNofTrueHits ( Int_t  nofTrueHits)
inline

◆ SetNofWrongHits()

void CbmTrackMatchNew::SetNofWrongHits ( Int_t  nofWrongHits)
inline

◆ ToString()

std::string CbmTrackMatchNew::ToString ( ) const
virtual

Return string representation of the object.

Returns
String representation of the object.

Reimplemented from CbmMatch.

Definition at line 23 of file CbmTrackMatchNew.cxx.

References CbmMatch::fLinks, CbmMatch::fMatchedIndex, fNofTrueHits, fNofWrongHits, CbmMatch::fTotalWeight, CbmMatch::GetNofLinks(), i, and CbmLink::ToString().

Member Data Documentation

◆ fLinks

◆ fMatchedIndex

Int_t CbmMatch::fMatchedIndex
protectedinherited

◆ fNofTrueHits

Int_t CbmTrackMatchNew::fNofTrueHits
private

◆ fNofWrongHits

Int_t CbmTrackMatchNew::fNofWrongHits
private

◆ fTotalWeight

Double_t CbmMatch::fTotalWeight
protectedinherited

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