#include "hshowergeometry.h" |
HShowerGeometry
class description - source file - inheritance tree (.pdf)
private:
Bool_t initCompositeVolAscii(HParHadAsciiFileIo* pHadAsciiFile)
Bool_t initDetGeom()
Bool_t initGeomVolAscii(HParHadAsciiFileIo* pHadAsciiFile, HGeomVolume* p)
Bool_t initModGeomParAscii(HParHadAsciiFileIo* pHadAsciiFile)
Bool_t writeCompositeVolAscii(HParHadAsciiFileIo* pHadAsciiFile)
Bool_t writeGeomVolAscii(HParHadAsciiFileIo* pHadAsciiFile, HGeomVolume* p)
Bool_t writeModGeomParAscii(HParHadAsciiFileIo* pHadAsciiFile)
public:
HShowerGeometry(const char* name = "ShowerGeometry", const char* title = "Shower geometry parameters", const char* context = "GeomProduction")
~HShowerGeometry()
void attachTables()
static TClass* Class()
virtual void clear()
Int_t getColumns()
virtual Int_t getCompNum(const TString&)
HShowerFrame* getFrame(Int_t n)
void getLabCoord(HLocation& loc, HGeomVector2& v)
void getLocalCoord(HLocation& loc, HGeomVector& v)
virtual Int_t getModNumInComp(const TString& name)
virtual Int_t getModNumInMod(const TString& name)
Int_t getModules()
HShowerPadTab* getPadParam(Int_t nMod)
Int_t getRows()
virtual Int_t getSecNum(const TString& name)
Int_t getSectors()
void getSphereCoord(HLocation& loc, HGeomVector2& v, HGeomVector* pvTarget = 0)
const HGeomTransform& getTransform(Int_t sect) const
const HGeomTransform& getTransform(Int_t sect, Int_t mod) const
HShowerWireTab* getWireTab(Int_t nMod)
virtual Bool_t init(HParIo*, Int_t*)
virtual Bool_t initAscii(HParHadAsciiFileIo* pHadAsciiFile)
virtual TClass* IsA() const
Bool_t IsLab()
void rotateSectors()
void setLab(Int_t nLab = 1)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void transLabToSphereCoord(HGeomVector2& labIn, HGeomVector2& sphereOut, HGeomVector* pvTarget)
void translModules()
Bool_t transPadToLab()
Bool_t transToLab()
void transVectToLab(HLocation& loc, HGeomVector vLocal, HGeomVector2& vLab)
Bool_t updateDetGeom()
virtual Int_t write(HParIo* output)
virtual Bool_t writeAscii(HParHadAsciiFileIo* pHadAsciiFile)
public:
Int_t m_nSectors number of sectors
Int_t m_nModules number of modules
Int_t m_nRows number of rows
Int_t m_nColumns number of columns
Int_t m_nLab determinate if lab coordinates have been calculated
HShowerSectorGeom sectors[6] definitions of coordinates in lab
HShowerFrame frames[3] definitions of local coordinates of frames
HShowerWireTab wires[3] definitions of local coordinates of wires
HShowerPadTab pads[3] definitions of local coordinates of pads
HShowerGeometry(const char* name, const char* title, const char* context)
:HDetGeomPar(name,title,context,"Shower")
~HShowerGeometry()
Bool_t init(HParIo* inp,Int_t* set)
Int_t write(HParIo* output)
Bool_t initAscii(HParHadAsciiFileIo* pHadAsciiFile)
Reading and initializating data from ASCII file (HadAsciiKey format)
Bool_t writeAscii(HParHadAsciiFileIo* pHadAsciiFile)
Writing to ASCII file (HadAsciiKey format)
void attachTables()
Make connections between local coordinates of frame, wires, pads
to containers which contained inforamation about module position
in labolatory
void clear()
const HGeomTransform& getTransform(Int_t sect)
return transformation data of sector sect
const HGeomTransform& getTransform(Int_t sect, Int_t mod)
return transformation data of module mod in sector sect
void getLocalCoord(HLocation& loc, HGeomVector& v)
retrieve local coordinates of center of pads in position loc
void transVectToLab(HLocation& loc, HGeomVector vLocal, HGeomVector2& vLab)
void getLabCoord(HLocation& loc, HGeomVector2& v)
retrieve lab coordinates of center of pads in position loc
Local coordinates are transformed to lab using HGeomTransform class
There is data for transformation this in HShowerModuleGeom object
addressed by loc[0], loc[1]
void getSphereCoord(HLocation& loc, HGeomVector2& v, HGeomVector *pvTarget)
Sphere coordinate are calculated from lab coordinates
void transLabToSphereCoord(HGeomVector2& labIn, HGeomVector2& sphereOut, HGeomVector *pvTarget)
Sphere coordinate are calculated from lab coordinates
void translModules()
void rotateSectors()
Bool_t transToLab()
Bool_t transPadToLab()
void Streamer(TBuffer &R__b)
Bool_t updateDetGeom()
Function for calculating transformations
in HDetGeom interface.
Used for internal synchronization, especially after modyfication
of the transformation in macros.
Bool_t initDetGeom()
Bool_t writeModGeomParAscii(HParHadAsciiFileIo* pHadAsciiFile)
Bool_t writeCompositeVolAscii(HParHadAsciiFileIo* pHadAsciiFile)
Bool_t writeGeomVolAscii(HParHadAsciiFileIo* pHadAsciiFile,HGeomVolume *p)
Bool_t initModGeomParAscii(HParHadAsciiFileIo* pHadAsciiFile)
Reading and initializating data from ASCII file (HadAsciiKey format)
Inline Functions
Int_t getSecNum(const TString& name)
Int_t getModNumInMod(const TString& name)
Int_t getModNumInComp(const TString& name)
Int_t getCompNum(const TString&)
Int_t getSectors()
Int_t getModules()
Int_t getRows()
Int_t getColumns()
void setLab(Int_t nLab = 1)
Bool_t IsLab()
HShowerFrame* getFrame(Int_t n)
HShowerWireTab* getWireTab(Int_t nMod)
HShowerPadTab* getPadParam(Int_t nMod)
Bool_t initCompositeVolAscii(HParHadAsciiFileIo* pHadAsciiFile)
Bool_t initGeomVolAscii(HParHadAsciiFileIo* pHadAsciiFile, HGeomVolume* p)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void StreamerNVirtual(TBuffer& b)
Last update: Fri Jan 26 12:32:59 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.