#include <HcalLogicalMap.h>
Public Member Functions | |
void | checkElectronicsHashIds () |
void | checkHashIds () |
void | checkIdFunctions () |
std::unique_ptr< HcalElectronicsMap > | generateHcalElectronicsMap () |
const DetId | getDetId (const HcalElectronicsId &) |
const HcalFrontEndId | getHcalFrontEndId (const DetId &) |
HcalLogicalMap (const HcalTopology *, std::vector< HBHEHFLogicalMapEntry > &, std::vector< HOHXLogicalMapEntry > &, std::vector< CALIBLogicalMapEntry > &, std::vector< ZDCLogicalMapEntry > &, std::vector< HTLogicalMapEntry > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &) | |
void | printMap (unsigned int mapIOV) |
~HcalLogicalMap () | |
Static Public Member Functions | |
static uint32_t | makeEntryNumber (bool, int, int) |
Private Member Functions | |
void | printCalibMap (FILE *calibmapfile) |
void | printHBEFMap (FILE *hbefmapfile) |
void | printHOXMap (FILE *hoxmapfile) |
void | printHTMap (FILE *htmapfile) |
void | printZDCMap (FILE *zdcmapfile) |
Private Attributes | |
std::vector< CALIBLogicalMapEntry > | CALIBEntries_ |
std::vector< uint32_t > | HbHash2Entry_ |
std::vector< HBHEHFLogicalMapEntry > | HBHEHFEntries_ |
std::vector< uint32_t > | HeHash2Entry_ |
std::vector< uint32_t > | HfHash2Entry_ |
std::vector< uint32_t > | HoHash2Entry_ |
std::vector< HOHXLogicalMapEntry > | HOHXEntries_ |
std::vector< HTLogicalMapEntry > | HTEntries_ |
std::vector< uint32_t > | HtHash2Entry_ |
std::vector< uint32_t > | HxCalibHash2Entry_ |
std::vector< uint32_t > | LinearIndex2Entry_ |
unsigned int | mapIOV_ |
const HcalTopology * | topo_ |
std::vector< ZDCLogicalMapEntry > | ZDCEntries_ |
std::vector< uint32_t > | ZdcHash2Entry_ |
Definition at line 12 of file HcalLogicalMap.h.
HcalLogicalMap::HcalLogicalMap | ( | const HcalTopology * | topo, |
std::vector< HBHEHFLogicalMapEntry > & | HBHEHFEntries, | ||
std::vector< HOHXLogicalMapEntry > & | HOHXEntries, | ||
std::vector< CALIBLogicalMapEntry > & | CALIBEntries, | ||
std::vector< ZDCLogicalMapEntry > & | ZDCEntries, | ||
std::vector< HTLogicalMapEntry > & | HTEntries, | ||
std::vector< uint32_t > & | LinearIndex2Entry, | ||
std::vector< uint32_t > & | HbHash2Entry, | ||
std::vector< uint32_t > & | HeHash2Entry, | ||
std::vector< uint32_t > & | HfHash2Entry, | ||
std::vector< uint32_t > & | HtHash2Entry, | ||
std::vector< uint32_t > & | HoHash2Entry, | ||
std::vector< uint32_t > & | HxCalibHash2Entry, | ||
std::vector< uint32_t > & | ZdcHash2Entry | ||
) |
Definition at line 17 of file HcalLogicalMap.cc.
References CALIBEntries_, filterCSVwithJSON::copy, HbHash2Entry_, HBHEHFEntries_, HeHash2Entry_, HfHash2Entry_, HoHash2Entry_, HOHXEntries_, HTEntries_, HtHash2Entry_, HxCalibHash2Entry_, LinearIndex2Entry_, ZDCEntries_, and ZdcHash2Entry_.
HcalLogicalMap::~HcalLogicalMap | ( | ) |
Definition at line 64 of file HcalLogicalMap.cc.
void HcalLogicalMap::checkElectronicsHashIds | ( | ) |
Definition at line 520 of file HcalLogicalMap.cc.
References CALIBEntries_, gather_cfg::cout, change_name::diff, HBHEHFEntries_, HOHXEntries_, HTEntries_, mps_fire::i, jetUpdater_cfi::sort, and ZDCEntries_.
void HcalLogicalMap::checkHashIds | ( | ) |
Definition at line 393 of file HcalLogicalMap.cc.
References CALIBEntries_, gather_cfg::cout, HcalTopology::detId2denseIdCALIB(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), HcalTopology::detId2denseIdHT(), change_name::diff, HBHEHFEntries_, HcalBarrel, HcalEndcap, HcalForward, HOHXEntries_, HTEntries_, mps_fire::i, jetUpdater_cfi::sort, topo_, and ZDCEntries_.
void HcalLogicalMap::checkIdFunctions | ( | ) |
Definition at line 304 of file HcalLogicalMap.cc.
References CALIBEntries_, gather_cfg::cout, getDetId(), getHcalFrontEndId(), HBHEHFEntries_, HOHXEntries_, and ZDCEntries_.
std::unique_ptr< HcalElectronicsMap > HcalLogicalMap::generateHcalElectronicsMap | ( | ) |
Definition at line 160 of file HcalLogicalMap.cc.
References CALIBEntries_, HBHEHFEntries_, HOHXEntries_, HTEntries_, HcalElectronicsMapAddons::Helper::mapEId2chId(), HcalElectronicsMapAddons::Helper::mapEId2tId(), and ZDCEntries_.
const DetId HcalLogicalMap::getDetId | ( | const HcalElectronicsId & | eid | ) |
Definition at line 254 of file HcalLogicalMap.cc.
References CALIBEntries_, runTauDisplay::eid, mps_splice::entry, HBHEHFEntries_, HOHXEntries_, LinearIndex2Entry_, testProducerWithPsetDescEmpty_cfi::x1, and ZDCEntries_.
Referenced by checkIdFunctions().
const HcalFrontEndId HcalLogicalMap::getHcalFrontEndId | ( | const DetId & | did | ) |
Definition at line 269 of file HcalLogicalMap.cc.
References CALIBEntries_, HcalCalibDetId::calibFlavor(), HcalCalibDetId::CalibrationBox, HcalTopology::detId2denseIdCALIB(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), mps_splice::entry, HcalGenericDetId::genericSubdet(), HbHash2Entry_, HBHEHFEntries_, HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenCalibration, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, HeHash2Entry_, HfHash2Entry_, HcalCalibDetId::HOCrosstalk, HoHash2Entry_, HOHXEntries_, HxCalibHash2Entry_, and topo_.
Referenced by checkIdFunctions(), and CMTRawAnalyzer::fillMAP().
|
static |
Definition at line 66 of file HcalLogicalMap.cc.
References mps_splice::entry.
Referenced by HcalLogicalMapGenerator::buildCALIBMap(), HcalLogicalMapGenerator::buildHBEFTMap(), HcalLogicalMapGenerator::buildHOXMap(), and HcalLogicalMapGenerator::buildZDCMap().
|
private |
Definition at line 211 of file HcalLogicalMap.cc.
References CALIBEntries_.
Referenced by printMap().
|
private |
Definition at line 182 of file HcalLogicalMap.cc.
References HBHEHFEntries_.
Referenced by printMap().
|
private |
Definition at line 197 of file HcalLogicalMap.cc.
References HOHXEntries_.
Referenced by printMap().
|
private |
Definition at line 239 of file HcalLogicalMap.cc.
References HTEntries_.
Referenced by printMap().
void HcalLogicalMap::printMap | ( | unsigned int | mapIOV | ) |
Definition at line 74 of file HcalLogicalMap.cc.
References gather_cfg::cout, printCalibMap(), printHBEFMap(), printHOXMap(), printHTMap(), printZDCMap(), and hcalRecHitTable_cff::time.
|
private |
Definition at line 225 of file HcalLogicalMap.cc.
References ZDCEntries_.
Referenced by printMap().
|
private |
Definition at line 51 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), checkIdFunctions(), generateHcalElectronicsMap(), getDetId(), getHcalFrontEndId(), HcalLogicalMap(), and printCalibMap().
|
private |
Definition at line 55 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 49 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), checkIdFunctions(), generateHcalElectronicsMap(), getDetId(), getHcalFrontEndId(), HcalLogicalMap(), and printHBEFMap().
|
private |
Definition at line 56 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 57 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 59 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 50 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), checkIdFunctions(), generateHcalElectronicsMap(), getDetId(), getHcalFrontEndId(), HcalLogicalMap(), and printHOXMap().
|
private |
Definition at line 53 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), generateHcalElectronicsMap(), HcalLogicalMap(), and printHTMap().
|
private |
Definition at line 58 of file HcalLogicalMap.h.
Referenced by HcalLogicalMap().
|
private |
Definition at line 60 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 54 of file HcalLogicalMap.h.
Referenced by getDetId(), and HcalLogicalMap().
|
private |
Definition at line 47 of file HcalLogicalMap.h.
|
private |
Definition at line 63 of file HcalLogicalMap.h.
Referenced by checkHashIds(), and getHcalFrontEndId().
|
private |
Definition at line 52 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), checkIdFunctions(), generateHcalElectronicsMap(), getDetId(), HcalLogicalMap(), and printZDCMap().
|
private |
Definition at line 61 of file HcalLogicalMap.h.
Referenced by HcalLogicalMap().