CbmRoot
|
#include <CbmRichRing.h>
Public Member Functions | |
CbmRichRing () | |
CbmRichRing (float x, float y, float r) | |
virtual | ~CbmRichRing () |
void | AddHit (uint32_t pHit) |
bool | RemoveHit (uint32_t hitId) |
int32_t | GetNofHits () const |
uint32_t | GetHit (int32_t i) const |
virtual void | Print (Option_t *opt="") const |
void | SetAPar (double a) |
void | SetBPar (double b) |
void | SetCPar (double c) |
void | SetDPar (double d) |
void | SetEPar (double e) |
void | SetFPar (double f) |
void | SetCenterX (float x) |
void | SetCenterY (float y) |
void | SetRadius (float r) |
void | SetAaxis (double a) |
void | SetBaxis (double b) |
void | SetAaxisCor (double a) |
void | SetBaxisCor (double b) |
void | SetXYABPhi (double x, double y, double a, double b, double phi) |
void | SetPhi (double phi) |
void | SetChi2 (double chi2) |
void | SetRecFlag (int32_t recflag) |
void | SetAngle (double angle) |
void | SetNofHitsOnRing (int32_t onring) |
void | SetSelectionNN (double selectionNN) |
void | SetTime (double time) |
double | GetAPar () const |
double | GetBPar () const |
double | GetCPar () const |
double | GetDPar () const |
double | GetEPar () const |
double | GetFPar () const |
float | GetCenterX () const |
float | GetCenterY () const |
float | GetRadius () const |
double | GetAaxis () const |
double | GetBaxis () const |
double | GetAaxisCor () const |
double | GetBaxisCor () const |
double | GetPhi () const |
double | GetXF1 () const |
double | GetYF1 () const |
double | GetXF2 () const |
double | GetYF2 () const |
double | GetSelectionNN () const |
double | GetChi2 () const |
double | GetNDF () const |
float | GetRadialPosition () const |
double | GetAngle () const |
int32_t | GetNofHitsOnRing () const |
double | GetRadialAngle () const |
int32_t | GetRecFlag () const |
double | GetTime () const |
Protected Attributes | |
double | fAPar |
double | fBPar |
double | fCPar |
double | fDPar |
double | fEPar |
double | fFPar |
float | fCenterX |
float | fCenterY |
float | fRadius |
double | fAaxis |
double | fBaxis |
double | fAaxisCor |
double | fBaxisCor |
double | fPhi |
double | fChi2 |
double | fAngle |
int32_t | fNofHitsOnRing |
double | fSelectionNN |
int32_t | fRecFlag |
double | fTime |
Private Attributes | |
std::vector< uint32_t > | fHitCollection |
Definition at line 14 of file CbmRichRing.h.
CbmRichRing::CbmRichRing | ( | ) |
CbmRichRing::CbmRichRing | ( | float | x, |
float | y, | ||
float | 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 84 of file CbmRichRing.cxx.
References fHitCollection.
|
virtual |
|
inline |
to attach the rich hit to the ring
Definition at line 31 of file CbmRichRing.h.
References fHitCollection.
Referenced by CbmRichRingFinderHough::AddRingsToOutputArray(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 80 of file CbmRichRing.h.
References fAaxis.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmRichMCbmDenoiseQa::DrawSED(), CbmKFTrackQa::Exec(), PairAnalysisVarManager::FillVarRichRing(), CbmLitGlobalElectronId::IsRichElectron(), CbmAnaConversionReco::IsRichElectronNormal(), Print(), CbmRichGeoOpt::RingParameters(), and CbmKFParticleFinderPID::SetRecoPID().
|
inline |
Definition at line 82 of file CbmRichRing.h.
References fAaxisCor.
|
inline |
Definition at line 95 of file CbmRichRing.h.
References fAngle.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), and Print().
|
inline |
|
inline |
Definition at line 81 of file CbmRichRing.h.
References fBaxis.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmRichMCbmDenoiseQa::DrawSED(), CbmKFTrackQa::Exec(), PairAnalysisVarManager::FillVarRichRing(), CbmLitGlobalElectronId::IsRichElectron(), CbmAnaConversionReco::IsRichElectronNormal(), Print(), CbmRichGeoOpt::RingParameters(), and CbmKFParticleFinderPID::SetRecoPID().
|
inline |
Definition at line 83 of file CbmRichRing.h.
References fBaxisCor.
|
inline |
Definition at line 71 of file CbmRichRing.h.
References fBPar.
|
inline |
Definition at line 77 of file CbmRichRing.h.
References fCenterX.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichMCbmQaReal::analyseRing(), CbmRichMCbmQaRichOnly::analyseRing(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichRingTrackAssignClosestD::DoAssignRingTrack(), CbmRichRingTrackAssignClosestD::DoAssignTrackRing(), CbmRichMCbmQa::DrawCircle(), CbmRichEventDisplay::DrawEllipse(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaReal::DrawRing(), CbmRichMCbmQaRichOnly::DrawRing(), CbmRichMCbmDenoiseQa::DrawSED(), CbmKresConversionGeneral::Exec(), CbmL1RichRingQa::Exec(), CbmRecoTracks::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmRichMirrorSortingCorrection::FillRingTrackDistance(), CbmRichRecoQa::FillRingTrackDistance(), CbmRichMirrorSortingCorrection::FillRingTrackDistanceCorr(), PairAnalysisVarManager::FillVarRichRing(), CbmRichMCbmQaReal::FindClosestRing(), CbmRichMCbmQaReal::FindClosestTrack(), CbmRichMCbmQaReal::getBeta(), CbmRichUtil::GetRingTrackDistanceImpl(), CbmTimesliceRecoTracks::GotoEvent(), Print(), CbmRichMCbmDenoiseQa::Process(), CbmLitTrackingQa::ProcessGlobalTracks(), CbmRichMCbmAerogelAna::RichRings(), CbmRichMCbmQaReal::RichRings(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 78 of file CbmRichRing.h.
References fCenterY.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichMCbmQaReal::analyseRing(), CbmRichMCbmQaRichOnly::analyseRing(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichRingTrackAssignClosestD::DoAssignRingTrack(), CbmRichRingTrackAssignClosestD::DoAssignTrackRing(), CbmRichMCbmQa::DrawCircle(), CbmRichEventDisplay::DrawEllipse(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichEventDisplay::DrawOnePmtPlane(), CbmRichMCbmQaReal::DrawRing(), CbmRichMCbmQaRichOnly::DrawRing(), CbmRichMCbmDenoiseQa::DrawSED(), CbmKresConversionGeneral::Exec(), CbmL1RichRingQa::Exec(), CbmRecoTracks::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmRichMirrorSortingCorrection::FillRingTrackDistance(), CbmRichRecoQa::FillRingTrackDistance(), CbmRichMirrorSortingCorrection::FillRingTrackDistanceCorr(), PairAnalysisVarManager::FillVarRichRing(), CbmRichMCbmQaReal::FindClosestRing(), CbmRichMCbmQaReal::FindClosestTrack(), CbmRichMCbmQaReal::getBeta(), CbmRichUtil::GetRingTrackDistanceImpl(), CbmTimesliceRecoTracks::GotoEvent(), Print(), CbmRichMCbmDenoiseQa::Process(), CbmLitTrackingQa::ProcessGlobalTracks(), CbmRichMCbmAerogelAna::RichRings(), CbmRichMCbmQaReal::RichRings(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 92 of file CbmRichRing.h.
References fChi2.
Referenced by CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmL1RichRingQa::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMCbmQaRichOnly::Exec(), LmvmTask::FillCands(), PairAnalysisVarManager::FillVarRichRing(), and Print().
|
inline |
Definition at line 72 of file CbmRichRing.h.
References fCPar.
|
inline |
Definition at line 73 of file CbmRichRing.h.
References fDPar.
|
inline |
Definition at line 74 of file CbmRichRing.h.
References fEPar.
|
inline |
Definition at line 75 of file CbmRichRing.h.
References fFPar.
|
inline |
to obtain the rich hit at a particular index
Definition at line 39 of file CbmRichRing.h.
References fHitCollection.
Referenced by CbmRichMCbmQaReal::analyseRing(), CbmRichMCbmQaRichOnly::analyseRing(), CbmRichAlignment::CalculateAnglesAndDrawDistrib(), CbmRichCorrectionVector::CalculateAnglesAndDrawDistrib(), PairAnalysisVarManager::CalculateHitTypes(), CbmKresConversionCorrectedPhotons::CheckIfElectron(), CbmKresConversionKF::CheckIfElectron(), CbmKresConversionManual::CheckIfElectron(), CbmKresConversionManualmbias1::CheckIfElectron(), CbmKresConversionManualmbias2::CheckIfElectron(), CbmKresConversionManualmbias3::CheckIfElectron(), CbmKresConversionManualmbias4::CheckIfElectron(), CbmKresConversionPhotons::CheckIfElectron(), CbmKresEta::CheckIfElectron(), CbmRichConverter::CopyHitsToRingLight(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaReal::DrawRing(), CbmRichMCbmQaRichOnly::DrawRing(), CbmKresConversionGeneral::Exec(), CbmL1RichRingQa::Exec(), CbmRecoTracks::Exec(), CbmRichMatchRings::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMCbmQaRichOnly::Exec(), PairAnalysis::FillHistogramsHits(), CbmTimesliceRecoTracks::GotoEvent(), CbmMatchRecoToMC::MatchRichRings(), CbmRichMCbmDenoiseQa::Process(), CbmRichMCbmQaRichOnly::RichRings(), CbmRichGeoOpt::RingParameters(), CbmRichCorrectionVector::RotateAndCopyHitsToRingLight(), and CbmRichPMTMapping::RotateAndCopyHitsToRingLight().
|
inline |
Definition at line 93 of file CbmRichRing.h.
References GetNofHits().
Referenced by CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), LmvmTask::FillCands(), and PairAnalysisVarManager::FillVarRichRing().
|
inline |
to obtain the number of hits associated to the ring
Definition at line 37 of file CbmRichRing.h.
References fHitCollection.
Referenced by CbmRichMCbmQaReal::analyseRing(), CbmRichMCbmQaRichOnly::analyseRing(), CbmRichElectronIdAnn::CalculateAnnValue(), PairAnalysisVarManager::CalculateHitTypes(), CbmKresConversionCorrectedPhotons::CheckIfElectron(), CbmKresConversionKF::CheckIfElectron(), CbmKresConversionManual::CheckIfElectron(), CbmKresConversionManualmbias1::CheckIfElectron(), CbmKresConversionManualmbias2::CheckIfElectron(), CbmKresConversionManualmbias3::CheckIfElectron(), CbmKresConversionManualmbias4::CheckIfElectron(), CbmKresConversionPhotons::CheckIfElectron(), CbmKresEta::CheckIfElectron(), CbmRichConverter::CopyHitsToRingLight(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmRichRingTrackAssignIdeal::DoAssign(), CbmRichRingTrackAssignClosestD::DoAssignRingTrack(), CbmRichRingTrackAssignClosestD::DoAssignTrackRing(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaReal::DrawRing(), CbmRichMCbmQaRichOnly::DrawRing(), CbmKresConversionGeneral::Exec(), CbmL1RichRingQa::Exec(), CbmRichMatchRings::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMCbmQaRichOnly::Exec(), PairAnalysis::FillHistogramsHits(), CbmRichRecoQa::FillRingTrackDistance(), PairAnalysisVarManager::FillVarRichRing(), GetNDF(), CbmAnaJpsiTask::IsRecoTrackAccepted(), CbmMatchRecoToMC::MatchRichRings(), CbmRichUrqmdTest::NofRings(), Print(), CbmRichMCbmDenoiseQa::Process(), CbmRichMCbmAerogelAna::RichRings(), CbmRichMCbmQaReal::RichRings(), CbmRichMCbmQaRichOnly::RichRings(), CbmRichGeoOpt::RingParameters(), CbmRichGeoTest::RingParameters(), CbmRichCorrectionVector::RotateAndCopyHitsToRingLight(), and CbmRichPMTMapping::RotateAndCopyHitsToRingLight().
|
inline |
Definition at line 96 of file CbmRichRing.h.
References fNofHitsOnRing.
Referenced by PairAnalysisVarManager::FillVarRichRing(), and Print().
|
inline |
Definition at line 84 of file CbmRichRing.h.
References fPhi.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmRichMCbmDenoiseQa::DrawSED(), PairAnalysisVarManager::FillVarRichRing(), and Print().
double CbmRichRing::GetRadialAngle | ( | ) | const |
Definition at line 192 of file CbmRichRing.cxx.
References fCenterX, and fCenterY.
Referenced by CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), and PairAnalysisVarManager::FillVarRichRing().
float CbmRichRing::GetRadialPosition | ( | ) | const |
Definition at line 184 of file CbmRichRing.cxx.
References fCenterX, fCenterY, and sqrt().
Referenced by CbmRichElectronIdAnn::CalculateAnnValue(), CbmRichTrainAnnElectrons::DiffElandPi(), PairAnalysisVarManager::FillVarRichRing(), and Print().
|
inline |
Definition at line 79 of file CbmRichRing.h.
References fRadius.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmRichMCbmQaRichOnly::analyseRing(), CbmAnaConversionReco::CutEfficiencyStudies(), CbmRichMCbmAerogelAna::cutRadius(), CbmRichMCbmQaReal::cutRadius(), CbmRichMCbmQaRichOnly::cutRadius(), CbmRichMCbmQa::DrawCircle(), CbmRichEventDisplay::DrawEllipse(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaReal::DrawRing(), CbmRichMCbmQaRichOnly::DrawRing(), CbmKFTrackQa::Exec(), CbmKresConversionGeneral::Exec(), CbmL1RichRingQa::Exec(), CbmRichMCbmAerogelAna::Exec(), CbmRichMCbmQa::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMCbmQaRichOnly::Exec(), PairAnalysisVarManager::FillVarRichRing(), CbmRichMCbmQaReal::getBeta(), Print(), CbmRichMCbmDenoiseQa::Process(), CbmRichMCbmAerogelAna::RichRings(), CbmRichMCbmQaReal::RichRings(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 98 of file CbmRichRing.h.
References fRecFlag.
Referenced by CbmRichTrainAnnSelect::DiffFakeTrueCircle().
|
inline |
Definition at line 91 of file CbmRichRing.h.
References fSelectionNN.
Referenced by CbmAnaConversionReco::CutEfficiencyStudies().
|
inline |
Definition at line 99 of file CbmRichRing.h.
References fTime.
Referenced by CbmRichMCbmQaReal::Exec(), CbmRichMCbmDenoiseQa::Process(), CbmRichRecoTbQa::Process(), and CbmRichMCbmQaRichOnly::RichRings().
double CbmRichRing::GetXF1 | ( | ) | const |
double CbmRichRing::GetXF2 | ( | ) | const |
double CbmRichRing::GetYF1 | ( | ) | const |
double CbmRichRing::GetYF2 | ( | ) | const |
|
virtual |
to print ring parameters
Definition at line 175 of file CbmRichRing.cxx.
References GetAaxis(), GetAngle(), GetBaxis(), GetCenterX(), GetCenterY(), GetChi2(), GetNofHits(), GetNofHitsOnRing(), GetPhi(), GetRadialPosition(), and GetRadius().
bool CbmRichRing::RemoveHit | ( | uint32_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 126 of file CbmRichRing.cxx.
References fHitCollection.
|
inline |
Definition at line 55 of file CbmRichRing.h.
References fAaxis.
Referenced by CbmRichConverter::CopyParamsToRing().
|
inline |
Definition at line 57 of file CbmRichRing.h.
References fAaxisCor.
|
inline |
Definition at line 63 of file CbmRichRing.h.
References fAngle.
|
inline |
|
inline |
Definition at line 56 of file CbmRichRing.h.
References fBaxis.
Referenced by CbmRichConverter::CopyParamsToRing().
|
inline |
Definition at line 58 of file CbmRichRing.h.
References fBaxisCor.
|
inline |
Definition at line 46 of file CbmRichRing.h.
References fBPar.
|
inline |
Definition at line 52 of file CbmRichRing.h.
Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 53 of file CbmRichRing.h.
Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 61 of file CbmRichRing.h.
References fChi2.
Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 47 of file CbmRichRing.h.
References fCPar.
|
inline |
Definition at line 48 of file CbmRichRing.h.
References fDPar.
|
inline |
Definition at line 49 of file CbmRichRing.h.
References fEPar.
|
inline |
Definition at line 50 of file CbmRichRing.h.
References fFPar.
|
inline |
Definition at line 64 of file CbmRichRing.h.
References fNofHitsOnRing.
|
inline |
Definition at line 60 of file CbmRichRing.h.
References fPhi.
Referenced by CbmRichConverter::CopyParamsToRing().
|
inline |
Definition at line 54 of file CbmRichRing.h.
References fRadius.
Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().
|
inline |
Definition at line 62 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 66 of file CbmRichRing.h.
References fSelectionNN.
|
inline |
Definition at line 67 of file CbmRichRing.h.
References fTime.
Referenced by CbmRichRingFinderHough::AddRingsToOutputArray().
void CbmRichRing::SetXYABPhi | ( | double | x, |
double | y, | ||
double | a, | ||
double | b, | ||
double | phi ) |
|
protected |
Definition at line 116 of file CbmRichRing.h.
Referenced by GetAaxis(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetAaxis(), and SetXYABPhi().
|
protected |
Definition at line 118 of file CbmRichRing.h.
Referenced by GetAaxisCor(), and SetAaxisCor().
|
protected |
Definition at line 124 of file CbmRichRing.h.
Referenced by GetAngle(), and SetAngle().
|
protected |
STL container to hold the hits
Definition at line 105 of file CbmRichRing.h.
|
protected |
Definition at line 117 of file CbmRichRing.h.
Referenced by GetBaxis(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetBaxis(), and SetXYABPhi().
|
protected |
Definition at line 119 of file CbmRichRing.h.
Referenced by GetBaxisCor(), and SetBaxisCor().
|
protected |
Definition at line 106 of file CbmRichRing.h.
|
protected |
Definition at line 112 of file CbmRichRing.h.
Referenced by GetCenterX(), GetRadialAngle(), GetRadialPosition(), GetXF1(), GetXF2(), SetCenterX(), and SetXYABPhi().
|
protected |
Definition at line 113 of file CbmRichRing.h.
Referenced by GetCenterY(), GetRadialAngle(), GetRadialPosition(), GetYF1(), GetYF2(), SetCenterY(), and SetXYABPhi().
|
protected |
Definition at line 123 of file CbmRichRing.h.
|
protected |
Definition at line 107 of file CbmRichRing.h.
|
protected |
Definition at line 108 of file CbmRichRing.h.
|
protected |
Definition at line 109 of file CbmRichRing.h.
|
protected |
Definition at line 110 of file CbmRichRing.h.
|
private |
Definition at line 102 of file CbmRichRing.h.
Referenced by AddHit(), CbmRichRing(), CbmRichRing(), GetHit(), GetNofHits(), RemoveHit(), and ~CbmRichRing().
|
protected |
Definition at line 125 of file CbmRichRing.h.
Referenced by GetNofHitsOnRing(), and SetNofHitsOnRing().
|
protected |
Definition at line 121 of file CbmRichRing.h.
Referenced by GetPhi(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetPhi(), and SetXYABPhi().
|
protected |
Definition at line 114 of file CbmRichRing.h.
Referenced by GetRadius(), and SetRadius().
|
protected |
Definition at line 129 of file CbmRichRing.h.
Referenced by GetRecFlag(), and SetRecFlag().
|
protected |
Definition at line 127 of file CbmRichRing.h.
Referenced by GetSelectionNN(), and SetSelectionNN().
|
protected |
Definition at line 131 of file CbmRichRing.h.