CbmRoot
CbmRichRing Class Reference

#include <CbmRichRing.h>

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

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
 

Detailed Description

Definition at line 17 of file CbmRichRing.h.

Constructor & Destructor Documentation

◆ CbmRichRing() [1/2]

CbmRichRing::CbmRichRing ( )

Default constructor

Definition at line 51 of file CbmRichRing.cxx.

References fHitCollection.

◆ CbmRichRing() [2/2]

CbmRichRing::CbmRichRing ( Float_t  x,
Float_t  y,
Float_t  r 
)

Constructor with arguments

Parameters
xx Position of ring center [cm]
yy Position of ring center [cm]
rradius of ring [cm]

Definition at line 80 of file CbmRichRing.cxx.

References fHitCollection.

◆ ~CbmRichRing()

CbmRichRing::~CbmRichRing ( )
virtual

Destructor

Definition at line 109 of file CbmRichRing.cxx.

References fHitCollection.

Member Function Documentation

◆ AddHit()

void CbmRichRing::AddHit ( UInt_t  pHit)
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().

◆ GetAaxis()

◆ GetAaxisCor()

Double_t CbmRichRing::GetAaxisCor ( ) const
inline

Definition at line 85 of file CbmRichRing.h.

References fAaxisCor.

◆ GetAngle()

Double_t CbmRichRing::GetAngle ( ) const
inline

Definition at line 98 of file CbmRichRing.h.

References fAngle.

Referenced by CbmAnaConversionRich::AnalyseRICHdata(), and Print().

◆ GetAPar()

Double_t CbmRichRing::GetAPar ( ) const
inline

Accessors

Definition at line 73 of file CbmRichRing.h.

References fAPar.

◆ GetBaxis()

◆ GetBaxisCor()

Double_t CbmRichRing::GetBaxisCor ( ) const
inline

Definition at line 86 of file CbmRichRing.h.

References fBaxisCor.

◆ GetBPar()

Double_t CbmRichRing::GetBPar ( ) const
inline

Definition at line 74 of file CbmRichRing.h.

References fBPar.

◆ GetCenterX()

◆ GetCenterY()

◆ GetChi2()

◆ GetCPar()

Double_t CbmRichRing::GetCPar ( ) const
inline

Definition at line 75 of file CbmRichRing.h.

References fCPar.

◆ GetDPar()

Double_t CbmRichRing::GetDPar ( ) const
inline

Definition at line 76 of file CbmRichRing.h.

References fDPar.

◆ GetEPar()

Double_t CbmRichRing::GetEPar ( ) const
inline

Definition at line 77 of file CbmRichRing.h.

References fEPar.

◆ GetFPar()

Double_t CbmRichRing::GetFPar ( ) const
inline

Definition at line 78 of file CbmRichRing.h.

References fFPar.

◆ GetHit()

◆ GetNDF()

Double_t CbmRichRing::GetNDF ( ) const
inline

◆ GetNofHits()

Int_t CbmRichRing::GetNofHits ( ) const
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().

◆ GetNofHitsOnRing()

Int_t CbmRichRing::GetNofHitsOnRing ( ) const
inline

Definition at line 99 of file CbmRichRing.h.

References fNofHitsOnRing.

Referenced by PairAnalysisVarManager::FillVarRichRing(), and Print().

◆ GetPhi()

◆ GetRadialAngle()

Double_t CbmRichRing::GetRadialAngle ( ) const

◆ GetRadialPosition()

Float_t CbmRichRing::GetRadialPosition ( ) const

◆ GetRadius()

◆ GetRecFlag()

Int_t CbmRichRing::GetRecFlag ( ) const
inline

Definition at line 101 of file CbmRichRing.h.

References fRecFlag.

Referenced by CbmRichTrainAnnSelect::DiffFakeTrueCircle().

◆ GetSelectionNN()

Double_t CbmRichRing::GetSelectionNN ( ) const
inline

Definition at line 94 of file CbmRichRing.h.

References fSelectionNN.

Referenced by CbmAnaConversionReco::CutEfficiencyStudies().

◆ GetTime()

Double_t CbmRichRing::GetTime ( ) const
inline

◆ GetXF1()

Double_t CbmRichRing::GetXF1 ( ) const

Definition at line 136 of file CbmRichRing.cxx.

References cos(), fAaxis, fabs(), fBaxis, fCenterX, fPhi, and sqrt().

◆ GetXF2()

Double_t CbmRichRing::GetXF2 ( ) const

Definition at line 153 of file CbmRichRing.cxx.

References cos(), fAaxis, fabs(), fBaxis, fCenterX, fPhi, and sqrt().

◆ GetYF1()

Double_t CbmRichRing::GetYF1 ( ) const

Definition at line 143 of file CbmRichRing.cxx.

References fAaxis, fabs(), fBaxis, fCenterY, fPhi, sin(), and sqrt().

◆ GetYF2()

Double_t CbmRichRing::GetYF2 ( ) const

Definition at line 160 of file CbmRichRing.cxx.

References fAaxis, fabs(), fBaxis, fCenterY, fPhi, sin(), and sqrt().

◆ Print()

void CbmRichRing::Print ( Option_t *  opt = "") const
virtual

◆ RemoveHit()

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.

◆ SetAaxis()

void CbmRichRing::SetAaxis ( Double_t  a)
inline

Definition at line 58 of file CbmRichRing.h.

References fAaxis.

Referenced by CbmRichConverter::CopyParamsToRing().

◆ SetAaxisCor()

void CbmRichRing::SetAaxisCor ( Double_t  a)
inline

Definition at line 60 of file CbmRichRing.h.

References fAaxisCor.

◆ SetAngle()

void CbmRichRing::SetAngle ( Double_t  angle)
inline

Definition at line 66 of file CbmRichRing.h.

References fAngle.

◆ SetAPar()

void CbmRichRing::SetAPar ( Double_t  a)
inline

Modifiers

Definition at line 48 of file CbmRichRing.h.

References fAPar.

◆ SetBaxis()

void CbmRichRing::SetBaxis ( Double_t  b)
inline

Definition at line 59 of file CbmRichRing.h.

References fBaxis.

Referenced by CbmRichConverter::CopyParamsToRing().

◆ SetBaxisCor()

void CbmRichRing::SetBaxisCor ( Double_t  b)
inline

Definition at line 61 of file CbmRichRing.h.

References fBaxisCor.

◆ SetBPar()

void CbmRichRing::SetBPar ( Double_t  b)
inline

Definition at line 49 of file CbmRichRing.h.

References fBPar.

◆ SetCenterX()

void CbmRichRing::SetCenterX ( Float_t  x)
inline

Definition at line 55 of file CbmRichRing.h.

References fCenterX, and x.

Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().

◆ SetCenterY()

void CbmRichRing::SetCenterY ( Float_t  y)
inline

Definition at line 56 of file CbmRichRing.h.

References fCenterY, and y.

Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().

◆ SetChi2()

void CbmRichRing::SetChi2 ( Double_t  chi2)
inline

Definition at line 64 of file CbmRichRing.h.

References fChi2.

Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().

◆ SetCPar()

void CbmRichRing::SetCPar ( Double_t  c)
inline

Definition at line 50 of file CbmRichRing.h.

References fCPar.

◆ SetDPar()

void CbmRichRing::SetDPar ( Double_t  d)
inline

Definition at line 51 of file CbmRichRing.h.

References d, and fDPar.

◆ SetEPar()

void CbmRichRing::SetEPar ( Double_t  e)
inline

Definition at line 52 of file CbmRichRing.h.

References fEPar.

◆ SetFPar()

void CbmRichRing::SetFPar ( Double_t  f)
inline

Definition at line 53 of file CbmRichRing.h.

References f, and fFPar.

◆ SetNofHitsOnRing()

void CbmRichRing::SetNofHitsOnRing ( Int_t  onring)
inline

Definition at line 67 of file CbmRichRing.h.

References fNofHitsOnRing.

◆ SetPhi()

void CbmRichRing::SetPhi ( Double_t  phi)
inline

Definition at line 63 of file CbmRichRing.h.

References fPhi.

Referenced by CbmRichConverter::CopyParamsToRing().

◆ SetRadius()

void CbmRichRing::SetRadius ( Float_t  r)
inline

Definition at line 57 of file CbmRichRing.h.

References fRadius.

Referenced by CbmRichConverter::CopyParamsToRing(), and CbmL1RichENNRingFinderParallel::DoFind().

◆ SetRecFlag()

void CbmRichRing::SetRecFlag ( Int_t  recflag)
inline

Definition at line 65 of file CbmRichRing.h.

References fRecFlag.

Referenced by CbmRichTrainAnnSelect::SetRecFlag().

◆ SetSelectionNN()

void CbmRichRing::SetSelectionNN ( Double_t  selectionNN)
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.

◆ SetTime()

void CbmRichRing::SetTime ( Double_t  time)
inline

Definition at line 70 of file CbmRichRing.h.

References fTime.

Referenced by CbmRichRingFinderHough::AddRingsToOutputArray().

◆ SetXYABPhi()

void CbmRichRing::SetXYABPhi ( Double_t  x,
Double_t  y,
Double_t  a,
Double_t  b,
Double_t  phi 
)

Definition at line 112 of file CbmRichRing.cxx.

References fAaxis, fBaxis, fCenterX, fCenterY, fPhi, x, and y.

Member Data Documentation

◆ fAaxis

Double_t CbmRichRing::fAaxis
protected

Definition at line 119 of file CbmRichRing.h.

Referenced by GetAaxis(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetAaxis(), and SetXYABPhi().

◆ fAaxisCor

Double_t CbmRichRing::fAaxisCor
protected

Definition at line 121 of file CbmRichRing.h.

Referenced by GetAaxisCor(), and SetAaxisCor().

◆ fAngle

Double_t CbmRichRing::fAngle
protected

Definition at line 127 of file CbmRichRing.h.

Referenced by GetAngle(), and SetAngle().

◆ fAPar

Double_t CbmRichRing::fAPar
protected

STL container to hold the hits

Definition at line 108 of file CbmRichRing.h.

Referenced by GetAPar(), and SetAPar().

◆ fBaxis

Double_t CbmRichRing::fBaxis
protected

Definition at line 120 of file CbmRichRing.h.

Referenced by GetBaxis(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetBaxis(), and SetXYABPhi().

◆ fBaxisCor

Double_t CbmRichRing::fBaxisCor
protected

Definition at line 122 of file CbmRichRing.h.

Referenced by GetBaxisCor(), and SetBaxisCor().

◆ fBPar

Double_t CbmRichRing::fBPar
protected

Definition at line 109 of file CbmRichRing.h.

Referenced by GetBPar(), and SetBPar().

◆ fCenterX

Float_t CbmRichRing::fCenterX
protected

◆ fCenterY

Float_t CbmRichRing::fCenterY
protected

◆ fChi2

Double_t CbmRichRing::fChi2
protected

Definition at line 126 of file CbmRichRing.h.

Referenced by GetChi2(), and SetChi2().

◆ fCPar

Double_t CbmRichRing::fCPar
protected

Definition at line 110 of file CbmRichRing.h.

Referenced by GetCPar(), and SetCPar().

◆ fDPar

Double_t CbmRichRing::fDPar
protected

Definition at line 111 of file CbmRichRing.h.

Referenced by GetDPar(), and SetDPar().

◆ fEPar

Double_t CbmRichRing::fEPar
protected

Definition at line 112 of file CbmRichRing.h.

Referenced by GetEPar(), and SetEPar().

◆ fFPar

Double_t CbmRichRing::fFPar
protected

Definition at line 113 of file CbmRichRing.h.

Referenced by GetFPar(), and SetFPar().

◆ fHitCollection

std::vector<UInt_t> CbmRichRing::fHitCollection
private

Definition at line 105 of file CbmRichRing.h.

Referenced by AddHit(), CbmRichRing(), GetHit(), GetNofHits(), RemoveHit(), and ~CbmRichRing().

◆ fNofHitsOnRing

Int_t CbmRichRing::fNofHitsOnRing
protected

Definition at line 128 of file CbmRichRing.h.

Referenced by GetNofHitsOnRing(), and SetNofHitsOnRing().

◆ fPhi

Double_t CbmRichRing::fPhi
protected

Definition at line 124 of file CbmRichRing.h.

Referenced by GetPhi(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetPhi(), and SetXYABPhi().

◆ fRadius

Float_t CbmRichRing::fRadius
protected

Definition at line 117 of file CbmRichRing.h.

Referenced by GetRadius(), and SetRadius().

◆ fRecFlag

Int_t CbmRichRing::fRecFlag
protected

Definition at line 132 of file CbmRichRing.h.

Referenced by GetRecFlag(), and SetRecFlag().

◆ fSelectionNN

Double_t CbmRichRing::fSelectionNN
protected

Definition at line 130 of file CbmRichRing.h.

Referenced by GetSelectionNN(), and SetSelectionNN().

◆ fTime

Double_t CbmRichRing::fTime
protected

Definition at line 134 of file CbmRichRing.h.

Referenced by GetTime(), and SetTime().


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