CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes
MEEEGeom Class Reference

#include <MEEEGeom.h>

Public Types

typedef int CrysCoord
 
enum  EEUnit {
  iEcalEndCap =0, iDee, iQuadrant, iSector,
  iDCC, iLMRegion, iLMModule, iSuperCrystal,
  iCrystal
}
 
typedef std::pair< float, float > EtaPhiPoint
 
typedef int SuperCrysCoord
 

Public Member Functions

virtual ~MEEEGeom ()
 

Static Public Member Functions

static std::vector< int > apdRefChannels (int ilmmod)
 
static int apdRefTower (int ilmr, int ilmmod)
 
static int crystal (CrysCoord ix, CrysCoord iy)
 
static int crystal_in_sc (CrysCoord ix, CrysCoord iy)
 
static int dcc (SuperCrysCoord iX, SuperCrysCoord iY, int iz)
 
static int dccFromSm (int ism)
 
static int dee (SuperCrysCoord iX, SuperCrysCoord iY, int iz)
 
static int dee (int ilmr)
 
static int deeFromMem (int imem)
 
static void getBoundary (std::list< std::pair< float, float > > &l, int type, int num, int iz=-1, int xside=0)
 
static TGraph * getGraphBoundary (int type, int num, int iz=-1, int xside=0)
 
static int lmmod (SuperCrysCoord iX, SuperCrysCoord iY)
 
static std::vector< int > lmmodFromLmr (int ilmr)
 
static int lmr (SuperCrysCoord iX, SuperCrysCoord iY, int iz)
 
static std::pair< int, int > memFromLmr (int ilmr)
 
static bool near (int ilmr)
 
static std::pair< int, int > pn (int dee, int ilmod)
 
static int quadrant (SuperCrysCoord iX, SuperCrysCoord iY)
 
static int sc (SuperCrysCoord iX, SuperCrysCoord iY)
 
static int sc_in_quad (SuperCrysCoord iX, SuperCrysCoord iY)
 
static int sc_type (SuperCrysCoord iX, SuperCrysCoord iY)
 
static int sector (SuperCrysCoord iX, SuperCrysCoord iY)
 
static int side (SuperCrysCoord iX, SuperCrysCoord iY, int iz)
 
static int sm (SuperCrysCoord iX, SuperCrysCoord iY, int iz)
 
static int smFromDcc (int idcc)
 
static TString smName (int ism)
 

Static Public Attributes

static bool pnTheory = true
 

Detailed Description

Definition at line 15 of file MEEEGeom.h.

Member Typedef Documentation

typedef int MEEEGeom::CrysCoord

Definition at line 23 of file MEEEGeom.h.

typedef std::pair<float,float> MEEEGeom::EtaPhiPoint

Definition at line 25 of file MEEEGeom.h.

Definition at line 22 of file MEEEGeom.h.

Member Enumeration Documentation

Enumerator
iEcalEndCap 
iDee 
iQuadrant 
iSector 
iDCC 
iLMRegion 
iLMModule 
iSuperCrystal 
iCrystal 

Definition at line 20 of file MEEEGeom.h.

Constructor & Destructor Documentation

virtual MEEEGeom::~MEEEGeom ( )
inlinevirtual

Definition at line 61 of file MEEEGeom.h.

61 {}

Member Function Documentation

std::vector< int > MEEEGeom::apdRefChannels ( int  ilmmod)
static

Definition at line 1097 of file MEEEGeom.cc.

int MEEEGeom::apdRefTower ( int  ilmr,
int  ilmmod 
)
static

Definition at line 1006 of file MEEEGeom.cc.

int MEEEGeom::crystal ( CrysCoord  ix,
CrysCoord  iy 
)
static

Definition at line 398 of file MEEEGeom.cc.

int MEEEGeom::crystal_in_sc ( CrysCoord  ix,
CrysCoord  iy 
)
static

Definition at line 299 of file MEEEGeom.cc.

int MEEEGeom::dcc ( SuperCrysCoord  iX,
SuperCrysCoord  iY,
int  iz 
)
static

Definition at line 222 of file MEEEGeom.cc.

int MEEEGeom::dccFromSm ( int  ism)
static

Definition at line 429 of file MEEEGeom.cc.

int MEEEGeom::dee ( SuperCrysCoord  iX,
SuperCrysCoord  iY,
int  iz 
)
static

Definition at line 284 of file MEEEGeom.cc.

int MEEEGeom::dee ( int  ilmr)
static

Definition at line 882 of file MEEEGeom.cc.

int MEEEGeom::deeFromMem ( int  imem)
static

Definition at line 602 of file MEEEGeom.cc.

void MEEEGeom::getBoundary ( std::list< std::pair< float, float > > &  l,
int  type,
int  num,
int  iz = -1,
int  xside = 0 
)
static

Definition at line 486 of file MEEEGeom.cc.

TGraph * MEEEGeom::getGraphBoundary ( int  type,
int  num,
int  iz = -1,
int  xside = 0 
)
static

Definition at line 460 of file MEEEGeom.cc.

int MEEEGeom::lmmod ( SuperCrysCoord  iX,
SuperCrysCoord  iY 
)
static

Definition at line 94 of file MEEEGeom.cc.

std::vector< int > MEEEGeom::lmmodFromLmr ( int  ilmr)
static

Definition at line 948 of file MEEEGeom.cc.

int MEEEGeom::lmr ( SuperCrysCoord  iX,
SuperCrysCoord  iY,
int  iz 
)
static

Definition at line 250 of file MEEEGeom.cc.

std::pair< int, int > MEEEGeom::memFromLmr ( int  ilmr)
static

Definition at line 904 of file MEEEGeom.cc.

bool MEEEGeom::near ( int  ilmr)
static

Definition at line 932 of file MEEEGeom.cc.

std::pair< int, int > MEEEGeom::pn ( int  dee,
int  ilmod 
)
static

Definition at line 615 of file MEEEGeom.cc.

int MEEEGeom::quadrant ( SuperCrysCoord  iX,
SuperCrysCoord  iY 
)
static

Definition at line 16 of file MEEEGeom.cc.

int MEEEGeom::sc ( SuperCrysCoord  iX,
SuperCrysCoord  iY 
)
static

Definition at line 211 of file MEEEGeom.cc.

int MEEEGeom::sc_in_quad ( SuperCrysCoord  iX,
SuperCrysCoord  iY 
)
static

Definition at line 142 of file MEEEGeom.cc.

int MEEEGeom::sc_type ( SuperCrysCoord  iX,
SuperCrysCoord  iY 
)
static

Definition at line 176 of file MEEEGeom.cc.

int MEEEGeom::sector ( SuperCrysCoord  iX,
SuperCrysCoord  iY 
)
static

Definition at line 31 of file MEEEGeom.cc.

int MEEEGeom::side ( SuperCrysCoord  iX,
SuperCrysCoord  iY,
int  iz 
)
static

Definition at line 939 of file MEEEGeom.cc.

int MEEEGeom::sm ( SuperCrysCoord  iX,
SuperCrysCoord  iY,
int  iz 
)
static

Definition at line 83 of file MEEEGeom.cc.

int MEEEGeom::smFromDcc ( int  idcc)
static

Definition at line 439 of file MEEEGeom.cc.

TString MEEEGeom::smName ( int  ism)
static

Definition at line 415 of file MEEEGeom.cc.

Member Data Documentation

bool MEEEGeom::pnTheory = true
static

Definition at line 48 of file MEEEGeom.h.