#ifndef HRICHWIRE_H
#define HRICHWIRE_H
#include "TObject.h"
#include "TObjArray.h"
#include "hrichparset.h"
class HRichWire : public TObject {
public:
HRichWire();
virtual ~HRichWire();
Float_t getXWire() { return fXwire; }
Int_t getNrWire() { return fNrWire; }
void setXWire(Float_t fX) { fXwire = fX; }
void setNrWire(Int_t nr) { fNrWire = nr; }
private:
Int_t fNrWire;
Float_t fXwire;
ClassDef(HRichWire, 1)
};
class HRichWireTab : public HRichParSet {
public:
HRichWireTab();
virtual ~HRichWireTab();
HRichWire* getWire(Int_t nWire);
Int_t addWire(HRichWire*);
Int_t setWire(HRichWire* pWire, Int_t n);
Int_t getWiresNr(){return nWires;}
Float_t getDistWire(){return fDistWire;}
void setWiresNr(Int_t n){nWires = n;}
void setDistWire(Float_t dist){fDistWire=dist;}
Bool_t initAscii(HParHadAsciiFileIo* pHadAsciiFile);
Bool_t writeAscii(HParHadAsciiFileIo* pHadAsciiFile);
void reset();
private:
Float_t fDistWire;
TObjArray m_WiresArr;
Int_t nWires;
ClassDef(HRichWireTab, 1)
};
#endif // HRICHWIRE_H
Last change: Sat May 22 13:10:57 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.