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

#include <CbmMatch.h>

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

Public Member Functions

 CbmMatch ()
 Default constructor.
 
virtual ~CbmMatch ()
 Destructor.
 
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 ()
 
virtual std::string ToString () const
 Return string representation of the object.
 

Protected Member Functions

 ClassDef (CbmMatch, 1)
 

Protected Attributes

std::vector< CbmLinkfLinks
 
double fTotalWeight
 
int32_t fMatchedIndex
 

Detailed Description

Definition at line 26 of file CbmMatch.h.

Constructor & Destructor Documentation

◆ CbmMatch()

CbmMatch::CbmMatch ( )

Default constructor.

Definition at line 21 of file CbmMatch.cxx.

◆ ~CbmMatch()

CbmMatch::~CbmMatch ( )
virtual

Destructor.

Definition at line 23 of file CbmMatch.cxx.

Member Function Documentation

◆ AddLink() [1/2]

void CbmMatch::AddLink ( const CbmLink & newLink)

Definition at line 47 of file CbmMatch.cxx.

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

Referenced by CbmTrdModuleSim2D::AddDigi(), CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::AddDigitoPulseBuffer(), AddLink(), CbmStsSignal::AddLink(), 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 )

Definition at line 71 of file CbmMatch.cxx.

References AddLink().

◆ AddLinks()

◆ ClassDef()

CbmMatch::ClassDef ( CbmMatch ,
1  )
protected

◆ ClearLinks()

◆ GetLink()

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

Definition at line 39 of file CbmMatch.h.

References fLinks.

Referenced by 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
inline

Definition at line 41 of file CbmMatch.h.

References fLinks, and 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().

◆ GetNofLinks()

int32_t CbmMatch::GetNofLinks ( ) const
inline

Definition at line 42 of file CbmMatch.h.

References fLinks.

Referenced by AddLink(), 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(), ToString(), CbmTimeSlice::ToString(), CbmTrackMatchNew::ToString(), CbmRichRecoQa::WasRingFound(), CbmRichRecoQa::WasRingMatched(), and HalCbmCompressionTask::WithDep().

◆ GetTotalWeight()

double CbmMatch::GetTotalWeight ( ) const
inline

◆ ToString()

string CbmMatch::ToString ( ) const
virtual

Return string representation of the object.

Returns
String representation of the object.

Reimplemented in CbmTrackMatchNew.

Definition at line 25 of file CbmMatch.cxx.

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

Referenced by CbmTrdModuleSim2D::FlushBuffer(), CbmRecoQa::record(), TEST(), and CbmTrdFASP::WriteDigi().

Member Data Documentation

◆ fLinks

std::vector<CbmLink> CbmMatch::fLinks
protected

◆ fMatchedIndex

int32_t CbmMatch::fMatchedIndex
protected

Definition at line 60 of file CbmMatch.h.

Referenced by AddLink(), ClearLinks(), GetMatchedLink(), ToString(), and CbmTrackMatchNew::ToString().

◆ fTotalWeight

double CbmMatch::fTotalWeight
protected

Definition at line 59 of file CbmMatch.h.

Referenced by AddLink(), ClearLinks(), GetTotalWeight(), ToString(), and CbmTrackMatchNew::ToString().


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