CbmRoot
|
#include <CbmRichRingLight.h>
Public Member Functions | |
CbmRichRingLight () | |
Standard constructor. | |
virtual | ~CbmRichRingLight () |
Destructor. | |
void | AddHit (CbmRichHitLight hit) |
Add new hit to the ring. | |
bool | RemoveHit (int hitId) |
Remove hit from the ring. | |
int | GetNofHits () const |
Return number of hits in ring. | |
CbmRichHitLight | GetHit (int ind) |
Return hit by the index. | |
unsigned int | GetHitId (int ind) |
Return hit index in TClonesArray. | |
void | SetCenterX (float x) |
void | SetCenterY (float y) |
void | SetRadius (float r) |
void | SetXYR (float x, float y, float r) |
Set all 3 circle parameters. | |
void | SetXYABP (float x, float y, float a, float b, float p) |
Set all 5 ellipse parameters. | |
void | SetChi2 (float chi2) |
void | SetAngle (float angle) |
void | SetNofHitsOnRing (unsigned short onring) |
void | SetSelectionNN (float selectionNN) |
float | GetCenterX () const |
float | GetCenterY () const |
float | GetRadius () const |
float | GetAaxis () const |
float | GetBaxis () const |
float | GetPhi () const |
void | SetAaxis (double a) |
void | SetBaxis (double b) |
void | SetPhi (double phi) |
double | GetXF1 () const |
Calculate and return X coordinate of the first focus. | |
double | GetYF1 () const |
Calculate and return Y coordinate of the first focus. | |
double | GetXF2 () const |
Calculate and return X coordinate of the second focus. | |
double | GetYF2 () const |
Calculate and return Y coordinate of the second focus. | |
void | SetABCDEF (float a, float b, float c, float d, float e, float f) |
Set all 6 parameters of curve equation Axx+Bxy+Cyy+Dx+Ey+F. | |
float | GetAPar () const |
float | GetBPar () const |
float | GetCPar () const |
float | GetDPar () const |
float | GetEPar () const |
float | GetFPar () const |
float | GetSelectionNN () const |
float | GetChi2 () const |
float | GetRadialPosition () const |
Return radial position of the ring. | |
float | GetAngle () const |
unsigned short | GetNofHitsOnRing () const |
int | GetRecFlag () const |
void | SetRecFlag (int r) |
Private Attributes | |
std::vector< CbmRichHitLight > | fHits |
float | fCenterX |
float | fCenterY |
float | fRadius |
float | fAaxis |
float | fBaxis |
float | fPhi |
float | fAPar |
float | fBPar |
float | fCPar |
float | fDPar |
float | fEPar |
float | fFPar |
int | fRecFlag |
float | fChi2 |
float | fAngle |
unsigned short | fNofHitsOnRing |
float | fSelectionNN |
Definition at line 42 of file CbmRichRingLight.h.
|
inline |
|
inlinevirtual |
|
inline |
Add new hit to the ring.
[in] | hit | New hit to be added. |
Definition at line 90 of file CbmRichRingLight.h.
References fHits.
Referenced by CbmKresConversionCorrectedPhotons::CheckIfElectron(), CbmKresConversionKF::CheckIfElectron(), CbmKresConversionManual::CheckIfElectron(), CbmKresConversionManualmbias1::CheckIfElectron(), CbmKresConversionManualmbias2::CheckIfElectron(), CbmKresConversionManualmbias3::CheckIfElectron(), CbmKresConversionManualmbias4::CheckIfElectron(), CbmKresConversionPhotons::CheckIfElectron(), CbmKresEta::CheckIfElectron(), CbmRichConverter::CopyHitsToRingLight(), CbmRichConverter::CopyHitsToRingLight(), CbmRichGeoTest::CreateRingLightWithPoints(), CbmKresConversionGeneral::Exec(), CbmRichRingFinderHoughImpl::FindPeak(), CbmRichRingFitterQa::GenerateEllipse(), CbmRichCorrectionVector::RotateAndCopyHitsToRingLight(), and CbmRichPMTMapping::RotateAndCopyHitsToRingLight().
|
inline |
Definition at line 169 of file CbmRichRingLight.h.
References fAaxis.
Referenced by CbmLitMCTrackCreator::AddRingParameters(), CbmRichRingFitterEllipseBase::CalcChi2(), CbmKresConversionCorrectedPhotons::CheckIfElectron(), CbmKresConversionKF::CheckIfElectron(), CbmKresConversionManual::CheckIfElectron(), CbmKresConversionManualmbias1::CheckIfElectron(), CbmKresConversionManualmbias2::CheckIfElectron(), CbmKresConversionManualmbias3::CheckIfElectron(), CbmKresConversionManualmbias4::CheckIfElectron(), CbmKresConversionPhotons::CheckIfElectron(), CbmKresEta::CheckIfElectron(), CbmRichConverter::CopyParamsToRing(), CbmRichRadiusCorrection::DoCorrection(), CbmKresConversionGeneral::Exec(), CbmRichGeoTest::FillMcVsHitFitEllipse(), CbmRichGeoTest::FitAndFillHistEllipse(), CbmRichRingFitterQa::GenerateEllipse(), CbmRichGeoTest::RingParameters(), and CbmRichRingFitterEllipseTau::TransformEllipse().
|
inline |
Definition at line 265 of file CbmRichRingLight.h.
References fAngle.
Referenced by CbmRichRingSelectAnn::DoSelect().
|
inline |
Definition at line 243 of file CbmRichRingLight.h.
References fAPar.
|
inline |
Definition at line 170 of file CbmRichRingLight.h.
References fBaxis.
Referenced by CbmLitMCTrackCreator::AddRingParameters(), CbmRichRingFitterEllipseBase::CalcChi2(), CbmKresConversionCorrectedPhotons::CheckIfElectron(), CbmKresConversionKF::CheckIfElectron(), CbmKresConversionManual::CheckIfElectron(), CbmKresConversionManualmbias1::CheckIfElectron(), CbmKresConversionManualmbias2::CheckIfElectron(), CbmKresConversionManualmbias3::CheckIfElectron(), CbmKresConversionManualmbias4::CheckIfElectron(), CbmKresConversionPhotons::CheckIfElectron(), CbmKresEta::CheckIfElectron(), CbmRichConverter::CopyParamsToRing(), CbmRichRadiusCorrection::DoCorrection(), CbmKresConversionGeneral::Exec(), CbmRichGeoTest::FillMcVsHitFitEllipse(), CbmRichGeoTest::FitAndFillHistEllipse(), CbmRichRingFitterQa::GenerateEllipse(), CbmRichGeoTest::RingParameters(), and CbmRichRingFitterEllipseTau::TransformEllipse().
|
inline |
Definition at line 244 of file CbmRichRingLight.h.
References fBPar.
|
inline |
Definition at line 165 of file CbmRichRingLight.h.
References fCenterX.
Referenced by CbmLitMCTrackCreator::AddRingParameters(), CbmRichRingFitterBase::CalcChi2(), CbmRichAlignment::CalculateAnglesAndDrawDistrib(), CbmRichCorrectionVector::CalculateAnglesAndDrawDistrib(), CbmRichRingFitterQa::CalculateFitErrors(), CbmRichConverter::CopyParamsToRing(), CbmRichMirrorSortingAlignment::CreateHistoMap(), CbmRichRadiusCorrection::DoCorrection(), CbmRichGeoTest::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichMirrorSortingAlignment::Exec(), CbmRichMirrorSortingCorrection::Exec(), CbmRichCorrection::FillHistProjection(), CbmRichCorrectionVector::FillHistProjection(), CbmRichMirrorSortingCorrection::FillHistProjection(), CbmRichGeoTest::FillMcVsHitFitCircle(), CbmRichGeoTest::FillMcVsHitFitEllipse(), CbmRichRingFinderHoughImpl::FindPeak(), CbmRichGeoTest::FitAndFillHistCircle(), CbmRichGeoTest::FitAndFillHistEllipse(), CbmRichRingFitterQa::GenerateEllipse(), CbmRichRingSelectImpl::GetAngle(), CbmRichRingSelectImpl::GetNofHitsOnRingCircle(), CbmRichCorrectionVector::MatchFinder(), CbmRichPMTMapping::MatchFinder(), CbmRichPMTMapping::ProjectionProducer(), CbmRichPMTMapping::ProjectionProducer2(), CbmRichRingFinderHoughImpl::ReAssignSharedHits(), CbmRichRingFinderHoughImpl::RemoveHitsAroundRing(), and CbmRichGeoTest::RingParameters().
|
inline |
Definition at line 166 of file CbmRichRingLight.h.
References fCenterY.
Referenced by CbmLitMCTrackCreator::AddRingParameters(), CbmRichRingFitterBase::CalcChi2(), CbmRichAlignment::CalculateAnglesAndDrawDistrib(), CbmRichCorrectionVector::CalculateAnglesAndDrawDistrib(), CbmRichRingFitterQa::CalculateFitErrors(), CbmRichConverter::CopyParamsToRing(), CbmRichMirrorSortingAlignment::CreateHistoMap(), CbmRichRadiusCorrection::DoCorrection(), CbmRichGeoTest::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichMirrorSortingAlignment::Exec(), CbmRichMirrorSortingCorrection::Exec(), CbmRichCorrection::FillHistProjection(), CbmRichCorrectionVector::FillHistProjection(), CbmRichMirrorSortingCorrection::FillHistProjection(), CbmRichGeoTest::FillMcVsHitFitCircle(), CbmRichGeoTest::FillMcVsHitFitEllipse(), CbmRichRingFinderHoughImpl::FindPeak(), CbmRichGeoTest::FitAndFillHistCircle(), CbmRichGeoTest::FitAndFillHistEllipse(), CbmRichRingFitterQa::GenerateEllipse(), CbmRichRingSelectImpl::GetAngle(), CbmRichRingSelectImpl::GetNofHitsOnRingCircle(), CbmRichCorrectionVector::MatchFinder(), CbmRichPMTMapping::MatchFinder(), CbmRichPMTMapping::ProjectionProducer(), CbmRichPMTMapping::ProjectionProducer2(), CbmRichRingFinderHoughImpl::ReAssignSharedHits(), CbmRichRingFinderHoughImpl::RemoveHitsAroundRing(), and CbmRichGeoTest::RingParameters().
|
inline |
Definition at line 251 of file CbmRichRingLight.h.
References fChi2.
Referenced by CbmRichConverter::CopyParamsToRing(), CbmRichTrainAnnSelect::DiffFakeTrueCircle(), CbmRichRingSelectAnn::DoSelect(), CbmRichRingFinderHoughImpl::FindPeak(), CbmRichGeoTest::FitAndFillHistCircle(), CbmRichGeoTest::FitAndFillHistEllipse(), and CbmRichRingFinderHoughImpl::RemoveHitsAroundRing().
|
inline |
Definition at line 245 of file CbmRichRingLight.h.
References fCPar.
|
inline |
Definition at line 246 of file CbmRichRingLight.h.
References fDPar.
|
inline |
Definition at line 247 of file CbmRichRingLight.h.
References fEPar.
|
inline |
Definition at line 248 of file CbmRichRingLight.h.
References fFPar.
|
inline |
Return hit by the index.
[in] | ind | Index of hit in local array. |
Definition at line 118 of file CbmRichRingLight.h.
References fHits.
Referenced by CbmRichRingFitterBase::CalcChi2(), CbmRichRingFitterEllipseBase::CalcChi2(), CbmRichRingFitterEllipseBase::CalcChi2(), CbmRichRingFitterQa::CalculateFitErrors(), CbmRichMirrorSortingAlignment::CreateHistoMap(), CbmRichRingFitterCircle::DoFit(), CbmRichRingFitterEllipseMinuit::DoFit(), CbmRichRingFitterRobustCOP::DoFit(), CbmRichRingFitterTAU::DoFit(), CbmRichGeoTest::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichGeoTest::FitAndFillHistCircle(), CbmRichRingFitterCOP::FitRing(), CbmRichRingSelectImpl::GetAngle(), CbmRichRingSelectImpl::GetNofHitsOnRingCircle(), CbmRichRingFitterEllipseTau::InitMatrices(), and CbmRichGeoTest::RingParameters().
|
inline |
Return hit index in TClonesArray.
[in] | ind | Index of hit in local array. |
Definition at line 124 of file CbmRichRingLight.h.
References fHits.
Referenced by CbmRichRingFinderHoughImpl::ReAssignSharedHits(), and CbmRichRingFinderHoughImpl::RingSelection().
|
inline |
Return number of hits in ring.
Definition at line 112 of file CbmRichRingLight.h.
References fHits.
Referenced by CbmRichRingFitterBase::CalcChi2(), CbmRichRingFitterEllipseBase::CalcChi2(), CbmRichRingFitterEllipseBase::CalcChi2(), CbmRichAlignment::CalculateAnglesAndDrawDistrib(), CbmRichCorrectionVector::CalculateAnglesAndDrawDistrib(), CbmRichRingFitterQa::CalculateFitErrors(), CbmRichMirrorSortingAlignment::CreateHistoMap(), CbmRichTrainAnnSelect::DiffFakeTrueCircle(), CbmRichRingFitterCircle::DoFit(), CbmRichRingFitterEllipseMinuit::DoFit(), CbmRichRingFitterEllipseTau::DoFit(), CbmRichRingFitterRobustCOP::DoFit(), CbmRichRingFitterTAU::DoFit(), CbmRichRingSelectAnn::DoSelect(), CbmRichGeoTest::DrawRing(), CbmKresConversionGeneral::Exec(), CbmRichGeoTest::FillMcVsHitFitCircle(), CbmRichGeoTest::FillMcVsHitFitEllipse(), CbmRichRingFinderHoughImpl::FindPeak(), CbmRichGeoTest::FitAndFillHistCircle(), CbmRichGeoTest::FitAndFillHistEllipse(), CbmRichRingFitterCOP::FitRing(), CbmRichRingSelectImpl::GetAngle(), CbmRichRingSelectImpl::GetNofHitsOnRingCircle(), CbmRichRingFitterEllipseTau::InitMatrices(), CbmRichRingFinderHoughImpl::ReAssignSharedHits(), CbmRichRingFinderHoughImpl::RemoveHitsAroundRing(), CbmRichGeoTest::RingParameters(), and CbmRichRingFinderHoughImpl::RingSelection().
|
inline |
Definition at line 267 of file CbmRichRingLight.h.
References fNofHitsOnRing.
Referenced by CbmRichRingSelectAnn::DoSelect().
|
inline |
Definition at line 171 of file CbmRichRingLight.h.
References fPhi.
Referenced by CbmRichConverter::CopyParamsToRing(), CbmKresConversionGeneral::Exec(), CbmRichRingFitterQa::GenerateEllipse(), and CbmRichRingFitterEllipseTau::TransformEllipse().
|
inline |
Return radial position of the ring.
Definition at line 256 of file CbmRichRingLight.h.
References fCenterX, fCenterY, and sqrt().
Referenced by CbmRichTrainAnnSelect::DiffFakeTrueCircle(), and CbmRichRingSelectAnn::DoSelect().
|
inline |
Definition at line 167 of file CbmRichRingLight.h.
References fRadius.
Referenced by CbmRichRingFitterBase::CalcChi2(), CbmRichRingFitterQa::CalculateFitErrors(), CbmRichConverter::CopyParamsToRing(), CbmRichTrainAnnSelect::DiffFakeTrueCircle(), CbmRichRingSelectAnn::DoSelect(), CbmRichGeoTest::DrawRing(), CbmRichGeoTest::FillMcVsHitFitCircle(), CbmRichRingFinderHoughImpl::FindPeak(), CbmRichGeoTest::FitAndFillHistCircle(), CbmRichRingFitterQa::GenerateEllipse(), CbmRichRingSelectImpl::GetNofHitsOnRingCircle(), CbmRichRingFinderHoughImpl::ReAssignSharedHits(), CbmRichRingFinderHoughImpl::RemoveHitsAroundRing(), and CbmRichGeoTest::RingParameters().
|
inline |
Definition at line 269 of file CbmRichRingLight.h.
References fRecFlag.
|
inline |
Definition at line 250 of file CbmRichRingLight.h.
References fSelectionNN.
Referenced by CbmRichRingFinderHoughImpl::FindPeak().
|
inline |
Calculate and return X coordinate of the first focus.
Definition at line 179 of file CbmRichRingLight.h.
References cos(), fAaxis, fBaxis, fCenterX, fPhi, and sqrt().
Referenced by CbmRichRingFitterEllipseBase::CalcChi2().
|
inline |
Calculate and return X coordinate of the second focus.
Definition at line 203 of file CbmRichRingLight.h.
References cos(), fAaxis, fBaxis, fCenterX, fPhi, and sqrt().
Referenced by CbmRichRingFitterEllipseBase::CalcChi2().
|
inline |
Calculate and return Y coordinate of the first focus.
Definition at line 190 of file CbmRichRingLight.h.
References fAaxis, fBaxis, fCenterY, fPhi, sin(), and sqrt().
Referenced by CbmRichRingFitterEllipseBase::CalcChi2().
|
inline |
Calculate and return Y coordinate of the second focus.
Definition at line 214 of file CbmRichRingLight.h.
References fAaxis, fBaxis, fCenterY, fPhi, sin(), and sqrt().
Referenced by CbmRichRingFitterEllipseBase::CalcChi2().
|
inline |
Remove hit from the ring.
[in] | hitId | index of hit in TClonesArray. |
Definition at line 97 of file CbmRichRingLight.h.
References fHits.
Referenced by CbmRichRingFinderHoughImpl::ReAssignSharedHits().
|
inline |
Definition at line 172 of file CbmRichRingLight.h.
References fAaxis.
Referenced by CbmRichRadiusCorrection::DoCorrection(), and CbmRichRingFitterEllipseTau::TransformEllipse().
|
inline |
Set all 6 parameters of curve equation Axx+Bxy+Cyy+Dx+Ey+F.
[in] | a | A parameter. |
[in] | b | B parameter. |
[in] | c | C parameter. |
[in] | d | D parameter. |
[in] | e | E parameter. |
[in] | f | F parameter. |
Definition at line 233 of file CbmRichRingLight.h.
References fAPar, fBPar, fCPar, fDPar, fEPar, and fFPar.
Referenced by CbmRichRingFitterEllipseTau::TransformEllipse().
|
inline |
Definition at line 161 of file CbmRichRingLight.h.
References fAngle.
Referenced by CbmRichRingSelectAnn::DoSelect().
|
inline |
Definition at line 173 of file CbmRichRingLight.h.
References fBaxis.
Referenced by CbmRichRadiusCorrection::DoCorrection(), and CbmRichRingFitterEllipseTau::TransformEllipse().
|
inline |
Definition at line 126 of file CbmRichRingLight.h.
Referenced by CbmRichRingFitterCircle::DoFit(), CbmRichRingFitterRobustCOP::DoFit(), CbmRichRingFitterTAU::DoFit(), and CbmRichRingFitterCOP::FitRing().
|
inline |
Definition at line 127 of file CbmRichRingLight.h.
Referenced by CbmRichRingFitterCircle::DoFit(), CbmRichRingFitterRobustCOP::DoFit(), CbmRichRingFitterTAU::DoFit(), and CbmRichRingFitterCOP::FitRing().
|
inline |
Definition at line 160 of file CbmRichRingLight.h.
References fChi2.
Referenced by CbmRichRingFitterBase::CalcChi2(), CbmRichRingFitterEllipseBase::CalcChi2(), and CbmRichRingFitterEllipseBase::CalcChi2().
|
inline |
Definition at line 162 of file CbmRichRingLight.h.
References fNofHitsOnRing.
Referenced by CbmRichRingSelectAnn::DoSelect().
|
inline |
Definition at line 174 of file CbmRichRingLight.h.
References fPhi.
Referenced by CbmRichRingFitterEllipseTau::TransformEllipse().
|
inline |
Definition at line 128 of file CbmRichRingLight.h.
References fRadius.
Referenced by CbmRichRingFitterCircle::DoFit(), CbmRichRingFitterEllipseMinuit::DoFit(), CbmRichRingFitterEllipseTau::DoFit(), CbmRichRingFitterRobustCOP::DoFit(), CbmRichRingFitterTAU::DoFit(), CbmRichRingFitterCOP::FitRing(), CbmRichRingFitterEllipseTau::TransformEllipse(), and CbmRichRingFitterEllipseMinuit::TransformToRichRing().
|
inline |
Definition at line 270 of file CbmRichRingLight.h.
References fRecFlag.
Referenced by CbmRichRingFinderHoughImpl::RingSelection().
|
inline |
Definition at line 163 of file CbmRichRingLight.h.
References fSelectionNN.
Referenced by CbmRichRingSelectAnn::DoSelect().
|
inline |
Set all 5 ellipse parameters.
[in] | x | X coordinate of ellipse center. |
[in] | y | Y coordinate of ellipse center. |
[in] | a | Major half axis of ellipse. |
[in] | b | Minor half axis of ellipse. |
[in] | p | Rotation angle of ellipse [rad]. |
Definition at line 151 of file CbmRichRingLight.h.
References fAaxis, fBaxis, fCenterX, fCenterY, fPhi, x, and y.
Referenced by CbmRichRingFitterEllipseMinuit::DoFit(), CbmRichRingFitterEllipseTau::DoFit(), CbmRichRingFitterQa::GenerateEllipse(), CbmRichRingFitterEllipseTau::TransformEllipse(), and CbmRichRingFitterEllipseMinuit::TransformToRichRing().
|
inline |
|
private |
Definition at line 279 of file CbmRichRingLight.h.
Referenced by GetAaxis(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetAaxis(), and SetXYABP().
|
private |
Definition at line 293 of file CbmRichRingLight.h.
Referenced by GetAngle(), and SetAngle().
|
private |
Definition at line 283 of file CbmRichRingLight.h.
Referenced by GetAPar(), and SetABCDEF().
|
private |
Definition at line 280 of file CbmRichRingLight.h.
Referenced by GetBaxis(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetBaxis(), and SetXYABP().
|
private |
Definition at line 284 of file CbmRichRingLight.h.
Referenced by GetBPar(), and SetABCDEF().
|
private |
Definition at line 275 of file CbmRichRingLight.h.
Referenced by GetCenterX(), GetRadialPosition(), GetXF1(), GetXF2(), SetCenterX(), SetXYABP(), and SetXYR().
|
private |
Definition at line 276 of file CbmRichRingLight.h.
Referenced by GetCenterY(), GetRadialPosition(), GetYF1(), GetYF2(), SetCenterY(), SetXYABP(), and SetXYR().
|
private |
Definition at line 292 of file CbmRichRingLight.h.
|
private |
Definition at line 285 of file CbmRichRingLight.h.
Referenced by GetCPar(), and SetABCDEF().
|
private |
Definition at line 286 of file CbmRichRingLight.h.
Referenced by GetDPar(), and SetABCDEF().
|
private |
Definition at line 287 of file CbmRichRingLight.h.
Referenced by GetEPar(), and SetABCDEF().
|
private |
Definition at line 288 of file CbmRichRingLight.h.
Referenced by GetFPar(), and SetABCDEF().
|
private |
Definition at line 273 of file CbmRichRingLight.h.
Referenced by AddHit(), CbmRichRingLight(), GetHit(), GetHitId(), GetNofHits(), RemoveHit(), and ~CbmRichRingLight().
|
private |
Definition at line 294 of file CbmRichRingLight.h.
Referenced by GetNofHitsOnRing(), and SetNofHitsOnRing().
|
private |
Definition at line 281 of file CbmRichRingLight.h.
Referenced by GetPhi(), GetXF1(), GetXF2(), GetYF1(), GetYF2(), SetPhi(), and SetXYABP().
|
private |
Definition at line 277 of file CbmRichRingLight.h.
Referenced by GetRadius(), SetRadius(), and SetXYR().
|
private |
Definition at line 290 of file CbmRichRingLight.h.
Referenced by GetRecFlag(), and SetRecFlag().
|
private |
Definition at line 295 of file CbmRichRingLight.h.
Referenced by GetSelectionNN(), and SetSelectionNN().