CbmRoot
|
#include <CbmMatch.h>
Public Member Functions | |
CbmMatch () | |
Default constructor. More... | |
virtual | ~CbmMatch () |
Destructor. More... | |
const CbmLink & | GetLink (Int_t i) const |
const std::vector< CbmLink > & | GetLinks () const |
const CbmLink & | GetMatchedLink () 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 () |
virtual std::string | ToString () const |
Return string representation of the object. More... | |
Protected Member Functions | |
ClassDef (CbmMatch, 1) | |
Protected Attributes | |
std::vector< CbmLink > | fLinks |
Double_t | fTotalWeight |
Int_t | fMatchedIndex |
Definition at line 22 of file CbmMatch.h.
CbmMatch::CbmMatch | ( | ) |
Default constructor.
Definition at line 17 of file CbmMatch.cxx.
|
virtual |
Destructor.
Definition at line 19 of file CbmMatch.cxx.
void CbmMatch::AddLink | ( | const CbmLink & | newLink | ) |
Definition at line 42 of file CbmMatch.cxx.
References CbmLink::AddWeight(), fLinks, fMatchedIndex, fTotalWeight, GetNofLinks(), CbmLink::GetWeight(), and i.
Referenced by CbmTrdModuleSimT::AddDigi(), CbmTrdModuleSimR::AddDigi(), CbmRichDigitizer::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::AddDigitoPulseBuffer(), AddLink(), CbmStsSignal::AddLink(), 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().
void CbmMatch::AddLink | ( | Double_t | weight, |
Int_t | index, | ||
Int_t | entry = -1 , |
||
Int_t | file = -1 |
||
) |
Definition at line 68 of file CbmMatch.cxx.
References AddLink().
void CbmMatch::AddLinks | ( | const CbmMatch & | match | ) |
Definition at line 35 of file CbmMatch.cxx.
References AddLink(), GetLink(), GetNofLinks(), and i.
Referenced by CbmCluster::CbmCluster(), CbmMatchRecoToMC::MatchClusters(), CbmMatchRecoToMC::MatchHits(), CbmMatchRecoToMC::MatchHitsMvd(), CbmMatchRecoToMC::MatchHitsSts(), CbmCluster::operator=(), and TEST().
|
protected |
void CbmMatch::ClearLinks | ( | ) |
Definition at line 74 of file CbmMatch.cxx.
References fLinks, fMatchedIndex, and fTotalWeight.
Referenced by CbmEventStore::MatchToMC(), CbmTimeSlice::Reset(), CbmTimeSlice::ResetCounters(), and TEST().
|
inline |
Definition at line 35 of file CbmMatch.h.
Referenced by LxTBFinder::AddHit(), 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(), CbmTrdToTofVector::GetHits(), CbmMuchToTofVectors::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().
|
inline |
Definition at line 36 of file CbmMatch.h.
References fLinks.
Referenced by compareMatchDataMembers(), CbmMatchRecoToMC::GetMcTrackMotherIdsForRichHit(), CbmLitTrackingQa::ProcessGlobalTracks(), CbmRichGeoTest::ProcessHits(), and TEST().
|
inline |
Definition at line 37 of file CbmMatch.h.
References fLinks, and 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(), CbmKresConversionReconstruction::Exec(), CbmKresEtaMCAnalysis::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(), CbmKresConversionManualmbias1::FindInRich(), CbmKresConversionManualmbias2::FindInRich(), CbmKresConversionManualmbias3::FindInRich(), CbmKresConversionManualmbias4::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().
|
inline |
Definition at line 38 of file CbmMatch.h.
References fLinks.
Referenced by LxTBFinder::AddHit(), AddLink(), 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(), ToString(), CbmTrackMatchNew::ToString(), and CbmTimeSlice::ToString().
|
inline |
Definition at line 39 of file CbmMatch.h.
References fTotalWeight.
Referenced by compareClusterDataMembers(), compareHitDataMembers(), compareMatchDataMembers(), and CbmStsSignal::GetCharge().
|
virtual |
Return string representation of the object.
Reimplemented in CbmTrackMatchNew.
Definition at line 21 of file CbmMatch.cxx.
References fLinks, fMatchedIndex, fTotalWeight, GetNofLinks(), i, and CbmLink::ToString().
Referenced by CbmTrdModuleSimT::FlushBuffer(), CbmRecoQa::record(), TEST(), and CbmTrdFASP::WriteDigi().
|
protected |
Definition at line 54 of file CbmMatch.h.
Referenced by AddLink(), ClearLinks(), GetLink(), GetLinks(), GetMatchedLink(), GetNofLinks(), ToString(), and CbmTrackMatchNew::ToString().
|
protected |
Definition at line 56 of file CbmMatch.h.
Referenced by AddLink(), ClearLinks(), GetMatchedLink(), ToString(), and CbmTrackMatchNew::ToString().
|
protected |
Definition at line 55 of file CbmMatch.h.
Referenced by AddLink(), ClearLinks(), GetTotalWeight(), ToString(), and CbmTrackMatchNew::ToString().