#include <EcalRegionCabling.h>
Public Member Functions | |
EcalRegionCabling (edm::ParameterSet &conf, const EcalElectronicsMapping *m) | |
uint32_t | elementIndex (const double eta, const double phi) const |
const ESElectronicsMapper * | es_mapping () const |
const EcalElectronicsMapping * | mapping () const |
template<class T > | |
void | updateEcalRefGetterWithElementIndex (edm::RefGetter< T > &refgetter, const edm::Handle< edm::LazyGetter< T > > &lazygetter, const uint32_t index) const |
template<class T > | |
void | updateEcalRefGetterWithEtaPhi (edm::RefGetter< T > &refgetter, const edm::Handle< edm::LazyGetter< T > > &lazygetter, const double eta, const double phi) const |
template<class T > | |
void | updateEcalRefGetterWithFedIndex (edm::RefGetter< T > &refgetter, const edm::Handle< edm::LazyGetter< T > > &lazygetter, const int index) const |
~EcalRegionCabling () | |
Static Public Member Functions | |
static uint32_t | elementIndex (const int FEDindex) |
static uint32_t | esElementIndex (const int FEDindex) |
static int | esFedIndex (const uint32_t index) |
static int | fedIndex (const uint32_t index) |
static uint32_t | maxElementIndex () |
static uint32_t | maxESElementIndex () |
Private Attributes | |
const ESElectronicsMapper * | es_mapping_ |
const EcalElectronicsMapping * | mapping_ |
Definition at line 15 of file EcalRegionCabling.h.
|
inline |
Definition at line 17 of file EcalRegionCabling.h.
References es_mapping_, and edm::ParameterSet::getParameter().
|
inline |
Definition at line 24 of file EcalRegionCabling.h.
References es_mapping_.
|
inlinestatic |
Definition at line 47 of file EcalRegionCabling.h.
References FEDNumbering::MAXECALFEDID, and FEDNumbering::MINECALFEDID.
Referenced by elementIndex(), and updateEcalRefGetterWithFedIndex().
|
inline |
Definition at line 76 of file EcalRegionCabling.h.
References elementIndex(), EcalElectronicsMapping::GetFED(), and mapping().
|
inline |
Definition at line 29 of file EcalRegionCabling.h.
References es_mapping_.
|
inlinestatic |
Definition at line 57 of file EcalRegionCabling.h.
References FEDNumbering::MAXPreShowerFEDID, and FEDNumbering::MINPreShowerFEDID.
|
inlinestatic |
Definition at line 71 of file EcalRegionCabling.h.
References FEDNumbering::MINPreShowerFEDID.
|
inlinestatic |
Definition at line 67 of file EcalRegionCabling.h.
References FEDNumbering::MINECALFEDID.
Referenced by ECALRegFEDSelector::produce().
|
inline |
Definition at line 28 of file EcalRegionCabling.h.
References mapping_.
Referenced by elementIndex(), and updateEcalRefGetterWithEtaPhi().
|
inlinestatic |
Definition at line 44 of file EcalRegionCabling.h.
References FEDNumbering::MAXECALFEDID, and FEDNumbering::MINECALFEDID.
|
inlinestatic |
Definition at line 45 of file EcalRegionCabling.h.
References FEDNumbering::MAXPreShowerFEDID, and FEDNumbering::MINPreShowerFEDID.
void EcalRegionCabling::updateEcalRefGetterWithElementIndex | ( | edm::RefGetter< T > & | refgetter, |
const edm::Handle< edm::LazyGetter< T > > & | lazygetter, | ||
const uint32_t | index | ||
) | const |
Definition at line 86 of file EcalRegionCabling.h.
References cmsHarvester::index, LogDebug, and edm::RefGetter< T >::push_back().
Referenced by updateEcalRefGetterWithFedIndex().
void EcalRegionCabling::updateEcalRefGetterWithEtaPhi | ( | edm::RefGetter< T > & | refgetter, |
const edm::Handle< edm::LazyGetter< T > > & | lazygetter, | ||
const double | eta, | ||
const double | phi | ||
) | const |
Definition at line 102 of file EcalRegionCabling.h.
References EcalElectronicsMapping::GetFED(), cmsHarvester::index, LogDebug, mapping(), phi, and updateEcalRefGetterWithFedIndex().
void EcalRegionCabling::updateEcalRefGetterWithFedIndex | ( | edm::RefGetter< T > & | refgetter, |
const edm::Handle< edm::LazyGetter< T > > & | lazygetter, | ||
const int | index | ||
) | const |
Definition at line 94 of file EcalRegionCabling.h.
References elementIndex(), LogDebug, and updateEcalRefGetterWithElementIndex().
Referenced by updateEcalRefGetterWithEtaPhi().
|
private |
Definition at line 82 of file EcalRegionCabling.h.
Referenced by EcalRegionCabling(), es_mapping(), and ~EcalRegionCabling().
|
private |
Definition at line 81 of file EcalRegionCabling.h.
Referenced by mapping().