#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 91 of file HcalMappingEntry.h.
CALIBLogicalMapEntry::CALIBLogicalMapEntry |
( |
| ) |
|
|
inline |
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 201 of file HcalMappingEntry.cc.
References HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOuter, HcalFrontEndId::rawId(), HcalElectronicsId::rawId(), DetId::rawId(), and HcalElectronicsId::setHTR().
209 (in_s_fpga==
"bot") ? mytopbot = 0 : mytopbot = 1;
219 heid.setHTR( in_cr, in_htr, mytopbot );
224 else if (in_s_det==
"HE") mysubdet =
HcalEndcap;
225 else if (in_s_det==
"HO") mysubdet =
HcalOuter;
230 int in_rm, in_pix, in_qie, in_adc;
239 in_adc = in_fi_ch + ( 3 * ( in_rm_fi - 1 ) );
241 HcalFrontEndId hrbx( in_s_rbx, in_rm, in_pix, in_rm_fi, in_fi_ch, in_qie, in_adc );
std::string mycalibsubdet_
Readout chain identification for Hcal [31:26] Unused (so far) [25] Trigger-chain id flag [24:20] Read...
CALIBLogicalMapEntry::~CALIBLogicalMapEntry |
( |
| ) |
|
|
inline |
const DetId CALIBLogicalMapEntry::getDetId |
( |
| ) |
const |
|
inline |
Definition at line 112 of file HcalMappingEntry.h.
References hcalEID_.
Readout chain identification for Hcal [31:26] Unused (so far) [25] Trigger-chain id flag [24:20] Read...
const HcalFrontEndId CALIBLogicalMapEntry::getHcalFrontEndId |
( |
| ) |
const |
|
inline |
const uint32_t CALIBLogicalMapEntry::getLinearIndex |
( |
| ) |
const |
|
inline |
char * CALIBLogicalMapEntry::printLMapLine |
( |
| ) |
|
Definition at line 249 of file HcalMappingEntry.cc.
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().
251 static char myline[512];
260 if ((hcaleid.dccid()%2)==1) {
276 mydet =
"invalid")));
277 (hcaleid.htrTopBottom()==0) ? myfpga =
"bot" : myfpga =
"top";
279 sprintf(myline,
"%1d %6d %6d %6d %6d %6s %7s",0,
myside_,hcalcalibid.ieta(),hcalcalibid.iphi(),
mydphi_,mydet.c_str(),rbxid.rbx().c_str());
280 sprintf(myline+strlen(myline),
"%8d %6d %6d %6d %6d %4d %5s",
mywedge_,rbxid.rm(),rbxid.rmFiber(),hcaleid.fiberChanId(),hcaleid.readoutVMECrateId(),hcaleid.htrSlot(),myfpga.c_str());
281 sprintf(myline+strlen(myline),
"%8d %7d %6d %4d %6d %8d %9s\n",hcaleid.fiberIndex(),mydcc_sl,hcaleid.spigot(),mydcc,hcaleid.dccid()+700, hcalcalibid.cboxChannel(),
mycalibsubdet_.c_str());
std::string mycalibsubdet_
Readout chain identification for Hcal [31:26] Unused (so far) [25] Trigger-chain id flag [24:20] Read...
uint32_t CALIBLogicalMapEntry::hcalCalibDetID_ |
|
private |
uint32_t CALIBLogicalMapEntry::hcalEID_ |
|
private |
uint32_t CALIBLogicalMapEntry::hcalFrontEndID_ |
|
private |
std::string CALIBLogicalMapEntry::mycalibsubdet_ |
|
private |
int CALIBLogicalMapEntry::mydphi_ |
|
private |
int CALIBLogicalMapEntry::myside_ |
|
private |
int CALIBLogicalMapEntry::mywedge_ |
|
private |