#ifndef __HShowerGeantWire_H #define __HShowerGeantWire_H #include "hdataobject.h" #include class HShowerGeantWire : public HDataObject { public: HShowerGeantWire(void); // initialization could be used e.g. to clear the data element ~HShowerGeantWire(void) {} void Clear(void); Float_t getCharge(void) const {return fCharge;} void getXY(Float_t* pfX, Float_t* pfY); Int_t getWireNr(){return nWireNr;} Int_t getModule(){return nModule;} Int_t getSector(){return nSector;} Int_t getTrack(){return nTrack;} void setCharge(Float_t q) {fCharge=q;} void setXY(Float_t fX, Float_t fY); void setWireNr(Int_t nNr){nWireNr = nNr;} void setModule(Int_t nMod){nModule = nMod;} void setSector(Int_t nSect){nSector = nSect;} void setTrack(Int_t nTrk){nTrack = nTrk;} friend ostream& operator<< (ostream& output, HShowerGeantWire& element); protected: float fCharge; // Charge for each cell float fXWire; float fYWire; int nWireNr; int nModule; int nSector; int nTrack; public: ClassDef(HShowerGeantWire,1) //Shower raw data }; #endif