#ifndef HGEOMHIT_H
#define HGEOMHIT_H
using namespace std;
#include "TNamed.h"
#include "TArrayI.h"
#include "hgeomtransform.h"
#include <fstream>
#include <iomanip>
class HGeomSet;
class HGeomNode;
class HGeomHit : public TNamed {
private:
class HGeomCopyNodeNum : public TNamed {
public:
Int_t maxCopyNum;
HGeomCopyNodeNum(TString& name,Int_t n) {
SetName(name);
maxCopyNum=n;
}
~HGeomCopyNodeNum() {}
};
TList* copies;
protected:
TString hitFile;
HGeomSet* pSet;
HGeomNode* currentNode;
Char_t compName[5];
Int_t nh;
Char_t* chnamh;
Int_t* nbitsh;
Float_t* orig;
Float_t* fact;
Int_t nvmax;
Int_t nv;
Char_t* chnmsv;
Int_t* nbitsv;
HGeomHit(HGeomSet* p=0);
public:
virtual ~HGeomHit();
void setHitFile(const Char_t* filename) {hitFile=filename;}
const Char_t* getHitFile() {return hitFile.Data();}
void read(fstream&);
void write(fstream&);
void print();
Bool_t setCurrentNode(HGeomNode*);
const Char_t* getDetectorName();
const Char_t* getComponentName() {return compName;}
Bool_t calcRefPos(HGeomVector&,TString&);
virtual Int_t getIdType()=0;
Int_t getNh() {return nh;}
Char_t* getChnamh() {return chnamh;}
Int_t* getNbitsh() {return nbitsh;}
Float_t* getOrig() {return orig;}
Float_t* getFact() {return fact;}
Int_t getNv() {return nv;}
Char_t* getChnmsv() {return chnmsv;}
Int_t* getNbitsv() {return nbitsv;}
void setNh(Int_t);
void fill(Int_t,const Char_t*,Int_t,Float_t,Float_t);
ClassDef(HGeomHit,0)
};
#endif /* !HGEOMHIT_H */
Last change: Sat May 22 12:56:20 2010
Last generated: 2010-05-22 12:56
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.