#ifndef HRICHHIT_H
#define HRICHHIT_H
#include "TObject.h"
#include "TArrayI.h"
class HRichHit: public TObject {
public:
Int_t iRingX;
Int_t iRingY;
Int_t iRingQuality;
Int_t iRingPatMat;
Int_t iRingHouTra;
Int_t iRingPadNr;
Int_t iRingAmplitude;
Int_t iRingLocalMax4;
Int_t iRingLocalMax8;
Int_t iRingClusterNr;
Float_t fRingClusterSize;
Float_t fRingClusterLMax4;
Float_t fRingClusterLMax8;
Int_t iRingAlgorithmIndex;
static Int_t iRingImageSize;
Int_t iRingImage[256];
Int_t iRingFreeParam;
Int_t iRingMaxLabel;
Int_t fMaxClusterSize;
Int_t fMaxClusterSum;
Int_t fMaxThrClusterSize;
Float_t fLabX;
Float_t fLabY;
Float_t fLabZ;
Float_t fX;
Float_t fY;
Float_t fPadX;
Float_t fPadY;
Float_t fMeanTheta;
Float_t fMeanPhi;
Float_t fTheta;
Float_t fPhi;
Int_t nSector;
Int_t lEventNr;
Int_t fAddress;
Bool_t fTestDens;
Bool_t fTestBord;
Bool_t fTestDyna;
Bool_t fTestRati;
Bool_t fTestAsym;
Bool_t fTestCharge;
Bool_t fRejFake;
Int_t fTests;
Float_t fRingCentroid;
Float_t fRingRadius;
Float_t fBorderFactor;
public:
HRichHit();
HRichHit(Int_t x, Int_t y, Int_t q, Int_t fp, Int_t lab);
virtual ~HRichHit();
HRichHit(const HRichHit& source);
HRichHit& operator=(const HRichHit& source);
void Reset();
void dumpToStdout();
Int_t getSector(void) {return nSector;}
void setSector(Int_t s) {nSector = s;}
Int_t getEventNr(){return lEventNr;}
void setEventNr(Int_t lNr){lEventNr = lNr;}
void getXY(Float_t *px, Float_t *py) { *px = fX; *py = fY; }
void getLabXYZ(Float_t *px, Float_t *py, Float_t *pz) { *px = fLabX;
*py = fLabY;
*pz = fLabZ; }
void setXY(Float_t px, Float_t py) { fX = px; fY = py; }
void setLabXYZ(Float_t px, Float_t py, Float_t pz) { fLabX = px;
fLabY = py;
fLabZ = pz; }
void setTheta(const Float_t th) { fTheta = th; }
void setPhi(const Float_t phi) { fPhi = phi; }
Float_t getTheta() { return fTheta; }
Float_t getPhi() { return fPhi; }
void setPadY(const Float_t pady) { fPadY = pady; }
void setPadX(const Float_t padx) { fPadX = padx; }
Float_t getPadY() { return fPadY; }
Float_t getPadX() { return fPadX; }
void setMeanTheta(const Float_t th) { fMeanTheta = th; }
void setMeanPhi(const Float_t phi) { fMeanPhi = phi; }
Float_t getMeanTheta() { return fMeanTheta; }
Float_t getMeanPhi() { return fMeanPhi; }
Int_t getAddress() { return (fAddress > 0) ? fAddress:calcAddress(); }
Int_t calcAddress();
Bool_t getTestDens() { return fTestDens; }
void setTestDens(Bool_t val) { fTestDens = val; }
Bool_t getTestBord() { return fTestBord; }
void setTestBord(Bool_t val) { fTestBord = val; }
Bool_t getTestDyna() { return fTestDyna; }
void setTestDyna(Bool_t val) { fTestDyna = val; }
Bool_t getTestRati() { return fTestRati; }
void setTestRati(Bool_t val) { fTestRati = val; }
Bool_t getTestAsym() { return fTestAsym; }
void setTestAsym(Bool_t val) { fTestAsym = val; }
Bool_t getTestCharge(){ return fTestCharge;}
void setTestCharge(Bool_t val){ fTestCharge = val;}
Bool_t getRejFake() {return fRejFake;}
void setRejFake(Bool_t val) {fRejFake = val;}
Int_t getRingCenterX(){return iRingX;};
Int_t getRingCenterY(){return iRingY;};
Int_t getRingQuality(){return iRingQuality;};
Int_t getRingPatMat() {return iRingPatMat;};
Int_t getRingHouTra() {return iRingHouTra;};
Int_t getRingAmplitude(){return (Int_t) iRingAmplitude;};
Int_t getRingPadNr(){return (Int_t) iRingPadNr;};
Int_t getRingLocalMax4(){return (Int_t) iRingLocalMax4;};
Int_t getRingLocalMax8(){return (Int_t) iRingLocalMax8;};
Int_t getRingClusterNr(){return (Int_t) iRingClusterNr;};
Int_t getRingAlgorithmIndex(){return (Int_t) iRingAlgorithmIndex;};
Float_t getRingClusterSize(){return fRingClusterSize;};
Float_t getRingClusterLMax4(){return fRingClusterLMax4;};
Float_t getRingClusterLMax8(){return fRingClusterLMax8;};
Int_t getRingMaxClusterSize(){return fMaxClusterSize;};
Int_t getRingMaxClusterSum(){return fMaxClusterSum;};
Int_t getRingMaxThrClusterSize(){return fMaxThrClusterSize;};
Float_t getCentroid(){return fRingCentroid;};
Float_t getRadius(){return fRingRadius;};
void setRingCenterX(Int_t x){ iRingX=x;};
void setRingCenterY(Int_t y){ iRingY=y;};
void setRingQuality(Int_t qual){ iRingQuality=qual;};
void setRingPatMat(Int_t patmat) { iRingPatMat=patmat;};
void setRingHouTra(Int_t houtra) { iRingHouTra=houtra;};
void setRingAmplitude(Short_t ampl){iRingAmplitude=ampl;};
void setRingPadNr(Short_t padnr){iRingPadNr=padnr;};
void setRingLocalMax4(Short_t locmax4){iRingLocalMax4=locmax4;};
void setRingLocalMax8(Short_t locmax8){iRingLocalMax8=locmax8;};
void setRingClusterNr(Short_t clusternr){iRingClusterNr=clusternr;};
void setRingAlgorithmIndex(Short_t algoindex){iRingAlgorithmIndex=algoindex;};
void setRingClusterSize(Float_t clustersize){ fRingClusterSize=clustersize;};
void setRingClusterLMax4(Float_t clusterLMax4){ fRingClusterLMax4=clusterLMax4;};
void setRingClusterLMax8(Float_t clusterLMax8){ fRingClusterLMax8=clusterLMax8;};
void setRingMaxClusterSize(Int_t fmaxclussize){fMaxClusterSize = fmaxclussize;};
void setRingMaxClusterSum(Int_t fmaxclussum){fMaxClusterSum = fmaxclussum;};
void setRingMaxThrClusterSize(Int_t fmaxthrclussize){fMaxThrClusterSize = fmaxthrclussize;};
void setCentroid(Float_t centro){ fRingCentroid=centro;};
void setRadius(Float_t rad){fRingRadius = rad;};
ClassDef(HRichHit,1)
};
#endif // HRICHHIT_H
Last change: Sat May 22 13:09:03 2010
Last generated: 2010-05-22 13:09
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.