CbmRoot
CbmMuchDigiMatch Class Reference

#include <CbmMuchDigiMatch.h>

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

Public Member Functions

 CbmMuchDigiMatch ()
 
 CbmMuchDigiMatch (CbmMuchDigiMatch *match)
 
virtual ~CbmMuchDigiMatch ()
 
 ClassDef (CbmMuchDigiMatch, 2)
 
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 ()
 
virtual std::string ToString () const
 Return string representation of the object. More...
 

Protected Member Functions

 ClassDef (CbmMatch, 1)
 

Protected Attributes

std::vector< CbmLinkfLinks
 
Double_t fTotalWeight
 
Int_t fMatchedIndex
 

Detailed Description

Definition at line 17 of file CbmMuchDigiMatch.h.

Constructor & Destructor Documentation

◆ CbmMuchDigiMatch() [1/2]

CbmMuchDigiMatch::CbmMuchDigiMatch ( )
inline

Default constructor

Definition at line 21 of file CbmMuchDigiMatch.h.

◆ CbmMuchDigiMatch() [2/2]

CbmMuchDigiMatch::CbmMuchDigiMatch ( CbmMuchDigiMatch match)

Constructor called from CbmMuchBeamTimeDigi

CbmMuchDigiMatch.cxx

Author
Vikas Singhal vikas.nosp@m.@vec.nosp@m.c.gov.nosp@m..in
Since
May 2016
Version
4.0

Definition at line 9 of file CbmMuchDigiMatch.cxx.

◆ ~CbmMuchDigiMatch()

virtual CbmMuchDigiMatch::~CbmMuchDigiMatch ( )
inlinevirtual

Destructor

Definition at line 27 of file CbmMuchDigiMatch.h.

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]

CbmMuchDigiMatch::ClassDef ( CbmMuchDigiMatch  ,
 
)

◆ 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(), CbmKresConversionManualmbias2::FindInRich(), CbmKresConversionManualmbias3::FindInRich(), CbmKresConversionManualmbias4::FindInRich(), CbmKresConversionManualmbias1::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().

◆ 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(), CbmTrackMatchNew::ToString(), and CbmTimeSlice::ToString().

◆ GetTotalWeight()

Double_t CbmMatch::GetTotalWeight ( ) const
inlineinherited

◆ ToString()

string CbmMatch::ToString ( ) const
virtualinherited

Return string representation of the object.

Returns
String representation of the object.

Reimplemented in CbmTrackMatchNew.

Definition at line 21 of file CbmMatch.cxx.

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

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

Member Data Documentation

◆ fLinks

◆ fMatchedIndex

Int_t CbmMatch::fMatchedIndex
protectedinherited

◆ fTotalWeight

Double_t CbmMatch::fTotalWeight
protectedinherited

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