HShowerPadTab
class description - source file - inheritance tree (.pdf)
private:
Int_t calcAddr(Int_t nRow, Int_t nCol)
TObject* getObject(int nIndx)
TObject*& getSlot(int nIndx)
public:
HShowerPadTab()
HShowerPadTab(const HShowerPadTab&)
~HShowerPadTab()
static TClass* Class()
Int_t createPads(Int_t nX, Int_t nY)
void deletePads()
HShowerFrame* getFrame()
int getModuleID()
Int_t getNPad()
Int_t getNPadX()
Int_t getNPadY()
HShowerPad* getPad(Int_t nPadNr)
HShowerPad* getPad(Int_t nRow, Int_t nCol)
HShowerPad* getPad(Float_t fXpos, Float_t fYpos)
Bool_t initAscii(HParHadAsciiFileIo* pHadAsciiFile)
virtual TClass* IsA() const
Bool_t isOut(Int_t nX, Int_t nY)
HShowerPadTab& operator=(const HShowerPadTab&)
void reset()
void setFrame(HShowerFrame* pFrame)
void setModuleID(int id)
void setPad(HShowerPad* pPad, Int_t nRow, Int_t nCol)
void setPad(HShowerPad* pPad, Int_t nPadNr)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Bool_t writeAscii(HParHadAsciiFileIo* pHadAsciiFile)
private:
TClonesArray* m_pPadArr table of pads
Int_t nPads total number of pads
Int_t nPadsX number of rows
Int_t nPadsY number of columns
Int_t m_nModuleID module identification
HShowerFrame* m_pFrame reference to frame for this module
HShowerPad
Class describe coordinates one pad
HShowerPadTab
Table of local coordinates of pads.
Thera are pads informations in one dimensional table
Two-dimensional structure of pads in shower detector
is calculated to one index of table of pads
HShowerPadTab()
default ctor
~HShowerPadTab()
void reset()
clearing data
Bool_t initAscii(HParHadAsciiFileIo* pHadAsciiFile)
reading and initializing pads table from ascii file (HAsciiKey format)
Bool_t writeAscii(HParHadAsciiFileIo* pHadAsciiFile)
writing pads table from ascii file (HAsciiKey format)
Int_t createPads(Int_t nX, Int_t nY)
creating internal table of pads
void deletePads()
deleting internal table of pads and clearing data
void setPad(HShowerPad* pPad, Int_t nRow, Int_t nCol)
set pad information at position defined by nRow and nCol
void setPad(HShowerPad* pPad, Int_t nAddr)
set pad information at position defined by nAddr
HShowerPad* getPad(Int_t nPadNr)
return pad information
HShowerPad* getPad(Int_t nRow, Int_t nCol)
return pad information
nRow and nCol is used to calculate index
HShowerPad* getPad(Float_t fXpos, Float_t fYpos)
looking for pad which contains point fXpos, fYpos
Bool_t isOut(Int_t nX, Int_t nY)
testing if pad in nX, nY position is inside table
TObject*& getSlot(int nIndx)
access to object in TClonesArray
TObject* getObject(int nIndx)
return TObject from TClonesArray
void Streamer(TBuffer &R__b)
Stream an object of class HShowerPadTab.
Inline Functions
Int_t getNPad()
Int_t getNPadX()
Int_t getNPadY()
void setFrame(HShowerFrame* pFrame)
HShowerFrame* getFrame()
void setModuleID(int id)
int getModuleID()
Int_t calcAddr(Int_t nRow, Int_t nCol)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void StreamerNVirtual(TBuffer& b)
HShowerPadTab HShowerPadTab(const HShowerPadTab&)
HShowerPadTab& operator=(const HShowerPadTab&)
Last update: Fri Jan 26 12:33:47 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.