// File: hrichdirclus.h // **************************************************************************** // // HRichDirClus // // Author: Author: Laura Fabbietti // Modified: 2005/03/11 by martin Jurkovic // // ---------------------------------------------------------------------------- // // This class stores information about the clusters in the RICH // detector like cluster size, total charge accumulated in the // cluster and number of fired pads in the cluster. // // **************************************************************************** #ifndef HRICHDIRCLUS_H #define HRICHDIRCLUS_H #include "TObject.h" class HRichDirClus: public TObject { public: HRichDirClus(); virtual ~HRichDirClus(); void setXYDim(Float_t x, Float_t y) {xDim = x; yDim = y;} void setSector(Int_t sec) {sector = sec;} void setTotalCharge(Float_t charge) {totalCharge=charge;} void setNrPad(Int_t padnr) {nrPad=padnr;} void setPhiDiff(Float_t phi) {phiDiff=phi;} void setTheta(Float_t T) {theta = T;} void setX(Float_t X) {meanX = X;} void setY(Float_t Y) {meanY = Y;} Int_t getSector() {return sector;} Int_t getNrPad() {return nrPad;} Float_t getXDim() {return xDim;} Float_t getYDim() {return yDim;} Float_t getTotalCharge() {return totalCharge;} Float_t getPhiDiff() {return phiDiff;} Float_t getTheta() {return theta;} Float_t getX() {return meanX;} Float_t getY() {return meanY;} private: Int_t sector; Int_t nrPad; Float_t xDim; Float_t yDim; Float_t totalCharge; Float_t phiDiff; Float_t theta; Float_t meanX; Float_t meanY; ClassDef(HRichDirClus,3) }; #endif // HRICHDIRCLUS_H