SecGeom Struct Reference

#include <SecGeom.h>

List of all members.


Detailed Description

Geometrical information for one EMCAL Sector.

Used as a "storage"-unit by emcGeometry.

Definition at line 19 of file SecGeom.h.

Public Member Functions

 SecGeom ()
 ~SecGeom ()
 SecGeom (const SecGeom &obj)
SecGeomoperator= (const SecGeom &obj)
void Copy (SecGeom &obj)
int GetTowerPosGlobal (size_t ind, float &x, float &y, float &z) const
int GetTowerPosLocal (size_t ind, float &x, float &y, float &z) const
void GlobalToLocal (float xg, float yg, float zg, float &xl, float &yl, float &zl) const
const PHMatrix & InvRotationMatrix (void) const
const PHVector & InvTranslationVector (void) const
void LocalToGlobal (float xl, float yl, float zl, float &xg, float &yg, float &zg) const
size_t nx (void) const
size_t ny (void) const
void Print (void) const
const PHMatrix & RotationMatrix (void) const
void SetNxNy (size_t nx, size_t ny)
void SetTowerXYSize (double txsize, double tysize)
void SetDirectTransformation (PHMatrix mat, PHVector vec)
double Tower_xSize (void) const
double Tower_ySize (void) const
const PHVector & TranslationVector (void) const

Public Attributes

short nz
short ny
float Tower_zSize
float Tower_ySize
float xyz0 [3]
float nxyz [3]
short zFlag
short nx
float Tower_xSize

Private Attributes

size_t fNx
size_t fNy
double fTower_xSize
double fTower_ySize
PHMatrix fRotationMat
PHVector fTranslationVec
PHMatrix fInvRotationMat
PHVector fInvTranslationVec

Static Private Attributes

static double fgABSURD = -999999.

Friends

std::ostream & operator<< (std::ostream &, const SecGeom &)


Constructor & Destructor Documentation

SecGeom::SecGeom  ) 
 

Definition at line 10 of file SecGeom.C.

SecGeom::~SecGeom  ) 
 

Definition at line 17 of file SecGeom.C.

SecGeom::SecGeom const SecGeom obj  ) 
 

Definition at line 22 of file SecGeom.C.


Member Function Documentation

void SecGeom::Copy SecGeom obj  ) 
 

Definition at line 37 of file SecGeom.C.

References fInvRotationMat, fInvTranslationVec, fNx, fNy, fRotationMat, fTower_xSize, fTower_ySize, and fTranslationVec.

Referenced by operator=().

int SecGeom::GetTowerPosGlobal size_t  ind,
float &  x,
float &  y,
float &  z
const
 

Definition at line 76 of file SecGeom.C.

References fgABSURD, fRotationMat, fTranslationVec, and GetTowerPosLocal().

int SecGeom::GetTowerPosLocal size_t  ind,
float &  x,
float &  y,
float &  z
const
 

Definition at line 50 of file SecGeom.C.

References fgABSURD, fNx, fNy, fTower_xSize, and fTower_ySize.

Referenced by GetTowerPosGlobal().

void SecGeom::GlobalToLocal float  xg,
float  yg,
float  zg,
float &  xl,
float &  yl,
float &  zl
const
 

Definition at line 127 of file SecGeom.C.

References fInvRotationMat, and fInvTranslationVec.

const PHMatrix& SecGeom::InvRotationMatrix void   )  const [inline]
 

Definition at line 39 of file SecGeom.h.

References fInvRotationMat.

const PHVector& SecGeom::InvTranslationVector void   )  const [inline]
 

Definition at line 43 of file SecGeom.h.

References fInvTranslationVec.

void SecGeom::LocalToGlobal float  xl,
float  yl,
float  zl,
float &  xg,
float &  yg,
float &  zg
const
 

Definition at line 110 of file SecGeom.C.

References fRotationMat, and fTranslationVec.

size_t SecGeom::nx void   )  const [inline]
 

Definition at line 51 of file SecGeom.h.

References fNx.

size_t SecGeom::ny void   )  const [inline]
 

Definition at line 55 of file SecGeom.h.

References fNy.

SecGeom & SecGeom::operator= const SecGeom obj  ) 
 

Definition at line 28 of file SecGeom.C.

References Copy().

void SecGeom::Print void   )  const
 

Definition at line 146 of file SecGeom.C.

const PHMatrix& SecGeom::RotationMatrix void   )  const [inline]
 

Definition at line 62 of file SecGeom.h.

References fRotationMat.

Referenced by mEmcGeometryModule::readFromDB().

void SecGeom::SetDirectTransformation PHMatrix  mat,
PHVector  vec
 

Definition at line 152 of file SecGeom.C.

References fInvRotationMat, fInvTranslationVec, fRotationMat, and fTranslationVec.

void SecGeom::SetNxNy size_t  nx,
size_t  ny
[inline]
 

Definition at line 67 of file SecGeom.h.

References fNx, and fNy.

void SecGeom::SetTowerXYSize double  txsize,
double  tysize
[inline]
 

Definition at line 73 of file SecGeom.h.

References fTower_xSize, and fTower_ySize.

double SecGeom::Tower_xSize void   )  const [inline]
 

Definition at line 81 of file SecGeom.h.

References fTower_xSize.

double SecGeom::Tower_ySize void   )  const [inline]
 

Definition at line 85 of file SecGeom.h.

References fTower_ySize.

const PHVector& SecGeom::TranslationVector void   )  const [inline]
 

Definition at line 90 of file SecGeom.h.

References fTranslationVec.

Referenced by mEmcGeometryModule::readFromDB().


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  ,
const SecGeom
[friend]
 


Member Data Documentation

double SecGeom::fgABSURD = -999999. [static, private]
 

Definition at line 104 of file SecGeom.h.

Referenced by GetTowerPosGlobal(), and GetTowerPosLocal().

PHMatrix SecGeom::fInvRotationMat [private]
 

Definition at line 102 of file SecGeom.h.

Referenced by Copy(), GlobalToLocal(), InvRotationMatrix(), and SetDirectTransformation().

PHVector SecGeom::fInvTranslationVec [private]
 

Definition at line 103 of file SecGeom.h.

Referenced by Copy(), GlobalToLocal(), InvTranslationVector(), and SetDirectTransformation().

size_t SecGeom::fNx [private]
 

Definition at line 96 of file SecGeom.h.

Referenced by Copy(), GetTowerPosLocal(), nx(), operator<<(), and SetNxNy().

size_t SecGeom::fNy [private]
 

Definition at line 97 of file SecGeom.h.

Referenced by Copy(), GetTowerPosLocal(), ny(), operator<<(), and SetNxNy().

PHMatrix SecGeom::fRotationMat [private]
 

Definition at line 100 of file SecGeom.h.

Referenced by Copy(), GetTowerPosGlobal(), LocalToGlobal(), operator<<(), RotationMatrix(), and SetDirectTransformation().

double SecGeom::fTower_xSize [private]
 

Definition at line 98 of file SecGeom.h.

Referenced by Copy(), GetTowerPosLocal(), operator<<(), SetTowerXYSize(), and Tower_xSize().

double SecGeom::fTower_ySize [private]
 

Definition at line 99 of file SecGeom.h.

Referenced by Copy(), GetTowerPosLocal(), operator<<(), SetTowerXYSize(), and Tower_ySize().

PHVector SecGeom::fTranslationVec [private]
 

Definition at line 101 of file SecGeom.h.

Referenced by Copy(), GetTowerPosGlobal(), LocalToGlobal(), operator<<(), SetDirectTransformation(), and TranslationVector().

short SecGeom::nx
 

Definition at line 20 of file EmcSectorRec.h.

Referenced by mEmcClusterNewModule::mEmcClusterNewModule(), mEmcGeometryModule::readFromDB(), and EmcSectorRec::SetGeometry().

float SecGeom::nxyz[3]
 

Definition at line 87 of file cluster.h.

Referenced by SetGeometry().

short SecGeom::ny
 

Definition at line 83 of file cluster.h.

Referenced by mEmcClusterNewModule::mEmcClusterNewModule(), mEmcGeometryModule::readFromDB(), EmcSectorRec::SetGeometry(), and SetGeometry().

short SecGeom::nz
 

Definition at line 82 of file cluster.h.

Referenced by SetGeometry().

float SecGeom::Tower_xSize
 

Definition at line 22 of file EmcSectorRec.h.

Referenced by mEmcClusterNewModule::mEmcClusterNewModule(), mEmcGeometryModule::readFromDB(), and EmcSectorRec::SetGeometry().

float SecGeom::Tower_ySize
 

Definition at line 85 of file cluster.h.

Referenced by mEmcClusterNewModule::mEmcClusterNewModule(), mEmcGeometryModule::readFromDB(), EmcSectorRec::SetGeometry(), and SetGeometry().

float SecGeom::Tower_zSize
 

Definition at line 84 of file cluster.h.

Referenced by SetGeometry().

float SecGeom::xyz0[3]
 

Definition at line 86 of file cluster.h.

Referenced by SetGeometry().

short SecGeom::zFlag
 

Definition at line 88 of file cluster.h.


The documentation for this struct was generated from the following files: