#ifndef HRICHWIRESIGNAL_H
#define HRICHWIRESIGNAL_H
using namespace std;
#include "TObject.h"
#include <iostream>
#include <iomanip>
class HRichWireSignal : public TObject {
public:
HRichWireSignal() { clear(); }
HRichWireSignal(const Float_t charge) { clear(); fCharge = charge; }
HRichWireSignal(const Int_t sector, const Int_t wirenr,
const Float_t charge, const Float_t xpos,
const Float_t ypos,const Float_t ene) {
fSector = sector;
fWireNr = wirenr;
fCharge = charge;
fXpos = xpos;
fYpos = ypos;
fEnergy = ene;
}
virtual ~HRichWireSignal() {}
void clear();
Float_t getCharge() { return fCharge; }
Float_t getX() { return fXpos; }
Float_t getY() { return fYpos; }
Float_t getEnergy() { return fEnergy;}
void getXY(Float_t *pX, Float_t *pY) { *pX = fXpos; *pY = fYpos; }
void setCharge(Float_t ampl) { fCharge = ampl; }
void setX(Float_t xpos) { fXpos = xpos; }
void setY(Float_t ypos) { fYpos = ypos; }
void setXY(Float_t xpos, Float_t ypos) { fXpos = xpos; fYpos = ypos; }
void setEne(Float_t ene) { fEnergy = ene;}
friend ostream& operator<< (ostream& output, HRichWireSignal& element);
Int_t getSector() { return fSector; }
Int_t getWireNr() { return fWireNr; }
void setSector(Int_t sec) { fSector = sec; }
void setWireNr(Int_t nr) { fWireNr = nr; }
private:
Int_t fSector;
Int_t fWireNr;
Float_t fCharge;
Float_t fXpos;
Float_t fYpos;
Float_t fEnergy;
ClassDef(HRichWireSignal,1)
};
#endif // HRICHWIRESIGNAL_H
Last change: Sat May 22 13:10:56 2010
Last generated: 2010-05-22 13:10
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.