PbGlIndexer Class Reference

#include <PbGlIndexer.h>

Inherits EmcIndexer.

Inheritance diagram for PbGlIndexer:

Inheritance graph
[legend]
List of all members.

Detailed Description

Implementation of the EMCAL Indexer for the PbGl.

In this class all detector specific functions are defined. All functions act within the scope of a single Sector only

Definition at line 12 of file PbGlIndexer.h.

Public Member Functions

void iCHi24Packi24PackT (int &, int &, int &)
int i24Packi24PackTiCH (int &, int &)
int iCHi144PackT (int &)
int i144PackTiCH (int &)
void SMxySM (int, int &, int &)
 SM# -> xSM, ySM.
int xySTiST (int x, int y)
int SMxySMTiST (int, int, int)
 SM#, x(SM Tower), y(SM Tower) -> i(SectorTower).
int SMiSMTiST (int, int)
 SM, i(SM Tower) -> i(SectorTower).
void iSTxyST (int const , int &, int &)
 Converts i(SectorTower) -> x(SectorTower), y(SectorTower).
int xySMTiSMT (int x, int y)
 x(SM Tower), y(SM Tower) -> i(SM Tower).
int xySMiSM (int x, int y)
 xSM,ySM -> SM# (reverse operation of SMxySM).
void iSM24TxySM24T (int, int &, int &)
void iST_SMInd (int const , int &, int &, int &, int &)
 i(SectorTower) -> SM#, iSM144, iSM144T, x(SM144T), y(SM144T).
int SM24iSM24TiST (int iSM24, int iSM24T)
 Converts sequential number of the 24 channel wide supermodule (iSM24, 0-191) and a tower number defined on the scope of this supermodule (0-23) into Sector Tower number (0-4607 for PbGlass EMCal).

Static Public Member Functions

static PbGlIndexerbuildPbGlIndexer ()
static int deletePbGlIndexer ()

Protected Member Functions

 PbGlIndexer ()
virtual ~PbGlIndexer ()

Static Private Attributes

static PbGlIndexersingle = 0
static int access_count = 0


Constructor & Destructor Documentation

PbGlIndexer::PbGlIndexer  )  [protected]
 

Definition at line 8 of file PbGlIndexer.C.

Referenced by buildPbGlIndexer().

PbGlIndexer::~PbGlIndexer  )  [protected, virtual]
 

Definition at line 12 of file PbGlIndexer.C.


Member Function Documentation

PbGlIndexer * PbGlIndexer::buildPbGlIndexer  )  [static]
 

Definition at line 17 of file PbGlIndexer.C.

References access_count, PbGlIndexer(), and single.

Referenced by PbGlSector::BuildFromDB(), PbGlSector::BuildFromFiles(), EmcIndexer::iSiSMiSMTiPX(), EmcIndexer::iSiSMiSMTiST(), and EmcIndexer::iSiSTiSMiSMT().

int PbGlIndexer::deletePbGlIndexer  )  [static]
 

Definition at line 24 of file PbGlIndexer.C.

References access_count, and single.

int PbGlIndexer::i144PackTiCH int &   ) 
 

Definition at line 94 of file PbGlIndexer.C.

int PbGlIndexer::i24Packi24PackTiCH int &  ,
int & 
 

Definition at line 79 of file PbGlIndexer.C.

References iSM24TxySM24T().

int PbGlIndexer::iCHi144PackT int &   ) 
 

Definition at line 58 of file PbGlIndexer.C.

void PbGlIndexer::iCHi24Packi24PackT int &  ,
int &  ,
int & 
 

Definition at line 35 of file PbGlIndexer.C.

void PbGlIndexer::iSM24TxySM24T int  ,
int &  ,
int & 
 

Definition at line 152 of file PbGlIndexer.C.

Referenced by i24Packi24PackTiCH().

void PbGlIndexer::iST_SMInd int  const,
int &  ,
int &  ,
int &  ,
int & 
[virtual]
 

i(SectorTower) -> SM#, iSM144, iSM144T, x(SM144T), y(SM144T).

Implements EmcIndexer.

Definition at line 167 of file PbGlIndexer.C.

References iSTxyST().

Referenced by EmcIndexer::iSiSTiSMiSMT().

void PbGlIndexer::iSTxyST int  const,
int &  ,
int & 
[virtual]
 

Converts i(SectorTower) -> x(SectorTower), y(SectorTower).

Implements EmcIndexer.

Definition at line 160 of file PbGlIndexer.C.

Referenced by iST_SMInd().

int PbGlIndexer::SM24iSM24TiST int  iSM24,
int  iSM24T
 

Converts sequential number of the 24 channel wide supermodule (iSM24, 0-191) and a tower number defined on the scope of this supermodule (0-23) into Sector Tower number (0-4607 for PbGlass EMCal).

Definition at line 182 of file PbGlIndexer.C.

Referenced by PbGlSector::BuildFromDB(), and PbGlSector::BuildFromFiles().

int PbGlIndexer::SMiSMTiST int  ,
int 
[virtual]
 

SM, i(SM Tower) -> i(SectorTower).

Implements EmcIndexer.

Definition at line 143 of file PbGlIndexer.C.

References EmcIndexer::iSM144TxySM144T(), and SMxySM().

Referenced by EmcIndexer::iSiSMiSMTiPX(), and EmcIndexer::iSiSMiSMTiST().

void PbGlIndexer::SMxySM int  ,
int &  ,
int & 
[inline, virtual]
 

SM# -> xSM, ySM.

Implements EmcIndexer.

Definition at line 113 of file PbGlIndexer.C.

Referenced by SMiSMTiST(), and SMxySMTiST().

int PbGlIndexer::SMxySMTiST int  ,
int  ,
int 
[virtual]
 

SM#, x(SM Tower), y(SM Tower) -> i(SectorTower).

Implements EmcIndexer.

Definition at line 135 of file PbGlIndexer.C.

References SMxySM().

int PbGlIndexer::xySMiSM int  x,
int  y
[virtual]
 

xSM,ySM -> SM# (reverse operation of SMxySM).

Implements EmcIndexer.

Definition at line 122 of file PbGlIndexer.C.

int PbGlIndexer::xySMTiSMT int  x,
int  y
[inline, virtual]
 

x(SM Tower), y(SM Tower) -> i(SM Tower).

Implements EmcIndexer.

Definition at line 38 of file PbGlIndexer.h.

int PbGlIndexer::xySTiST int  x,
int  y
[inline]
 

Definition at line 30 of file PbGlIndexer.h.


Member Data Documentation

int PbGlIndexer::access_count = 0 [static, private]
 

Definition at line 54 of file PbGlIndexer.h.

Referenced by buildPbGlIndexer(), and deletePbGlIndexer().

PbGlIndexer * PbGlIndexer::single = 0 [static, private]
 

Definition at line 53 of file PbGlIndexer.h.

Referenced by buildPbGlIndexer(), and deletePbGlIndexer().


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