#include <mEmcGeometryModule.h>
Definition at line 26 of file mEmcGeometryModule.h.
Public Types | |
enum | ERealm { kReal = 0, kPISA = 1 } |
Public Member Functions | |
mEmcGeometryModule (ERealm type=kReal) | |
virtual | ~mEmcGeometryModule () |
void | BuildGeometry () |
void | BuildGeometryPISA () |
void | Retract () |
void | Retract (float *eastEmc, float *westEmc) |
void | SetSectorDim (int is, int nX, int nY) |
void | SetTowerSize (int is, float xsz, float ysz) |
void | SetMatrixVector (int is, PHMatrix mx, PHVector vt) |
void | GetSectorDim (int is, int &nX, int &nY) |
void | GetTowerSize (int is, float &xsz, float &ysz) |
void | GetMatrixVector (int is, PHMatrix &mx, PHVector &vt) |
int | GetTowerPosLocal (int is, int ind, float &x, float &y, float &z) |
int | GetTowerPosLocal (int is, int ix, int iy, float &x, float &y, float &z) |
int | GetTowerPosGlobal (int is, int ind, float &x, float &y, float &z) |
int | GetTowerPosGlobal (int is, int ix, int iy, float &x, float &y, float &z) |
double | GetSectorCenterInGlobalCoords (int is, int xyz) |
void | LocalToGlobal (int is, float xl, float yl, float zl, float &xg, float &yg, float &zg) |
void | GlobalToLocal (float xg, float yg, float zg, int is, float &xl, float &yl, float &zl) |
void | print () |
void | printCorners () |
void | printSectorNumberingConventions () |
PHPanel | GetPanel (short arm, short sector) |
julia's additions | |
void | BuildPanels () |
void | readFromDB () |
PHBoolean | isIntersection (PHLine &, const short &) |
PHBoolean | Intersection (PHLine &, const short &, PHPoint &) |
int | HitInEMCalAcceptance (const float *, const float *) |
int | EventInEMCalAcceptance (const PISAEvent *pisaEvent, const int kevent, TTree *T) |
bool | HitInPbSc (const float *, const float *, int &) |
bool | HitInPbGl (const float *, const float *, int &) |
Static Public Member Functions | |
static int | emcOfflineToEmc (short arm, short sector) |
From EMCAL offline (arm,sector) convention to this module sector number convention. | |
static int | emcOfflineToEmcOnline (short arm, short sector) |
From EMCAL offline (arm,sector) to EMCAL online (sector) sector number convention. | |
static void | emcToPhenix (int i, short &arm, short §or) |
From sector number (0-7) (this module convention) get ARM and SECTOR in PHENIX convention. | |
static int | emcToEmcOnline (int iS) |
From sector number (this module convention) to sector number (emc online convention). | |
static int | emcOnlineToEmc (int is) |
From sector number (emc online convention) to sector number (this module convention). | |
static int | PhenixToEmc (short arm, short sector) |
From ARM and SECTOR (PHENIX convention) get sector number (this module convention). | |
Private Attributes | |
int | nx [MAX_SECTORS] |
int | ny [MAX_SECTORS] |
float | tower_xsize [MAX_SECTORS] |
float | tower_ysize [MAX_SECTORS] |
PHMatrix | emcrm [MAX_SECTORS] |
PHVector | emctr [MAX_SECTORS] |
PHMatrix | invemcrm [MAX_SECTORS] |
PHVector | invemctr [MAX_SECTORS] |
PHPanel | emcSectors [NARMS][NSECTORS] |
|
Definition at line 30 of file mEmcGeometryModule.h. |
|
|
|
Definition at line 34 of file mEmcGeometryModule.h. |
|
Definition at line 141 of file mEmcGeometryModule.C. References emcrm, emctr, invemcrm, invemctr, MAX_SECTORS, and readFromDB(). |
|
Definition at line 48 of file mEmcGeometryModule.C. References emcrm, emctr, nx, ny, tower_xsize, and tower_ysize. Referenced by readFromDB(). |
|
Definition at line 611 of file mEmcGeometryModule.C. References emcSectors, emcToPhenix(), LocalToGlobal(), nx, ny, tower_xsize, and tower_ysize. Referenced by SetMatrixVector(). |
|
From EMCAL offline (arm,sector) convention to this module sector number convention.
Definition at line 568 of file mEmcGeometryModule.C. References PhenixToEmc(). Referenced by emcOfflineToEmcOnline(). |
|
From EMCAL offline (arm,sector) to EMCAL online (sector) sector number convention.
Definition at line 576 of file mEmcGeometryModule.C. References emcOfflineToEmc(), and emcToEmcOnline(). |
|
From sector number (emc online convention) to sector number (this module convention).
Definition at line 584 of file mEmcGeometryModule.C. References emcToEmcOnline(). |
|
From sector number (this module convention) to sector number (emc online convention).
Definition at line 546 of file mEmcGeometryModule.C. Referenced by emcOfflineToEmcOnline(), emcOnlineToEmc(), and printSectorNumberingConventions(). |
|
From sector number (0-7) (this module convention) get ARM and SECTOR in PHENIX convention.
Definition at line 532 of file mEmcGeometryModule.C. Referenced by BuildPanels(), GetSectorCenterInGlobalCoords(), Intersection(), printSectorNumberingConventions(), and SetMatrixVector(). |
|
Definition at line 762 of file mEmcGeometryModule.C. References HitInEMCalAcceptance(). |
|
Definition at line 335 of file mEmcGeometryModule.C. References emcrm, emctr, and MAX_SECTORS. Referenced by mEmcClusterNewModule::mEmcClusterNewModule(). |
|
julia's additions
Definition at line 524 of file mEmcGeometryModule.C. References emcSectors. Referenced by GetSectorCenterInGlobalCoords(). |
|
Definition at line 453 of file mEmcGeometryModule.C. References emcToPhenix(), and GetPanel(). |
|
Definition at line 307 of file mEmcGeometryModule.C. References MAX_SECTORS, nx, and ny. Referenced by mEmcClusterNewModule::mEmcClusterNewModule(). |
|
Definition at line 427 of file mEmcGeometryModule.C. References ABSURD, emcrm, emctr, and GetTowerPosLocal(). |
|
Definition at line 402 of file mEmcGeometryModule.C. References ABSURD, emcrm, emctr, and GetTowerPosLocal(). |
|
Definition at line 375 of file mEmcGeometryModule.C. References ABSURD, MAX_SECTORS, ny, tower_xsize, and tower_ysize. |
|
Definition at line 347 of file mEmcGeometryModule.C. References ABSURD, MAX_SECTORS, nx, ny, tower_xsize, and tower_ysize. Referenced by GetTowerPosGlobal(). |
|
Definition at line 321 of file mEmcGeometryModule.C. References MAX_SECTORS, tower_xsize, and tower_ysize. Referenced by mEmcClusterNewModule::mEmcClusterNewModule(). |
|
Definition at line 506 of file mEmcGeometryModule.C. References invemcrm, invemctr, and MAX_SECTORS. |
|
Definition at line 718 of file mEmcGeometryModule.C. References isIntersection(). Referenced by EventInEMCalAcceptance(), HitInPbGl(), and HitInPbSc(). |
|
Definition at line 943 of file mEmcGeometryModule.C. References HitInEMCalAcceptance(). |
|
Definition at line 925 of file mEmcGeometryModule.C. References HitInEMCalAcceptance(). |
|
Definition at line 690 of file mEmcGeometryModule.C. References emcSectors, and emcToPhenix(). Referenced by isIntersection(). |
|
Definition at line 682 of file mEmcGeometryModule.C. References Intersection(). Referenced by mEmcToolsModule::HitInEMCalAcceptance(), and HitInEMCalAcceptance(). |
|
Definition at line 489 of file mEmcGeometryModule.C. References emcrm, emctr, and MAX_SECTORS. Referenced by BuildPanels(), and printCorners(). |
|
From ARM and SECTOR (PHENIX convention) get sector number (this module convention).
Definition at line 591 of file mEmcGeometryModule.C. Referenced by emcOfflineToEmc(). |
|
Definition at line 213 of file mEmcGeometryModule.C. References emctr, nx, ny, tower_xsize, and tower_ysize. |
|
Definition at line 228 of file mEmcGeometryModule.C. References LocalToGlobal(), nx, ny, tower_xsize, and tower_ysize. |
|
Definition at line 117 of file mEmcGeometryModule.C. References emcToEmcOnline(), emcToPhenix(), MAX_SECTORS, and name. |
|
Definition at line 157 of file mEmcGeometryModule.C. References BuildGeometryPISA(), emcrm, emctr, emcDBMS::get(), emcDataManager::GetInstance(), MAX_SECTORS, emcGeometry::NumberOfSectors(), SecGeom::nx, nx, SecGeom::ny, ny, emcDataManager::Read(), SecGeom::RotationMatrix(), emcGeometry::Sector(), emcManageable::SetSource(), SecGeom::Tower_xSize, tower_xsize, SecGeom::Tower_ySize, tower_ysize, and SecGeom::TranslationVector(). Referenced by BuildGeometry(). |
|
Definition at line 193 of file mEmcGeometryModule.C. References emctr. |
|
Definition at line 185 of file mEmcGeometryModule.C. |
|
Definition at line 287 of file mEmcGeometryModule.C. References BuildPanels(), emcrm, emcToPhenix(), emctr, invemcrm, invemctr, and MAX_SECTORS. |
|
Definition at line 263 of file mEmcGeometryModule.C. References MAX_SECTORS, nx, and ny. |
|
Definition at line 275 of file mEmcGeometryModule.C. References MAX_SECTORS, tower_xsize, and tower_ysize. |
|
Definition at line 104 of file mEmcGeometryModule.h. Referenced by BuildGeometry(), BuildGeometryPISA(), GetMatrixVector(), GetTowerPosGlobal(), LocalToGlobal(), readFromDB(), and SetMatrixVector(). |
|
Definition at line 108 of file mEmcGeometryModule.h. Referenced by BuildPanels(), GetPanel(), and Intersection(). |
|
Definition at line 105 of file mEmcGeometryModule.h. Referenced by BuildGeometry(), BuildGeometryPISA(), GetMatrixVector(), GetTowerPosGlobal(), LocalToGlobal(), print(), readFromDB(), Retract(), and SetMatrixVector(). |
|
Definition at line 106 of file mEmcGeometryModule.h. Referenced by BuildGeometry(), GlobalToLocal(), and SetMatrixVector(). |
|
Definition at line 107 of file mEmcGeometryModule.h. Referenced by BuildGeometry(), GlobalToLocal(), and SetMatrixVector(). |
|
Definition at line 100 of file mEmcGeometryModule.h. Referenced by BuildGeometryPISA(), BuildPanels(), GetSectorDim(), GetTowerPosLocal(), print(), printCorners(), readFromDB(), and SetSectorDim(). |
|
Definition at line 101 of file mEmcGeometryModule.h. Referenced by BuildGeometryPISA(), BuildPanels(), GetSectorDim(), GetTowerPosLocal(), print(), printCorners(), readFromDB(), and SetSectorDim(). |
|
Definition at line 102 of file mEmcGeometryModule.h. Referenced by BuildGeometryPISA(), BuildPanels(), GetTowerPosLocal(), GetTowerSize(), print(), printCorners(), readFromDB(), and SetTowerSize(). |
|
Definition at line 103 of file mEmcGeometryModule.h. Referenced by BuildGeometryPISA(), BuildPanels(), GetTowerPosLocal(), GetTowerSize(), print(), printCorners(), readFromDB(), and SetTowerSize(). |