#include "hgeomhit.h"

HGeomHit


class description - source file - inheritance tree (.pdf)

class HGeomHit : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HGeomHit
<-
HGeomFWallHit
HGeomMdcHit
HGeomRichHit
HGeomRpcHit
HGeomShowerHit
HGeomTofHit
HGeomUserHit
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    public:
virtual ~HGeomHit() Bool_t calcRefPos(HGeomVector&, TString&) static TClass* Class() void fill(Int_t, const char*, Int_t, Float_t, Float_t) char* getChnamh() char* getChnmsv() const char* getComponentName() const const char* getDetectorName() const Float_t* getFact() const char* getHitFile() const virtual Int_t getIdType() Int_t* getNbitsh() Int_t* getNbitsv() Int_t getNh() Int_t getNv() Float_t* getOrig() virtual TClass* IsA() const HGeomHit& operator=(const HGeomHit&) void print() void read(fstream&) Bool_t setCurrentNode(HGeomNode*) void setHitFile(const char* filename) void setNh(Int_t) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void write(fstream&)

Data Members

    private:
TList* copies List of copy nodes protected:
TString hitFile name of hit file HGeomSet* pSet pointer to detector part HGeomNode* currentNode pointer to current node char compName[5] name of hit component Int_t nh number of hit components char* chnamh names of the hit components Int_t* nbitsh array for the number of bits in which to pack the components of a hit Float_t* orig array for the scale factors applied before packing the hit values Float_t* fact array for the scale factors applied before packing the hit values Int_t nvmax maximum number of levels in tree of module Int_t nv number of volume descriptors (derived from tree) char* chnmsv array of nv names to decribe the volume (derived from tree) Int_t* nbitsv array of bits in which to pack the copy number of the volume chnmsv

Class Description

 HGeomHit

 Base class for hit definition in GEANT



~HGeomHit()
 Destructor

const char* getDetectorName()
 Returns the name of the corresponding detector

void read(fstream& fin)
 Reads the hit definition from file

void write(fstream& fout)
 Writes the hit definition to file

void print()
 Prints the hit definition

Bool_t setCurrentNode(HGeomNode* node)
 Sets the current node, fills chnmsv and calculates nbitsv

Bool_t calcRefPos(HGeomVector& refPos,TString& shape)
 Calculates the position in the module reference system

void setNh(Int_t n)
 Sets the number of components

void fill(Int_t i,const char* cn,Int_t cb,Float_t co,Float_t cf)
 Sets the ith component



Inline Functions


               void setHitFile(const char* filename)
        const char* getHitFile() const
        const char* getComponentName() const
              Int_t getIdType()
              Int_t getNh()
              char* getChnamh()
             Int_t* getNbitsh()
           Float_t* getOrig()
           Float_t* getFact()
              Int_t getNv()
              char* getChnmsv()
             Int_t* getNbitsv()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          HGeomHit& operator=(const HGeomHit&)


Last update: Fri Jan 26 11:54:48 2007


ROOT page - Class index - Class Hierarchy - Top of the page

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.