CbmRoot
|
#include <CbmRichRing.h>
Public Member Functions | |
CbmRichRing () | |
CbmRichRing (Float_t x, Float_t y, Float_t r) | |
virtual | ~CbmRichRing () |
void | AddHit (UInt_t pHit) |
Bool_t | RemoveHit (UInt_t hitId) |
Int_t | GetNofHits () const |
UInt_t | GetHit (Int_t i) const |
virtual void | Print (Option_t *opt="") const |
void | SetAPar (Double_t a) |
void | SetBPar (Double_t b) |
void | SetCPar (Double_t c) |
void | SetDPar (Double_t d) |
void | SetEPar (Double_t e) |
void | SetFPar (Double_t f) |
void | SetCenterX (Float_t x) |
void | SetCenterY (Float_t y) |
void | SetRadius (Float_t r) |
void | SetAaxis (Double_t a) |
void | SetBaxis (Double_t b) |
void | SetAaxisCor (Double_t a) |
void | SetBaxisCor (Double_t b) |
void | SetXYABPhi (Double_t x, Double_t y, Double_t a, Double_t b, Double_t phi) |
void | SetPhi (Double_t phi) |
void | SetChi2 (Double_t chi2) |
void | SetRecFlag (Int_t recflag) |
void | SetAngle (Double_t angle) |
void | SetNofHitsOnRing (Int_t onring) |
void | SetSelectionNN (Double_t selectionNN) |
void | SetTime (Double_t time) |
Double_t | GetAPar () const |
Double_t | GetBPar () const |
Double_t | GetCPar () const |
Double_t | GetDPar () const |
Double_t | GetEPar () const |
Double_t | GetFPar () const |
Float_t | GetCenterX () const |
Float_t | GetCenterY () const |
Float_t | GetRadius () const |
Double_t | GetAaxis () const |
Double_t | GetBaxis () const |
Double_t | GetAaxisCor () const |
Double_t | GetBaxisCor () const |
Double_t | GetPhi () const |
Double_t | GetXF1 () const |
Double_t | GetYF1 () const |
Double_t | GetXF2 () const |
Double_t | GetYF2 () const |
Double_t | GetSelectionNN () const |
Double_t | GetChi2 () const |
Double_t | GetNDF () const |
Float_t | GetRadialPosition () const |
Double_t | GetAngle () const |
Int_t | GetNofHitsOnRing () const |
Double_t | GetRadialAngle () const |
Int_t | GetRecFlag () const |
Double_t | GetTime () const |
Protected Attributes | |
Double_t | fAPar |
Double_t | fBPar |
Double_t | fCPar |
Double_t | fDPar |
Double_t | fEPar |
Double_t | fFPar |
Float_t | fCenterX |
Float_t | fCenterY |
Float_t | fRadius |
Double_t | fAaxis |
Double_t | fBaxis |
Double_t | fAaxisCor |
Double_t | fBaxisCor |
Double_t | fPhi |
Double_t | fChi2 |
Double_t | fAngle |
Int_t | fNofHitsOnRing |
Double_t | fSelectionNN |
Int_t | fRecFlag |
Double_t | fTime |
Private Attributes | |
std::vector< UInt_t > | fHitCollection |
Definition at line 17 of file CbmRichRing.h.
CbmRichRing::CbmRichRing | ( | ) |
CbmRichRing::CbmRichRing | ( | Float_t | x, |
Float_t | y, | ||
Float_t | r | ||
) |
Constructor with arguments
x | x Position of ring center [cm] |
y | y Position of ring center [cm] |
r | radius of ring [cm] |
Definition at line 80 of file CbmRichRing.cxx.
References fHitCollection.
|
virtual |
|
inline |
to attach the rich hit to the ring
Definition at line 34 of file CbmRichRing.h.
References fHitCollection.
Referenced by CbmRichRingFinderHough::AddRingsToOutputArray(), CbmRichRingFinderIdeal::DoFind(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 83 of file CbmRichRing.h.
References fAaxis.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmKFTrackQA::Exec(), PairAnalysisVarManager::FillVarRichRing(), CbmLitGlobalElectronId::IsRichElectron(), CbmAnaConversionReco::IsRichElectronNormal(), Print(), CbmRichGeoOpt::RingParameters(), and CbmKFParticleFinderPID::SetRecoPID().
|
inline |
Definition at line 85 of file CbmRichRing.h.
References fAaxisCor.
|
inline |
Definition at line 98 of file CbmRichRing.h.
References fAngle.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), and Print().
|
inline |
|
inline |
Definition at line 84 of file CbmRichRing.h.
References fBaxis.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmKFTrackQA::Exec(), PairAnalysisVarManager::FillVarRichRing(), CbmLitGlobalElectronId::IsRichElectron(), CbmAnaConversionReco::IsRichElectronNormal(), Print(), CbmRichGeoOpt::RingParameters(), and CbmKFParticleFinderPID::SetRecoPID().
|
inline |
Definition at line 86 of file CbmRichRing.h.
References fBaxisCor.
|
inline |
Definition at line 74 of file CbmRichRing.h.
References fBPar.
|
inline |
Definition at line 80 of file CbmRichRing.h.
References fCenterX.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichMCbmQaRichOnly::analyseRing(), CbmRichMCbmQaReal::analyseRing(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichRingTrackAssignClosestD::DoAssignRingTrack(), CbmRichRingTrackAssignClosestD::DoAssignTrackRing(), CbmRichMCbmQa::DrawCircle(), CbmRichEventDisplay::DrawCircle(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaRichOnly::DrawRing(), CbmRichMCbmQaReal::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmRichMCbmQaReal::Exec(), CbmRecoTracks::Exec(), CbmL1RichRingQa::Exec(), CbmRichMirrorSortingCorrection::FillRingTrackDistance(), CbmRichRecoQa::FillRingTrackDistance(), CbmRichMirrorSortingCorrection::FillRingTrackDistanceCorr(), PairAnalysisVarManager::FillVarRichRing(), CbmRichMCbmQaReal::FindClosestRing(), CbmRichMCbmQaReal::FindClosestTrack(), CbmRichMCbmQaReal::getBeta(), CbmRichUtil::GetRingTrackDistanceImpl(), Print(), CbmLitTrackingQa::ProcessGlobalTracks(), CbmRichMCbmAerogelAna::RichRings(), CbmRichMCbmQaReal::RichRings(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 81 of file CbmRichRing.h.
References fCenterY.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichMCbmQaRichOnly::analyseRing(), CbmRichMCbmQaReal::analyseRing(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichRingTrackAssignClosestD::DoAssignRingTrack(), CbmRichRingTrackAssignClosestD::DoAssignTrackRing(), CbmRichMCbmQa::DrawCircle(), CbmRichEventDisplay::DrawCircle(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichEventDisplay::DrawOnePmtPlane(), CbmRichMCbmQaRichOnly::DrawRing(), CbmRichMCbmQaReal::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmRichMCbmQaReal::Exec(), CbmRecoTracks::Exec(), CbmL1RichRingQa::Exec(), CbmRichMirrorSortingCorrection::FillRingTrackDistance(), CbmRichRecoQa::FillRingTrackDistance(), CbmRichMirrorSortingCorrection::FillRingTrackDistanceCorr(), PairAnalysisVarManager::FillVarRichRing(), CbmRichMCbmQaReal::FindClosestRing(), CbmRichMCbmQaReal::FindClosestTrack(), CbmRichMCbmQaReal::getBeta(), CbmRichUtil::GetRingTrackDistanceImpl(), Print(), CbmLitTrackingQa::ProcessGlobalTracks(), CbmRichMCbmAerogelAna::RichRings(), CbmRichMCbmQaReal::RichRings(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 95 of file CbmRichRing.h.
References fChi2.
Referenced by CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmRichMCbmQaRichOnly::Exec(), CbmRichMCbmQaReal::Exec(), CbmL1RichRingQa::Exec(), PairAnalysisVarManager::FillVarRichRing(), and Print().
|
inline |
Definition at line 75 of file CbmRichRing.h.
References fCPar.
|
inline |
Definition at line 76 of file CbmRichRing.h.
References fDPar.
|
inline |
Definition at line 77 of file CbmRichRing.h.
References fEPar.
|
inline |
Definition at line 78 of file CbmRichRing.h.
References fFPar.
|
inline |
to obtain the rich hit at a particular index
Definition at line 42 of file CbmRichRing.h.
References fHitCollection, and i.
Referenced by CbmRichMCbmQaRichOnly::analyseRing(), CbmRichMCbmQaReal::analyseRing(), CbmRichAlignment::CalculateAnglesAndDrawDistrib(), CbmRichCorrectionVector::CalculateAnglesAndDrawDistrib(), PairAnalysisVarManager::CalculateHitTypes(), CbmKresConversionKF::CheckIfElectron(), CbmKresEta::CheckIfElectron(), CbmKresConversionManualmbias4::CheckIfElectron(), CbmKresConversionManualmbias3::CheckIfElectron(), CbmKresConversionManualmbias1::CheckIfElectron(), CbmKresConversionManualmbias2::CheckIfElectron(), CbmKresConversionManual::CheckIfElectron(), CbmKresConversionPhotons::CheckIfElectron(), CbmKresConversionCorrectedPhotons::CheckIfElectron(), CbmRichConverter::CopyHitsToRingLight(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaRichOnly::DrawRing(), CbmRichMCbmQaReal::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMatchRings::Exec(), CbmRecoTracks::Exec(), CbmL1RichRingQa::Exec(), PairAnalysis::FillHistogramsHits(), CbmMatchRecoToMC::MatchRichRings(), CbmRichMCbmQaRichOnly::RichRings(), CbmRichGeoOpt::RingParameters(), CbmRichPMTMapping::RotateAndCopyHitsToRingLight(), and CbmRichCorrectionVector::RotateAndCopyHitsToRingLight().
|
inline |
Definition at line 96 of file CbmRichRing.h.
References GetNofHits().
Referenced by CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), and PairAnalysisVarManager::FillVarRichRing().
|
inline |
to obtain the number of hits associated to the ring
Definition at line 40 of file CbmRichRing.h.
References fHitCollection.
Referenced by CbmRichMCbmQaRichOnly::analyseRing(), CbmRichMCbmQaReal::analyseRing(), CbmRichElectronIdAnn::CalculateAnnValue(), PairAnalysisVarManager::CalculateHitTypes(), CbmKresConversionKF::CheckIfElectron(), CbmKresEta::CheckIfElectron(), CbmKresConversionManualmbias2::CheckIfElectron(), CbmKresConversionManualmbias3::CheckIfElectron(), CbmKresConversionManualmbias4::CheckIfElectron(), CbmKresConversionManualmbias1::CheckIfElectron(), CbmKresConversionManual::CheckIfElectron(), CbmKresConversionPhotons::CheckIfElectron(), CbmKresConversionCorrectedPhotons::CheckIfElectron(), CbmRichConverter::CopyHitsToRingLight(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmRichRingTrackAssignIdeal::DoAssign(), CbmRichRingTrackAssignClosestD::DoAssignRingTrack(), CbmRichRingTrackAssignClosestD::DoAssignTrackRing(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaRichOnly::DrawRing(), CbmRichMCbmQaReal::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMatchRings::Exec(), CbmL1RichRingQa::Exec(), PairAnalysis::FillHistogramsHits(), CbmRichRecoQa::FillRingTrackDistance(), PairAnalysisVarManager::FillVarRichRing(), GetNDF(), CbmAnaJpsiTask::IsRecoTrackAccepted(), CbmMatchRecoToMC::MatchRichRings(), CbmRichUrqmdTest::NofRings(), Print(), CbmRichMCbmAerogelAna::RichRings(), CbmRichMCbmQaRichOnly::RichRings(), CbmRichMCbmQaReal::RichRings(), CbmRichGeoTest::RingParameters(), CbmRichGeoOpt::RingParameters(), CbmRichPMTMapping::RotateAndCopyHitsToRingLight(), and CbmRichCorrectionVector::RotateAndCopyHitsToRingLight().
|
inline |
Definition at line 99 of file CbmRichRing.h.
References fNofHitsOnRing.
Referenced by PairAnalysisVarManager::FillVarRichRing(), and Print().
|
inline |
Definition at line 87 of file CbmRichRing.h.
References fPhi.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), PairAnalysisVarManager::FillVarRichRing(), and Print().
Double_t CbmRichRing::GetRadialAngle | ( | ) | const |
Definition at line 189 of file CbmRichRing.cxx.
References fabs(), fCenterX, fCenterY, and xMath::Pi().
Referenced by CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), and PairAnalysisVarManager::FillVarRichRing().
Float_t CbmRichRing::GetRadialPosition | ( | ) | const |
Definition at line 181 of file CbmRichRing.cxx.
References f, fCenterX, fCenterY, and sqrt().
Referenced by CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), PairAnalysisVarManager::FillVarRichRing(), and Print().
|
inline |
Definition at line 82 of file CbmRichRing.h.
References fRadius.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichMCbmQaRichOnly::analyseRing(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichMCbmAerogelAna::cutRadius(), CbmRichMCbmQaRichOnly::cutRadius(), CbmRichMCbmQaReal::cutRadius(), CbmRichMCbmQa::DrawCircle(), CbmRichEventDisplay::DrawCircle(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaRichOnly::DrawRing(), CbmRichMCbmQaReal::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichMCbmQa::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmRichMCbmQaReal::Exec(), CbmKFTrackQA::Exec(), CbmL1RichRingQa::Exec(), PairAnalysisVarManager::FillVarRichRing(), CbmRichMCbmQaReal::getBeta(), Print(), CbmRichMCbmAerogelAna::RichRings(), CbmRichMCbmQaReal::RichRings(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 101 of file CbmRichRing.h.
References fRecFlag.
Referenced by CbmRichTrainAnnSelect::DiffFakeTrueCircle().
|
inline |
Definition at line 94 of file CbmRichRing.h.
References fSelectionNN.
Referenced by CbmAnaConversionReco::CutEfficiencyStudies().
|
inline |
Definition at line 102 of file CbmRichRing.h.
References fTime.
Referenced by CbmRichMCbmQaReal::Exec(), CbmRichRecoTbQa::Process(), and CbmRichMCbmQaRichOnly::RichRings().
Double_t CbmRichRing::GetXF1 | ( | ) | const |
Double_t CbmRichRing::GetXF2 | ( | ) | const |
Double_t CbmRichRing::GetYF1 | ( | ) | const |
Double_t CbmRichRing::GetYF2 | ( | ) | const |
|
virtual |
to print ring parameters
Definition at line 170 of file CbmRichRing.cxx.
References GetAaxis(), GetAngle(), GetBaxis(), GetCenterX(), GetCenterY(), GetChi2(), GetNofHits(), GetNofHitsOnRing(), GetPhi(), GetRadialPosition(), and GetRadius().
Bool_t CbmRichRing::RemoveHit | ( | UInt_t | hitId | ) |
remove hit from ring hitId is the index in the RICH hit array return false if hit is not found in ring
Definition at line 124 of file CbmRichRing.cxx.
References fHitCollection.
|
inline |
Definition at line 58 of file CbmRichRing.h.
References fAaxis.
Referenced by CbmRichConverter::CopyParamsToRing().
|
inline |
Definition at line 60 of file CbmRichRing.h.
References fAaxisCor.
|
inline |
Definition at line 66 of file CbmRichRing.h.
References fAngle.
|
inline |
|
inline |
Definition at line 59 of file CbmRichRing.h.
References fBaxis.
Referenced by CbmRichConverter::CopyParamsToRing().
|
inline |
Definition at line 61 of file CbmRichRing.h.
References fBaxisCor.
|
inline |
Definition at line 49 of file CbmRichRing.h.
References fBPar.
|
inline |
Definition at line 55 of file CbmRichRing.h.
Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 56 of file CbmRichRing.h.
Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 64 of file CbmRichRing.h.
References fChi2.
Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 50 of file CbmRichRing.h.
References fCPar.
|
inline |
Definition at line 51 of file CbmRichRing.h.
|
inline |
Definition at line 52 of file CbmRichRing.h.
References fEPar.
|
inline |
Definition at line 53 of file CbmRichRing.h.
|
inline |
Definition at line 67 of file CbmRichRing.h.
References fNofHitsOnRing.
|
inline |
Definition at line 63 of file CbmRichRing.h.
References fPhi.
Referenced by CbmRichConverter::CopyParamsToRing().
|
inline |
Definition at line 57 of file CbmRichRing.h.
References fRadius.
Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 65 of file CbmRichRing.h.
References fRecFlag.
Referenced by CbmRichTrainAnnSelect::SetRecFlag().
|
inline |
number between -1 and 1: -1 = fake ring, 1 = good ring (selection by neural net)
Definition at line 69 of file CbmRichRing.h.
References fSelectionNN.
|
inline |
Definition at line 70 of file CbmRichRing.h.
References fTime.
Referenced by CbmRichRingFinderHough::AddRingsToOutputArray().
void CbmRichRing::SetXYABPhi | ( | Double_t | x, |
Double_t | y, | ||
Double_t | a, | ||
Double_t | b, | ||
Double_t | phi | ||
) |
|
protected |
Definition at line 119 of file CbmRichRing.h.
Referenced by GetAaxis(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetAaxis(), and SetXYABPhi().
|
protected |
Definition at line 121 of file CbmRichRing.h.
Referenced by GetAaxisCor(), and SetAaxisCor().
|
protected |
Definition at line 127 of file CbmRichRing.h.
Referenced by GetAngle(), and SetAngle().
|
protected |
STL container to hold the hits
Definition at line 108 of file CbmRichRing.h.
|
protected |
Definition at line 120 of file CbmRichRing.h.
Referenced by GetBaxis(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetBaxis(), and SetXYABPhi().
|
protected |
Definition at line 122 of file CbmRichRing.h.
Referenced by GetBaxisCor(), and SetBaxisCor().
|
protected |
Definition at line 109 of file CbmRichRing.h.
|
protected |
Definition at line 115 of file CbmRichRing.h.
Referenced by GetCenterX(), GetRadialAngle(), GetRadialPosition(), GetXF1(), GetXF2(), SetCenterX(), and SetXYABPhi().
|
protected |
Definition at line 116 of file CbmRichRing.h.
Referenced by GetCenterY(), GetRadialAngle(), GetRadialPosition(), GetYF1(), GetYF2(), SetCenterY(), and SetXYABPhi().
|
protected |
Definition at line 126 of file CbmRichRing.h.
|
protected |
Definition at line 110 of file CbmRichRing.h.
|
protected |
Definition at line 111 of file CbmRichRing.h.
|
protected |
Definition at line 112 of file CbmRichRing.h.
|
protected |
Definition at line 113 of file CbmRichRing.h.
|
private |
Definition at line 105 of file CbmRichRing.h.
Referenced by AddHit(), CbmRichRing(), GetHit(), GetNofHits(), RemoveHit(), and ~CbmRichRing().
|
protected |
Definition at line 128 of file CbmRichRing.h.
Referenced by GetNofHitsOnRing(), and SetNofHitsOnRing().
|
protected |
Definition at line 124 of file CbmRichRing.h.
Referenced by GetPhi(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetPhi(), and SetXYABPhi().
|
protected |
Definition at line 117 of file CbmRichRing.h.
Referenced by GetRadius(), and SetRadius().
|
protected |
Definition at line 132 of file CbmRichRing.h.
Referenced by GetRecFlag(), and SetRecFlag().
|
protected |
Definition at line 130 of file CbmRichRing.h.
Referenced by GetSelectionNN(), and SetSelectionNN().
|
protected |
Definition at line 134 of file CbmRichRing.h.