Go to the documentation of this file.
8 #ifndef CBMRICHRINGLIGHT_H_
9 #define CBMRICHRINGLIGHT_H_
95 std::vector<CbmRichHitLight>::iterator it;
96 for (it =
fHits.begin(); it !=
fHits.end(); it++) {
97 if (hitId >= 0 && hitId ==
int(it->fId)) {
225 void SetABCDEF(
float a,
float b,
float c,
float d,
float e,
float f) {
friend F32vec4 sin(const F32vec4 &a)
unsigned short GetNofHitsOnRing() const
void SetSelectionNN(float selectionNN)
friend F32vec4 sqrt(const F32vec4 &a)
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.
std::vector< CbmRichHitLight > fHits
bool RemoveHit(int hitId)
Remove hit from the ring.
double GetYF2() const
Calculate and return Y coordinate of the second focus.
float GetRadialPosition() const
Return radial position of the ring.
unsigned int GetHitId(int ind)
Return hit index in TClonesArray.
virtual ~CbmRichRingLight()
Destructor.
int GetNofHits() const
Return number of hits in ring.
double GetXF2() const
Calculate and return X coordinate of the second focus.
unsigned short fNofHitsOnRing
virtual ~CbmRichHitLight()
Distructor.
void SetXYABP(float x, float y, float a, float b, float p)
Set all 5 ellipse parameters.
void SetXYR(float x, float y, float r)
Set all 3 circle parameters.
double GetXF1() const
Calculate and return X coordinate of the first focus.
void AddHit(CbmRichHitLight hit)
Add new hit to the ring.
CbmRichRingLight()
Standard constructor.
CbmRichHitLight()
Default constructor.
float GetSelectionNN() const
friend F32vec4 fabs(const F32vec4 &a)
CbmRichHitLight GetHit(int ind)
Return hit by the index.
friend F32vec4 cos(const F32vec4 &a)
double GetYF1() const
Calculate and return Y coordinate of the first focus.
CbmRichHitLight(float x, float y, unsigned int hitId=0)
Constructor with initialization.
void SetAngle(float angle)
void SetNofHitsOnRing(unsigned short onring)