CbmRoot
Loading...
Searching...
No Matches
CbmTrackMatchNew Class Reference

#include <CbmTrackMatchNew.h>

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

Public Member Functions

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

Protected Member Functions

 ClassDef (CbmMatch, 1)
 

Protected Attributes

std::vector< CbmLinkfLinks
 
double fTotalWeight
 
int32_t fMatchedIndex
 

Private Member Functions

 ClassDef (CbmTrackMatchNew, 1)
 

Private Attributes

int32_t fNofTrueHits
 
int32_t fNofWrongHits
 

Detailed Description

Definition at line 23 of file CbmTrackMatchNew.h.

Constructor & Destructor Documentation

◆ CbmTrackMatchNew()

CbmTrackMatchNew::CbmTrackMatchNew ( )

Default constructor.

Definition at line 22 of file CbmTrackMatchNew.cxx.

◆ ~CbmTrackMatchNew()

CbmTrackMatchNew::~CbmTrackMatchNew ( )
virtual

Destructor.

Definition at line 24 of file CbmTrackMatchNew.cxx.

Member Function Documentation

◆ AddLink() [1/2]

void CbmMatch::AddLink ( const CbmLink & newLink)
inherited

Definition at line 47 of file CbmMatch.cxx.

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

Referenced by CbmTrdModuleSim2D::AddDigi(), CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::AddDigitoPulseBuffer(), CbmMatch::AddLink(), CbmStsSignal::AddLink(), CbmMatch::AddLinks(), CbmDeviceHitBuilderTof::AddNextChan(), CbmTofCosmicClusterizer::AddNextChan(), CbmTofEventClusterizer::AddNextChan(), CbmTofHitMaker::AddNextChan(), CbmTofTestBeamClusterizer::AddNextChan(), CbmTaskTofClusterizer::BuildClusters(), CbmTaskTofHitFinder::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofSimpClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmDeviceHitBuilderTof::BuildHits(), CbmTofEventClusterizer::BuildHits(), CbmTofHitMaker::BuildHits(), CbmMvdHitMatch::CbmMvdHitMatch(), CbmMvdHitMatch::CbmMvdHitMatch(), CbmStsSignal::CbmStsSignal(), CbmTrdModuleSimR::CheckMulti(), CbmBuildEventsIdeal::EventsInMatch(), cbm::ca::IdealHitProducerDet< DetID >::Exec(), CbmBmonDigitize::Exec(), CbmFsdDigitize::Exec(), CbmMvdSensorDigitizerTBTask::Exec(), CbmPsdSimpleDigitizer::Exec(), CbmRichMatchRings::Exec(), CbmStsDigitizePixel::Exec(), CbmTaskTofClusterizer::Exec(), CbmTofEventClusterizer::Exec(), CbmTofTBClusterizer::Exec(), CbmTofAnaTestbeam::FillHistos(), CbmSeedFinderQa::FillQaSeedInfo(), CbmSeedFinderSlidingWindow::FillSeedTimes(), CbmMvdSensorDigitizerTask::FlushBuffer(), CbmTrdModuleSim2D::FlushBuffer(), PairAnalysisEvent::GetMvdMatchingIndex(), CbmBuildEventsQa::MatchEvent(), CbmMatchRecoToMC::MatchHitsSts(), CbmMatchRecoToMC::MatchHitsTof(), CbmMatchRecoToMC::MatchHitsToPoints(), CbmMatchRecoToMC::MatchRichRings(), CbmMatchRecoToMC::MatchStsTracks(), CbmEventStore::MatchToMC(), CbmMatchRecoToMC::MatchTracks(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofMergeMcPoints::MergeRealisticTofPoints(), CbmTofDigitize::MergeSameChanDigis(), HalCbmCompressionTask::NoDep(), CbmTrdModuleSimR::ProcessBuffer(), CbmRichDigitizer::ProcessBuffers(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmRecoQa::record(), CbmTimeSlice::RegisterData(), TEST(), TEST(), TEST(), TestAddLinks3(), and HalCbmCompressionTask::WithDep().

◆ AddLink() [2/2]

void CbmMatch::AddLink ( double weight,
int32_t index,
int32_t entry = -1,
int32_t file = -1 )
inherited

Definition at line 71 of file CbmMatch.cxx.

References CbmMatch::AddLink().

◆ AddLinks()

◆ ClassDef() [1/2]

CbmMatch::ClassDef ( CbmMatch ,
1  )
protectedinherited

◆ ClassDef() [2/2]

CbmTrackMatchNew::ClassDef ( CbmTrackMatchNew ,
1  )
private

◆ ClearLinks()

◆ GetLink()

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

Definition at line 39 of file CbmMatch.h.

References CbmMatch::fLinks.

Referenced by CbmMatch::AddLinks(), AddPts(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildHits(), CbmTofHitMaker::BuildHits(), PairAnalysisVarManager::CalculateHitTypes(), CbmMuchHitFinderQa::ClusterDeconvQa(), CbmDaq::CopyEventList(), CbmBuildEventsIdeal::EventsInMatch(), CbmBuildEventsFromTracksIdeal::Exec(), CbmBuildEventsIdeal::Exec(), CbmBuildEventsQa::Exec(), CbmEventBuilderQa::Exec(), CbmKFParticleFinder::Exec(), CbmKFParticleFinderQa::Exec(), CbmKFTrackQa::Exec(), CbmMuchTransportQa::Exec(), CbmTaskTofClusterizer::Exec(), CbmTofBuildDigiEvents::Exec(), CbmTofEventClusterizer::Exec(), CbmTofHitFinderTBQa::Exec(), CbmMvdQa::ExecDigiQa(), CbmHadronAnalysis::ExecEvent(), CbmMuchMatchTracks::ExecPixel(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), CbmMuchDigitizerQa::FillChargePerPoint(), PairAnalysis::FillHistogramsHits(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofCalibrator::FillHitCalHist(), CbmTofBuildDigiEvents::FillMCEventList(), CbmSeedFinderQa::FillQaMCInfo(), CbmSeedFinderQa::FillQaSeedInfo(), CbmMvdQa::GetFirstMCPos(), PairAnalysisEvent::GetMvdMatchingIndex(), CbmMvdQa::HasHitFirstTrue(), cbm::ca::MCModule::InitEvent(), CbmBuildEventsQa::MatchEvent(), CbmMatchRecoToMC::MatchHitsSts(), CbmMatchRecoToMC::MatchHitsTof(), CbmMatchRecoToMC::MatchStsTracks(), CbmEventStore::MatchToMC(), CbmMatchRecoToMC::MatchTracks(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofDigitize::MergeSameChanDigis(), CbmMuchDigitizerQa::PrintFrontLayerPoints(), CbmRecoStsPixel::ProcessData(), CbmMuchTrackFinderIdeal::ProcessDigiMatches(), CbmMuchHitFinderQa::PullsQa(), CbmRecoQa::record(), CbmTimeSlice::RegisterData(), CbmTrdCalibTracker::ResolutionQa(), CbmMvdQa::SetMatches(), CbmKFParticleFinderPID::SetMCPID(), CbmMuchHitFinderQa::StatisticsQa(), CbmKFTrackFitQa::StsHitMatch(), TEST(), and HalCbmCompressionTask::WithDep().

◆ GetLinks()

◆ GetMatchedLink()

const CbmLink & CbmMatch::GetMatchedLink ( ) const
inlineinherited

Definition at line 41 of file CbmMatch.h.

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

Referenced by LmvmTask::AnalyseGlobalTracks(), CbmAnaConversionPhotons::AnalysePhotons(), CbmAnaConversionRich::AnalyseRICHdata(), CbmAnaJpsiTask::AssignMcToCandidates(), LmvmTask::AssignMcToCands(), LmvmTask::AssignMcToTopologyCands(), PairAnalysisVarManager::CalculateHitTypes(), LmvmTask::CheckClosestMvdHit(), CbmAnaConversionRich::CheckMC(), LmvmTask::CheckMismatches(), LmvmTask::CheckTofIdentification(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmRichRingTrackAssignIdeal::DoAssign(), CbmRichTrackExtrapolationIdeal::DoExtrapolation(), CbmRichTrackExtrapolationMirrorIdeal::DoExtrapolation(), CbmTrdTrackFinderIdeal::DoFind(), CbmAnaConversionTest::DoSTSonlyAnalysis(), CbmAnaConversion::Exec(), CbmAnaConversionPhotons2::Exec(), CbmAnaConversionPhotons::Exec(), CbmAnaConversionRecoFull::Exec(), CbmAnaConversionTest2::Exec(), CbmAnaConversionTest::Exec(), CbmAnaDimuonAnalysis::Exec(), CbmBuildEventsIdealNew::Exec(), CbmBuildEventsQa::Exec(), CbmKFTrackQa::Exec(), CbmKresConversionCorrectedPhotons::Exec(), CbmKresConversionGeneral::Exec(), CbmKresConversionManual::Exec(), CbmKresConversionManualmbias1::Exec(), CbmKresConversionManualmbias2::Exec(), CbmKresConversionManualmbias3::Exec(), CbmKresConversionManualmbias4::Exec(), CbmKresConversionPhotons::Exec(), CbmKresConversionReconstruction::Exec(), CbmKresEta::Exec(), CbmKresEtaMCAnalysis::Exec(), CbmMvdClusterAna::Exec(), CbmRecoQaTask::Exec(), CbmRichMCbmQa::Exec(), CbmRichMirrorSortingAlignment::Exec(), CbmRichMirrorSortingCorrection::Exec(), CbmTrdHitProducerQa::Exec(), CbmHadronAnalysis::ExecEvent(), CbmMvdQa::ExecHitQa(), CbmMvdQa::ExecTrackQa(), LmvmTask::FillCands(), CbmTrdElectronsTrainAnn::FillElossVectorSim(), PairAnalysis::FillHistogramsHits(), CbmSeedFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofTests::FillHistos(), CbmLitClusteringQa::FillHitEfficiencyHistograms(), CbmStsFindTracksQa::FillHitMap(), CbmTrackingTrdQa::FillHitMap(), CbmLitFindGlobalTracksIdeal::FillMapTof(), CbmStsFindTracksQa::FillMatchMap(), CbmSeedFinderQa::FillQaMCInfo(), CbmSeedFinderQa::FillQaSeedInfo(), CbmLitClusteringQa::FillResidualAndPullHistograms(), CbmRichMirrorSortingCorrection::FillRingTrackDistance(), CbmRichRecoQa::FillRingTrackDistance(), CbmLitFindGlobalTracksIdeal::FillTrackMap(), CbmTrackingTrdQa::FillTrackMatchMap(), CbmKresConversionKF::FindGammas(), CbmKresConversionCorrectedPhotons::FindInRich(), CbmKresConversionManual::FindInRich(), CbmKresConversionManualmbias1::FindInRich(), CbmKresConversionManualmbias2::FindInRich(), CbmKresConversionManualmbias3::FindInRich(), CbmKresConversionManualmbias4::FindInRich(), CbmKresConversionPhotons::FindInRich(), CbmKresEta::FindInRich(), CbmRichRingFinderIdeal::GetEventIdForRichHit(), PairAnalysisEvent::GetMvdMatchingIndex(), CbmAnaConversionTest::HasRichInd(), PairAnalysisEvent::Init(), cbm::ca::MCModule::InitEvent(), CbmRichCorrectionVector::MatchFinder(), CbmRichPMTMapping::MatchFinder(), CbmMatchRecoToMC::MatchHitsTof(), CbmMatchRecoToMC::MatchRichRings(), CbmMatchRecoToMC::MatchStsTracks(), CbmMatchRecoToMC::MatchTracks(), LmvmTask::MvdCutMcDistance(), HalCbmCompressionTask::NoDep(), CbmRichUrqmdTest::NofRings(), CbmSeedFinderQa::OutputQa(), CbmLitTrackingQa::PionSuppression(), CbmRichRecoTbQa::Process(), CbmRecEventHeaderConverter::ProcessData(), CbmLitTofQa::ProcessGlobalTracks(), CbmLitTrackingQa::ProcessGlobalTracks(), CbmLitTofQa::ProcessMC(), CbmLitFitQa::ProcessMuchTrack(), CbmLitTrackingQa::ProcessMvd(), CbmLitTrackingQa::ProcessRichRings(), CbmLitFitQa::ProcessStsTrack(), CbmLitTofQa::ProcessTofHits(), CbmLitTofQa::ProcessTofTracks(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmLitFitQa::ProcessTrackParamsAtVertex(), CbmLitFitQa::ProcessTrdTrack(), CbmTrdCalibTracker::ResolutionQa(), CbmRichGeoOpt::RingParameters(), CbmRichGeoTest::RingParameters(), CbmRichRecoTbQa::RingRecoEfficiency(), CbmRichRecoQa::RingTrackMismatchSource(), CbmRichTrainAnnSelect::SetRecFlag(), TEST(), CbmAnaConversionKF::test(), CbmLitAcceptanceFunction::TrueMatchPiSuppAcceptanceFunction(), HalCbmFullEvent::UpdateDst(), CbmRichRecoQa::WasRingFound(), CbmRichRecoQa::WasRingFound(), CbmRichRecoQa::WasRingMatched(), and CbmRichRecoQa::WasRingMatched().

◆ GetNofHits()

◆ GetNofLinks()

int32_t CbmMatch::GetNofLinks ( ) const
inlineinherited

Definition at line 42 of file CbmMatch.h.

References CbmMatch::fLinks.

Referenced by CbmMatch::AddLink(), CbmMatch::AddLinks(), AddPts(), LmvmTask::AnalyseGlobalTracks(), LmvmTask::AssignMcToCands(), LmvmTask::AssignMcToTopologyCands(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildHits(), CbmTofHitMaker::BuildHits(), PairAnalysisVarManager::CalculateHitTypes(), CbmAnaConversionRich::CheckMC(), LmvmTask::CheckMismatches(), LmvmTask::CheckTofIdentification(), CbmMuchHitFinderQa::ClusterDeconvQa(), compareClusterDataMembers(), compareHitDataMembers(), compareMatchDataMembers(), CbmDaq::CopyEventList(), CbmAnaConversionTest::DoSTSonlyAnalysis(), CbmBuildEventsIdeal::EventsInMatch(), CbmAnaConversion::Exec(), CbmAnaConversionPhotons2::Exec(), CbmAnaConversionRecoFull::Exec(), CbmAnaConversionTest2::Exec(), CbmAnaDimuonAnalysis::Exec(), CbmBuildEventsFromTracksIdeal::Exec(), CbmBuildEventsIdeal::Exec(), CbmBuildEventsQa::Exec(), CbmEventBuilderQa::Exec(), CbmKFParticleFinder::Exec(), CbmKFParticleFinderQa::Exec(), CbmKFTrackQa::Exec(), CbmKresConversionCorrectedPhotons::Exec(), CbmKresConversionGeneral::Exec(), CbmKresConversionManual::Exec(), CbmKresConversionManualmbias1::Exec(), CbmKresConversionManualmbias2::Exec(), CbmKresConversionManualmbias3::Exec(), CbmKresConversionManualmbias4::Exec(), CbmKresConversionPhotons::Exec(), CbmKresConversionReconstruction::Exec(), CbmKresEta::Exec(), CbmKresEtaMCAnalysis::Exec(), CbmMuchTransportQa::Exec(), CbmRecoQaTask::Exec(), CbmTaskTofClusterizer::Exec(), CbmTofBuildDigiEvents::Exec(), CbmTofEventClusterizer::Exec(), CbmTofHitFinderTBQa::Exec(), CbmTrdHitProducerQa::Exec(), CbmMvdQa::ExecDigiQa(), CbmHadronAnalysis::ExecEvent(), CbmMuchMatchTracks::ExecPixel(), CbmCaInputQaTof::ExecQa(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), LmvmTask::FillCands(), CbmMuchDigitizerQa::FillChargePerPoint(), PairAnalysis::FillHistogramsHits(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofTests::FillHistos(), CbmTofCalibrator::FillHitCalHist(), CbmStsFindTracksQa::FillHitMap(), CbmTrackingTrdQa::FillHitMap(), CbmStsFindTracksQa::FillMatchMap(), CbmTofBuildDigiEvents::FillMCEventList(), CbmSeedFinderQa::FillQaMCInfo(), CbmSeedFinderQa::FillQaSeedInfo(), CbmTrackingTrdQa::FillTrackMatchMap(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), PairAnalysisVarManager::FillVarPixelHit(), CbmKresConversionKF::FindGammas(), CbmKresConversionCorrectedPhotons::FindInRich(), CbmKresConversionManual::FindInRich(), CbmKresConversionManualmbias1::FindInRich(), CbmKresConversionManualmbias2::FindInRich(), CbmKresConversionManualmbias3::FindInRich(), CbmKresConversionManualmbias4::FindInRich(), CbmKresConversionPhotons::FindInRich(), CbmKresEta::FindInRich(), CbmMvdQa::GetFirstMCPos(), PairAnalysisEvent::GetMvdMatchingIndex(), CbmMvdQa::HasHitFirstTrue(), CbmAnaConversionTest::HasRichInd(), PairAnalysisEvent::Init(), cbm::ca::MCModule::InitEvent(), CbmStsTracksConverter::MapTracks(), CbmBuildEventsQa::MatchEvent(), CbmMatchRecoToMC::MatchHitsSts(), CbmMatchRecoToMC::MatchHitsTof(), CbmMatchRecoToMC::MatchRichRings(), CbmMatchRecoToMC::MatchStsTracks(), CbmEventStore::MatchToMC(), CbmMatchRecoToMC::MatchTracks(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofDigitize::MergeSameChanDigis(), CbmRichUrqmdTest::NofRings(), CbmSeedFinderQa::OutputQa(), CbmLitTrackingQa::PionSuppression(), CbmMuchDigitizerQa::PrintFrontLayerPoints(), CbmLitClusteringQa::ProcessClusters(), CbmRecEventHeaderConverter::ProcessData(), CbmRecoStsPixel::ProcessData(), CbmSimEventHeaderConverter::ProcessData(), CbmSimTracksConverter::ProcessData(), CbmTofHitsConverter::ProcessData(), CbmMuchTrackFinderIdeal::ProcessDigiMatches(), CbmLitClusteringQa::ProcessHits(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmLitFitQa::ProcessStsTrack(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmLitFitQa::ProcessTrackParamsAtVertex(), CbmMuchHitFinderQa::PullsQa(), CbmRecoQa::record(), CbmTimeSlice::RegisterData(), CbmTrdCalibTracker::ResolutionQa(), CbmRichGeoOpt::RingParameters(), CbmRichGeoTest::RingParameters(), CbmMvdQa::SetMatches(), CbmKFParticleFinderPID::SetMCPID(), CbmMuchHitFinderQa::StatisticsQa(), CbmKFTrackFitQa::StsHitMatch(), CbmMatch::ToString(), CbmTimeSlice::ToString(), ToString(), CbmRichRecoQa::WasRingFound(), CbmRichRecoQa::WasRingMatched(), and HalCbmCompressionTask::WithDep().

◆ GetNofTrueHits()

◆ GetNofWrongHits()

◆ GetTotalWeight()

double CbmMatch::GetTotalWeight ( ) const
inlineinherited

◆ GetTrueOverAllHitsRatio()

◆ GetWrongOverAllHitsRatio()

double CbmTrackMatchNew::GetWrongOverAllHitsRatio ( ) const
inline

Definition at line 44 of file CbmTrackMatchNew.h.

References fNofWrongHits, and GetNofHits().

Referenced by CbmLitTrackingQa::FillTrackQualityHistograms().

◆ SetNofTrueHits()

void CbmTrackMatchNew::SetNofTrueHits ( int32_t nofTrueHits)
inline

◆ SetNofWrongHits()

void CbmTrackMatchNew::SetNofWrongHits ( int32_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 26 of file CbmTrackMatchNew.cxx.

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

Member Data Documentation

◆ fLinks

◆ fMatchedIndex

int32_t CbmMatch::fMatchedIndex
protectedinherited

◆ fNofTrueHits

int32_t CbmTrackMatchNew::fNofTrueHits
private

◆ fNofWrongHits

int32_t CbmTrackMatchNew::fNofWrongHits
private

◆ fTotalWeight

double CbmMatch::fTotalWeight
protectedinherited

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