53 int slot = eid.
slot();
421 std::vector<std::string>
labels;
435 std::vector<std::string>
labels;
449 std::vector<std::string>
labels;
462 std::vector<std::string>
labels;
467 sprintf(name,
"%d%c",
476 std::vector<std::string>
labels;
490 std::vector<std::string>
labels;
504 std::vector<std::string>
labels;
518 return std::vector<std::string>();
523 return std::vector<std::string>();
539 std::vector<std::string>
labels;
553 std::vector<std::string>
labels;
567 std::vector<std::string>
labels;
581 std::vector<std::string>
labels;
593 sprintf(name,
"%d-%d",
603 std::vector<std::string>
labels;
616 sprintf(name,
"%d-%d",
625 std::vector<std::string>
labels;
647 std::vector<std::string>
labels;
668 std::vector<std::string>
labels;
682 std::vector<std::string>
labels;
696 std::vector<std::string>
labels;
712 std::vector<std::string>
labels;
726 std::vector<std::string>
labels;
740 std::vector<std::string>
labels;
757 for (uint32_t
i=0;
i<vFEDs.size();
i++)
758 _feds.insert(std::make_pair(vFEDs[
i], i));
779 sprintf(name,
"%d", v.first);
794 for (
auto& it_crate : crates) {
795 _crates.push_back(it_crate);
796 _crateHashes[it_crate] = crateHashes[it_crate];
808 auto it =
std::find(_crates.begin(), _crates.end(), crate);
809 if (it == _crates.end()) {
818 std::vector<std::string>
labels;
820 for (
auto& it_crate : _crates) {
823 sprintf(name,
"%dv", it_crate);
825 sprintf(name,
"%du", it_crate);
827 labels.push_back(name);
std::vector< std::string > getLabels_Crate()
std::vector< std::string > getLabels_Spigot()
virtual void setup(HcalElectronicsMap const *emap)
virtual void setup(std::vector< int > const &vFEDs)
HcalElectronicsId getEid_FEDuTCASlot(int)
int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
uint32_t getBin_SlotuTCA(HcalElectronicsId const &)
virtual std::string name()
HcalElectronicsId getEid_SLB(int)
uint32_t getBin_SLBSLBCh(HcalElectronicsId const &)
HcalElectronicsId getEid_FiberuTCAFiberCh(int)
std::vector< std::string > getLabels_FED()
std::pair< uint16_t, uint16_t > fed2crate(int fed)
int getValue_FiberChuTCATP(HcalElectronicsId const &)
int getValue_FED(HcalElectronicsId const &)
uint32_t getBin_CrateuTCA(HcalElectronicsId const &)
int getValue_SLBSLBCh(HcalElectronicsId const &)
int getValue_SlotVME(HcalElectronicsId const &)
int getValue_Spigot(HcalElectronicsId const &)
HcalElectronicsId getEid_FiberuTCA(int)
std::vector< std::string > getLabels_SlotVME()
uint16_t crate2fed(int crate, int slot)
uint32_t getBin_FiberuTCAFiberCh(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberChuTCATP()
uint32_t getBin_FiberVMEFiberCh(HcalElectronicsId const &)
int getValue_FiberuTCATP(HcalElectronicsId const &)
HcalElectronicsId getEid_SlotVME(int)
uint32_t getBin_FEDVME(HcalElectronicsId const &)
uint32_t getBin_FiberuTCATP(HcalElectronicsId const &)
uint32_t getBin_FiberChuTCATP(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberVMEFiberCh()
int getValue_FiberVME(HcalElectronicsId const &)
uint32_t getBin_FEDuTCASlot(HcalElectronicsId const &)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
HcalElectronicsId getEid_CrateVME(int)
std::vector< std::string > getLabels_FiberuTCATPFiberChuTCATP()
std::vector< std::string > getLabels_SLB()
int crateId() const
get the readout VME crate number
std::vector< std::string > getLabels_FEDuTCA()
virtual std::vector< std::string > getLabels()
U second(std::pair< T, U > const &p)
HcalElectronicsId getEid_SLBCh(int)
HcalElectronicsId getEid_SlotuTCA(int)
Container::value_type value_type
HcalElectronicsId getEid_Spigot(int)
int getValue_SLBCh(HcalElectronicsId const &)
virtual uint32_t getBin(HcalElectronicsId const &)
virtual uint32_t getBin(HcalElectronicsId const &)
std::vector< std::string > getLabels_FEDVME()
HcalElectronicsId getEid_FiberVME(int)
int getValue_FiberCh(HcalElectronicsId const &)
uint32_t getBin_SLB(HcalElectronicsId const &)
HcalElectronicsId getEid_FiberuTCATPFiberChuTCATP(int)
HcalElectronicsId getEid_FEDuTCA(int)
std::vector< std::string > getLabels_CrateuTCA()
int const FIBER_uTCA_MIN2
uint32_t getBin_FiberVME(HcalElectronicsId const &)
int getValue_Crate(HcalElectronicsId const &)
int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
int const CRATE_TOTAL_NUM
std::vector< std::string > getLabels_SlotuTCA()
int const FIBER_uTCA_MIN1
int getValue_CrateuTCA(HcalElectronicsId const &)
virtual int getValue(HcalElectronicsId const &)
int getValue_FEDVME(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberuTCATP()
HcalElectronicsId getEid_FEDVMESpigot(int)
uint32_t getBin_FED(HcalElectronicsId const &)
int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
std::map< int, uint32_t > getCrateHashMap(HcalElectronicsMap const *emap)
HcalElectronicsId getEid_FiberVMEFiberCh(int)
uint32_t getBin_SlotVME(HcalElectronicsId const &)
uint32_t getBin_FEDuTCA(HcalElectronicsId const &)
int spigot() const
get the spigot (input number on DCC, AMC card number for uTCA)
uint32_t getBin_CrateVME(HcalElectronicsId const &)
int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
std::vector< int > getCrateList(HcalElectronicsMap const *emap)
int getValue_FiberuTCAFiberCh(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberVME()
std::vector< std::string > getLabels_FiberCh()
int getValue_CrateVME(HcalElectronicsId const &)
std::vector< std::string > getLabels_FEDVMESpigot()
int getValue_SlotuTCA(HcalElectronicsId const &)
int slot() const
get the htr or uHTR slot
std::vector< std::string > getLabels_FEDuTCASlot()
int getValue_FiberVMEFiberCh(HcalElectronicsId const &)
uint32_t getBin_SLBCh(HcalElectronicsId const &)
uint32_t getBin_Spigot(HcalElectronicsId const &)
int getValue_FEDVMESpigot(HcalElectronicsId const &)
int slbSiteNumber() const
get the SLB site number (valid only for VME trigger-chain ids)
std::vector< std::string > getLabels_SLBCh()
int getValue_FEDuTCA(HcalElectronicsId const &)
HcalElectronicsId getEid_FiberCh(int)
virtual std::vector< std::string > getLabels()
virtual int getValue(HcalElectronicsId const &)
HcalElectronicsId getEid_FiberChuTCATP(int)
HcalElectronicsId getEid_FED(int)
int getValue_FiberuTCATPFiberChuTCATP(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberuTCA()
std::vector< std::string > getLabels_CrateVME()
uint32_t getBin_FiberCh(HcalElectronicsId const &)
uint32_t getBin_Crate(HcalElectronicsId const &)
uint32_t getBin_FEDVMESpigot(HcalElectronicsId const &)
int getValue_FEDuTCASlot(HcalElectronicsId const &)
uint32_t getBin_FiberuTCA(HcalElectronicsId const &)
HcalElectronicsId getEid_CrateuTCA(int)
uint32_t getBin_FiberuTCATPFiberChuTCATP(HcalElectronicsId const &)
int getValue_SLB(HcalElectronicsId const &)
HcalElectronicsId getEid_Crate(int)
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
int const FIBER_uTCA_MAX1
HcalElectronicsId getEid_SLBSLBCh(int)
int getValue_FiberuTCA(HcalElectronicsId const &)
HcalElectronicsId getEid_FEDVME(int)
std::vector< std::string > getLabels_SLBSLBCh()
std::vector< std::string > getLabels_FiberuTCAFiberCh()