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

#include <CbmRichRing.h>

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

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
 

Detailed Description

Definition at line 14 of file CbmRichRing.h.

Constructor & Destructor Documentation

◆ CbmRichRing() [1/2]

CbmRichRing::CbmRichRing ( )

Default constructor

Definition at line 54 of file CbmRichRing.cxx.

References fHitCollection.

◆ CbmRichRing() [2/2]

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

Constructor with arguments

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

Definition at line 84 of file CbmRichRing.cxx.

References fHitCollection.

◆ ~CbmRichRing()

CbmRichRing::~CbmRichRing ( )
virtual

Destructor

Definition at line 114 of file CbmRichRing.cxx.

References fHitCollection.

Member Function Documentation

◆ AddHit()

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

◆ GetAaxis()

◆ GetAaxisCor()

double CbmRichRing::GetAaxisCor ( ) const
inline

Definition at line 82 of file CbmRichRing.h.

References fAaxisCor.

◆ GetAngle()

double CbmRichRing::GetAngle ( ) const
inline

Definition at line 95 of file CbmRichRing.h.

References fAngle.

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

◆ GetAPar()

double CbmRichRing::GetAPar ( ) const
inline

Accessors

Definition at line 70 of file CbmRichRing.h.

References fAPar.

◆ GetBaxis()

◆ GetBaxisCor()

double CbmRichRing::GetBaxisCor ( ) const
inline

Definition at line 83 of file CbmRichRing.h.

References fBaxisCor.

◆ GetBPar()

double CbmRichRing::GetBPar ( ) const
inline

Definition at line 71 of file CbmRichRing.h.

References fBPar.

◆ GetCenterX()

◆ GetCenterY()

◆ GetChi2()

◆ GetCPar()

double CbmRichRing::GetCPar ( ) const
inline

Definition at line 72 of file CbmRichRing.h.

References fCPar.

◆ GetDPar()

double CbmRichRing::GetDPar ( ) const
inline

Definition at line 73 of file CbmRichRing.h.

References fDPar.

◆ GetEPar()

double CbmRichRing::GetEPar ( ) const
inline

Definition at line 74 of file CbmRichRing.h.

References fEPar.

◆ GetFPar()

double CbmRichRing::GetFPar ( ) const
inline

Definition at line 75 of file CbmRichRing.h.

References fFPar.

◆ GetHit()

uint32_t CbmRichRing::GetHit ( int32_t i) const
inline

◆ GetNDF()

double CbmRichRing::GetNDF ( ) const
inline

◆ GetNofHits()

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

◆ GetNofHitsOnRing()

int32_t CbmRichRing::GetNofHitsOnRing ( ) const
inline

Definition at line 96 of file CbmRichRing.h.

References fNofHitsOnRing.

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

◆ GetPhi()

◆ GetRadialAngle()

double CbmRichRing::GetRadialAngle ( ) const

◆ GetRadialPosition()

float CbmRichRing::GetRadialPosition ( ) const

◆ GetRadius()

◆ GetRecFlag()

int32_t CbmRichRing::GetRecFlag ( ) const
inline

Definition at line 98 of file CbmRichRing.h.

References fRecFlag.

Referenced by CbmRichTrainAnnSelect::DiffFakeTrueCircle().

◆ GetSelectionNN()

double CbmRichRing::GetSelectionNN ( ) const
inline

Definition at line 91 of file CbmRichRing.h.

References fSelectionNN.

Referenced by CbmAnaConversionReco::CutEfficiencyStudies().

◆ GetTime()

double CbmRichRing::GetTime ( ) const
inline

◆ GetXF1()

double CbmRichRing::GetXF1 ( ) const

Definition at line 139 of file CbmRichRing.cxx.

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

◆ GetXF2()

double CbmRichRing::GetXF2 ( ) const

Definition at line 157 of file CbmRichRing.cxx.

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

◆ GetYF1()

double CbmRichRing::GetYF1 ( ) const

Definition at line 147 of file CbmRichRing.cxx.

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

◆ GetYF2()

double CbmRichRing::GetYF2 ( ) const

Definition at line 165 of file CbmRichRing.cxx.

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

◆ Print()

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

◆ RemoveHit()

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.

◆ SetAaxis()

void CbmRichRing::SetAaxis ( double a)
inline

Definition at line 55 of file CbmRichRing.h.

References fAaxis.

Referenced by CbmRichConverter::CopyParamsToRing().

◆ SetAaxisCor()

void CbmRichRing::SetAaxisCor ( double a)
inline

Definition at line 57 of file CbmRichRing.h.

References fAaxisCor.

◆ SetAngle()

void CbmRichRing::SetAngle ( double angle)
inline

Definition at line 63 of file CbmRichRing.h.

References fAngle.

◆ SetAPar()

void CbmRichRing::SetAPar ( double a)
inline

Modifiers

Definition at line 45 of file CbmRichRing.h.

References fAPar.

◆ SetBaxis()

void CbmRichRing::SetBaxis ( double b)
inline

Definition at line 56 of file CbmRichRing.h.

References fBaxis.

Referenced by CbmRichConverter::CopyParamsToRing().

◆ SetBaxisCor()

void CbmRichRing::SetBaxisCor ( double b)
inline

Definition at line 58 of file CbmRichRing.h.

References fBaxisCor.

◆ SetBPar()

void CbmRichRing::SetBPar ( double b)
inline

Definition at line 46 of file CbmRichRing.h.

References fBPar.

◆ SetCenterX()

void CbmRichRing::SetCenterX ( float x)
inline

Definition at line 52 of file CbmRichRing.h.

References fCenterX, and x.

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

◆ SetCenterY()

void CbmRichRing::SetCenterY ( float y)
inline

Definition at line 53 of file CbmRichRing.h.

References fCenterY, and y.

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

◆ SetChi2()

void CbmRichRing::SetChi2 ( double chi2)
inline

Definition at line 61 of file CbmRichRing.h.

References fChi2.

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

◆ SetCPar()

void CbmRichRing::SetCPar ( double c)
inline

Definition at line 47 of file CbmRichRing.h.

References fCPar.

◆ SetDPar()

void CbmRichRing::SetDPar ( double d)
inline

Definition at line 48 of file CbmRichRing.h.

References fDPar.

◆ SetEPar()

void CbmRichRing::SetEPar ( double e)
inline

Definition at line 49 of file CbmRichRing.h.

References fEPar.

◆ SetFPar()

void CbmRichRing::SetFPar ( double f)
inline

Definition at line 50 of file CbmRichRing.h.

References fFPar.

◆ SetNofHitsOnRing()

void CbmRichRing::SetNofHitsOnRing ( int32_t onring)
inline

Definition at line 64 of file CbmRichRing.h.

References fNofHitsOnRing.

◆ SetPhi()

void CbmRichRing::SetPhi ( double phi)
inline

Definition at line 60 of file CbmRichRing.h.

References fPhi.

Referenced by CbmRichConverter::CopyParamsToRing().

◆ SetRadius()

void CbmRichRing::SetRadius ( float r)
inline

Definition at line 54 of file CbmRichRing.h.

References fRadius.

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

◆ SetRecFlag()

void CbmRichRing::SetRecFlag ( int32_t recflag)
inline

Definition at line 62 of file CbmRichRing.h.

References fRecFlag.

Referenced by CbmRichTrainAnnSelect::SetRecFlag().

◆ SetSelectionNN()

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

◆ SetTime()

void CbmRichRing::SetTime ( double time)
inline

Definition at line 67 of file CbmRichRing.h.

References fTime.

Referenced by CbmRichRingFinderHough::AddRingsToOutputArray().

◆ SetXYABPhi()

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

Definition at line 117 of file CbmRichRing.cxx.

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

Member Data Documentation

◆ fAaxis

double CbmRichRing::fAaxis
protected

Definition at line 116 of file CbmRichRing.h.

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

◆ fAaxisCor

double CbmRichRing::fAaxisCor
protected

Definition at line 118 of file CbmRichRing.h.

Referenced by GetAaxisCor(), and SetAaxisCor().

◆ fAngle

double CbmRichRing::fAngle
protected

Definition at line 124 of file CbmRichRing.h.

Referenced by GetAngle(), and SetAngle().

◆ fAPar

double CbmRichRing::fAPar
protected

STL container to hold the hits

Definition at line 105 of file CbmRichRing.h.

Referenced by GetAPar(), and SetAPar().

◆ fBaxis

double CbmRichRing::fBaxis
protected

Definition at line 117 of file CbmRichRing.h.

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

◆ fBaxisCor

double CbmRichRing::fBaxisCor
protected

Definition at line 119 of file CbmRichRing.h.

Referenced by GetBaxisCor(), and SetBaxisCor().

◆ fBPar

double CbmRichRing::fBPar
protected

Definition at line 106 of file CbmRichRing.h.

Referenced by GetBPar(), and SetBPar().

◆ fCenterX

float CbmRichRing::fCenterX
protected

◆ fCenterY

float CbmRichRing::fCenterY
protected

◆ fChi2

double CbmRichRing::fChi2
protected

Definition at line 123 of file CbmRichRing.h.

Referenced by GetChi2(), and SetChi2().

◆ fCPar

double CbmRichRing::fCPar
protected

Definition at line 107 of file CbmRichRing.h.

Referenced by GetCPar(), and SetCPar().

◆ fDPar

double CbmRichRing::fDPar
protected

Definition at line 108 of file CbmRichRing.h.

Referenced by GetDPar(), and SetDPar().

◆ fEPar

double CbmRichRing::fEPar
protected

Definition at line 109 of file CbmRichRing.h.

Referenced by GetEPar(), and SetEPar().

◆ fFPar

double CbmRichRing::fFPar
protected

Definition at line 110 of file CbmRichRing.h.

Referenced by GetFPar(), and SetFPar().

◆ fHitCollection

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

◆ fNofHitsOnRing

int32_t CbmRichRing::fNofHitsOnRing
protected

Definition at line 125 of file CbmRichRing.h.

Referenced by GetNofHitsOnRing(), and SetNofHitsOnRing().

◆ fPhi

double CbmRichRing::fPhi
protected

Definition at line 121 of file CbmRichRing.h.

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

◆ fRadius

float CbmRichRing::fRadius
protected

Definition at line 114 of file CbmRichRing.h.

Referenced by GetRadius(), and SetRadius().

◆ fRecFlag

int32_t CbmRichRing::fRecFlag
protected

Definition at line 129 of file CbmRichRing.h.

Referenced by GetRecFlag(), and SetRecFlag().

◆ fSelectionNN

double CbmRichRing::fSelectionNN
protected

Definition at line 127 of file CbmRichRing.h.

Referenced by GetSelectionNN(), and SetSelectionNN().

◆ fTime

double CbmRichRing::fTime
protected

Definition at line 131 of file CbmRichRing.h.

Referenced by GetTime(), and SetTime().


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