#include <HcalMappingEntry.h>
|
| CALIBLogicalMapEntry () |
|
| CALIBLogicalMapEntry (int in_fi_ch, int in_htr_fi, int in_spig, int in_fed, int in_cr, int in_htr, std::string in_s_fpga, std::string in_s_det, int in_et, int in_ph, int in_ch_ty, int in_sid, int in_dph, std::string in_s_rbx, int in_wed, int in_rm_fi, std::string in_s_subdet) |
|
const DetId | getDetId () const |
|
const HcalElectronicsId | getHcalElectronicsId () const |
|
const HcalFrontEndId | getHcalFrontEndId () const |
|
const uint32_t | getLinearIndex () const |
|
char * | printLMapLine () |
|
| ~CALIBLogicalMapEntry () |
|
Definition at line 117 of file HcalMappingEntry.h.
◆ CALIBLogicalMapEntry() [1/2]
CALIBLogicalMapEntry::CALIBLogicalMapEntry |
( |
| ) |
|
|
inline |
◆ CALIBLogicalMapEntry() [2/2]
CALIBLogicalMapEntry::CALIBLogicalMapEntry |
( |
int |
in_fi_ch, |
|
|
int |
in_htr_fi, |
|
|
int |
in_spig, |
|
|
int |
in_fed, |
|
|
int |
in_cr, |
|
|
int |
in_htr, |
|
|
std::string |
in_s_fpga, |
|
|
std::string |
in_s_det, |
|
|
int |
in_et, |
|
|
int |
in_ph, |
|
|
int |
in_ch_ty, |
|
|
int |
in_sid, |
|
|
int |
in_dph, |
|
|
std::string |
in_s_rbx, |
|
|
int |
in_wed, |
|
|
int |
in_rm_fi, |
|
|
std::string |
in_s_subdet |
|
) |
| |
Definition at line 290 of file HcalMappingEntry.cc.
308 (in_s_fpga ==
"bot") ? mytopbot = 0 : mytopbot = 1;
318 heid.setHTR(in_cr, in_htr, mytopbot);
322 if (in_s_det ==
"HB")
324 else if (in_s_det ==
"HE")
326 else if (in_s_det ==
"HO")
328 else if (in_s_det ==
"HF")
333 int in_rm, in_pix, in_qie, in_adc;
335 if (in_s_det ==
"HF")
342 in_adc = in_fi_ch + (3 * (in_rm_fi - 1));
344 HcalFrontEndId hrbx(in_s_rbx, in_rm, in_pix, in_rm_fi, in_fi_ch, in_qie, in_adc);
References HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOuter, HcalFrontEndId::rawId(), DetId::rawId(), HcalElectronicsId::rawId(), and HcalElectronicsId::setHTR().
◆ ~CALIBLogicalMapEntry()
CALIBLogicalMapEntry::~CALIBLogicalMapEntry |
( |
| ) |
|
|
inline |
◆ getDetId()
const DetId CALIBLogicalMapEntry::getDetId |
( |
| ) |
const |
|
inline |
◆ getHcalElectronicsId()
◆ getHcalFrontEndId()
const HcalFrontEndId CALIBLogicalMapEntry::getHcalFrontEndId |
( |
| ) |
const |
|
inline |
◆ getLinearIndex()
const uint32_t CALIBLogicalMapEntry::getLinearIndex |
( |
| ) |
const |
|
inline |
◆ printLMapLine()
char * CALIBLogicalMapEntry::printLMapLine |
( |
| ) |
|
Definition at line 352 of file HcalMappingEntry.cc.
353 static char myline[512];
362 if ((hcaleid.dccid() % 2) == 1) {
377 : ((mysubdet ==
HcalOuter) ? mydet =
"HO"
378 : ((mysubdet ==
HcalForward) ? mydet =
"HF" : mydet =
"invalid")));
379 (hcaleid.htrTopBottom() == 0) ? myfpga =
"bot" : myfpga =
"top";
382 "%1d %6d %6d %6d %6d %6s %7s",
389 rbxid.rbx().c_str());
390 sprintf(myline + strlen(myline),
391 "%8d %6d %6d %6d %6d %4d %5s",
395 hcaleid.fiberChanId(),
396 hcaleid.readoutVMECrateId(),
399 sprintf(myline + strlen(myline),
400 "%8d %7d %6d %4d %6d %8d %9s\n",
401 hcaleid.fiberIndex(),
405 hcaleid.dccid() + 700,
406 hcalcalibid.cboxChannel(),
References HcalCalibDetId::cboxChannel(), HcalElectronicsId::dccid(), HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalCalibDetId::hcalSubdet(), HcalElectronicsId::htrSlot(), HcalElectronicsId::htrTopBottom(), HcalCalibDetId::ieta(), HcalCalibDetId::iphi(), HcalFrontEndId::rbx(), HcalElectronicsId::readoutVMECrateId(), HcalFrontEndId::rm(), HcalFrontEndId::rmFiber(), and HcalElectronicsId::spigot().
◆ hcalCalibDetID_
uint32_t CALIBLogicalMapEntry::hcalCalibDetID_ |
|
private |
◆ hcalEID_
uint32_t CALIBLogicalMapEntry::hcalEID_ |
|
private |
◆ hcalFrontEndID_
uint32_t CALIBLogicalMapEntry::hcalFrontEndID_ |
|
private |
◆ mycalibsubdet_
std::string CALIBLogicalMapEntry::mycalibsubdet_ |
|
private |
◆ mydphi_
int CALIBLogicalMapEntry::mydphi_ |
|
private |
◆ myside_
int CALIBLogicalMapEntry::myside_ |
|
private |
◆ mywedge_
int CALIBLogicalMapEntry::mywedge_ |
|
private |
std::string mycalibsubdet_