CMS 3D CMS Logo

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

#include <HcalHPDRBXMap.h>

Static Public Member Functions

static int indexHPD (const HcalDetId &)
 
static void indexHPDfromEtaPhi (int ieta, int iphi, std::vector< int > &hpdindices)
 
static int indexRBX (const HcalDetId &)
 
static void indexRBXfromEtaPhi (int ieta, int iphi, std::vector< int > &rbxindices)
 
static int indexRBXfromHPD (int hpdindex)
 
static void indicesHPDfromRBX (int rbxindex, boost::array< int, NUM_HPDS_PER_RBX > &hpdindices)
 
static int iphihiHPD (int index)
 
static int iphihiRBX (int index)
 
static int iphiloHPD (int index)
 
static int iphiloRBX (int index)
 
static bool isValid (const HcalDetId &)
 
static bool isValid (int ieta, int iphi)
 
static bool isValidHPD (int index)
 
static bool isValidRBX (int index)
 
static int numHPDs (void)
 
static int numHPDsPerRBX (void)
 
static int numHPDsPerSubdet (void)
 
static int numRBXs (void)
 
static int numRBXsPerSubdet (void)
 
static HcalSubdetector subdetHPD (int index)
 
static HcalSubdetector subdetRBX (int index)
 
static int zsideHPD (int index)
 
static int zsideRBX (int index)
 

Static Public Attributes

static const int NUM_HPDS =288
 
static const int NUM_HPDS_PER_RBX = 4
 
static const int NUM_HPDS_PER_SUBDET =72
 
static const int NUM_RBXS =72
 
static const int NUM_RBXS_PER_SUBDET =18
 

Private Member Functions

 HcalHPDRBXMap ()
 
 ~HcalHPDRBXMap ()
 

Detailed Description

Definition at line 23 of file HcalHPDRBXMap.h.

Constructor & Destructor Documentation

HcalHPDRBXMap::HcalHPDRBXMap ( )
private

Definition at line 14 of file HcalHPDRBXMap.cc.

HcalHPDRBXMap::~HcalHPDRBXMap ( )
private

Definition at line 15 of file HcalHPDRBXMap.cc.

Member Function Documentation

int HcalHPDRBXMap::indexHPD ( const HcalDetId id)
static

Definition at line 187 of file HcalHPDRBXMap.cc.

void HcalHPDRBXMap::indexHPDfromEtaPhi ( int  ieta,
int  iphi,
std::vector< int > &  hpdindices 
)
static

Definition at line 227 of file HcalHPDRBXMap.cc.

int HcalHPDRBXMap::indexRBX ( const HcalDetId id)
static

Definition at line 222 of file HcalHPDRBXMap.cc.

void HcalHPDRBXMap::indexRBXfromEtaPhi ( int  ieta,
int  iphi,
std::vector< int > &  rbxindices 
)
static

Definition at line 248 of file HcalHPDRBXMap.cc.

int HcalHPDRBXMap::indexRBXfromHPD ( int  hpdindex)
static

Definition at line 176 of file HcalHPDRBXMap.cc.

void HcalHPDRBXMap::indicesHPDfromRBX ( int  rbxindex,
boost::array< int, NUM_HPDS_PER_RBX > &  hpdindices 
)
static

Definition at line 163 of file HcalHPDRBXMap.cc.

int HcalHPDRBXMap::iphihiHPD ( int  index)
static

Definition at line 126 of file HcalHPDRBXMap.cc.

int HcalHPDRBXMap::iphihiRBX ( int  index)
static

Definition at line 147 of file HcalHPDRBXMap.cc.

int HcalHPDRBXMap::iphiloHPD ( int  index)
static

Definition at line 90 of file HcalHPDRBXMap.cc.

int HcalHPDRBXMap::iphiloRBX ( int  index)
static

Definition at line 111 of file HcalHPDRBXMap.cc.

bool HcalHPDRBXMap::isValid ( const HcalDetId id)
static

Definition at line 29 of file HcalHPDRBXMap.cc.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

bool HcalHPDRBXMap::isValid ( int  ieta,
int  iphi 
)
static

Definition at line 35 of file HcalHPDRBXMap.cc.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

bool HcalHPDRBXMap::isValidHPD ( int  index)
static

Definition at line 18 of file HcalHPDRBXMap.cc.

bool HcalHPDRBXMap::isValidRBX ( int  index)
static

Definition at line 24 of file HcalHPDRBXMap.cc.

static int HcalHPDRBXMap::numHPDs ( void  )
inlinestatic

Definition at line 39 of file HcalHPDRBXMap.h.

References NUM_HPDS.

39 { return NUM_HPDS; }
static const int NUM_HPDS
Definition: HcalHPDRBXMap.h:28
static int HcalHPDRBXMap::numHPDsPerRBX ( void  )
inlinestatic

Definition at line 41 of file HcalHPDRBXMap.h.

References NUM_HPDS_PER_RBX.

41 { return NUM_HPDS_PER_RBX; }
static const int NUM_HPDS_PER_RBX
Definition: HcalHPDRBXMap.h:32
static int HcalHPDRBXMap::numHPDsPerSubdet ( void  )
inlinestatic

Definition at line 40 of file HcalHPDRBXMap.h.

References NUM_HPDS_PER_SUBDET.

40 { return NUM_HPDS_PER_SUBDET; }
static const int NUM_HPDS_PER_SUBDET
Definition: HcalHPDRBXMap.h:30
static int HcalHPDRBXMap::numRBXs ( void  )
inlinestatic

Definition at line 42 of file HcalHPDRBXMap.h.

References NUM_RBXS.

42 { return NUM_RBXS; }
static const int NUM_RBXS
Definition: HcalHPDRBXMap.h:34
static int HcalHPDRBXMap::numRBXsPerSubdet ( void  )
inlinestatic

Definition at line 43 of file HcalHPDRBXMap.h.

References NUM_RBXS_PER_SUBDET.

43 { return NUM_RBXS_PER_SUBDET; }
static const int NUM_RBXS_PER_SUBDET
Definition: HcalHPDRBXMap.h:36
HcalSubdetector HcalHPDRBXMap::subdetHPD ( int  index)
static

Definition at line 46 of file HcalHPDRBXMap.cc.

HcalSubdetector HcalHPDRBXMap::subdetRBX ( int  index)
static

Definition at line 57 of file HcalHPDRBXMap.cc.

int HcalHPDRBXMap::zsideHPD ( int  index)
static

Definition at line 68 of file HcalHPDRBXMap.cc.

int HcalHPDRBXMap::zsideRBX ( int  index)
static

Definition at line 79 of file HcalHPDRBXMap.cc.

Member Data Documentation

const int HcalHPDRBXMap::NUM_HPDS =288
static

Definition at line 28 of file HcalHPDRBXMap.h.

Referenced by numHPDs().

const int HcalHPDRBXMap::NUM_HPDS_PER_RBX = 4
static

Definition at line 32 of file HcalHPDRBXMap.h.

Referenced by numHPDsPerRBX().

const int HcalHPDRBXMap::NUM_HPDS_PER_SUBDET =72
static

Definition at line 30 of file HcalHPDRBXMap.h.

Referenced by numHPDsPerSubdet().

const int HcalHPDRBXMap::NUM_RBXS =72
static

Definition at line 34 of file HcalHPDRBXMap.h.

Referenced by numRBXs().

const int HcalHPDRBXMap::NUM_RBXS_PER_SUBDET =18
static

Definition at line 36 of file HcalHPDRBXMap.h.

Referenced by numRBXsPerSubdet().