1 #ifndef EcalRegionCabling_H
2 #define EcalRegionCabling_H
33 const uint32_t
index)
const;
37 const int index)
const;
42 const double phi)
const;
88 const uint32_t
index)
const{
89 LogDebug(
"EcalRawToRecHit|Cabling")<<
"updating a refgetter with element index: "<<
index;
96 const int fedindex)
const{
97 LogDebug(
"EcalRawToRecHit|Cabling")<<
"updating a refgetter with fed index: "<<fedindex;
105 const double phi)
const{
107 LogDebug(
"EcalRawToRecHit|Cabling")<<
"updating a refgetter with eta: "<<eta<<
" phi: "<<
phi;
T getParameter(std::string const &) const
int GetFED(double eta, double phi) const
const ESElectronicsMapper * es_mapping_
void push_back(const edm::Handle< LazyGetter< T > > &, const uint32_t &)
Add a new region to the end of the collection.
void updateEcalRefGetterWithElementIndex(edm::RefGetter< T > &refgetter, const edm::Handle< edm::LazyGetter< T > > &lazygetter, const uint32_t index) const
const EcalElectronicsMapping * mapping() const
static int fedIndex(const uint32_t index)
static uint32_t esElementIndex(const int FEDindex)
EcalRegionCabling(edm::ParameterSet &conf, const EcalElectronicsMapping *m)
void updateEcalRefGetterWithEtaPhi(edm::RefGetter< T > &refgetter, const edm::Handle< edm::LazyGetter< T > > &lazygetter, const double eta, const double phi) const
const EcalElectronicsMapping * mapping_
static uint32_t elementIndex(const int FEDindex)
uint32_t elementIndex(const double eta, const double phi) const
static uint32_t maxElementIndex()
Geom::Phi< T > phi() const
static int esFedIndex(const uint32_t index)
const ESElectronicsMapper * es_mapping() const
static uint32_t maxESElementIndex()
void updateEcalRefGetterWithFedIndex(edm::RefGetter< T > &refgetter, const edm::Handle< edm::LazyGetter< T > > &lazygetter, const int index) const