#include <HcalLogicalMap.h>
Public Member Functions | |
void | checkElectronicsHashIds () |
void | checkHashIds () |
void | checkIdFunctions () |
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 9 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 16 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 61 of file HcalLogicalMap.cc.
void HcalLogicalMap::checkElectronicsHashIds | ( | ) |
Definition at line 481 of file HcalLogicalMap.cc.
References CALIBEntries_, gather_cfg::cout, diffTreeTool::diff, HBHEHFEntries_, HOHXEntries_, HTEntries_, i, python.multivaluedict::sort(), and ZDCEntries_.
void HcalLogicalMap::checkHashIds | ( | ) |
Definition at line 379 of file HcalLogicalMap.cc.
References CALIBEntries_, gather_cfg::cout, HcalTopology::detId2denseIdCALIB(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), HcalTopology::detId2denseIdHT(), diffTreeTool::diff, HBHEHFEntries_, HcalBarrel, HcalEndcap, HcalForward, HOHXEntries_, HTEntries_, i, python.multivaluedict::sort(), topo_, and ZDCEntries_.
void HcalLogicalMap::checkIdFunctions | ( | ) |
Definition at line 303 of file HcalLogicalMap.cc.
References CALIBEntries_, gather_cfg::cout, getDetId(), getHcalFrontEndId(), HBHEHFEntries_, HOHXEntries_, and ZDCEntries_.
HcalElectronicsMap HcalLogicalMap::generateHcalElectronicsMap | ( | ) |
Definition at line 155 of file HcalLogicalMap.cc.
References CALIBEntries_, HBHEHFEntries_, HOHXEntries_, HTEntries_, HcalElectronicsMap::mapEId2chId(), HcalElectronicsMap::mapEId2tId(), HcalElectronicsMap::sort(), and ZDCEntries_.
Referenced by HcalDetDiagLEDMonitor::analyze(), HcalDetDiagLEDClient::htmlOutput(), and HcalDetDiagPedestalClient::htmlOutput().
const DetId HcalLogicalMap::getDetId | ( | const HcalElectronicsId & | eid | ) |
Definition at line 251 of file HcalLogicalMap.cc.
References CALIBEntries_, HBHEHFEntries_, HOHXEntries_, HcalElectronicsId::linearIndex(), LinearIndex2Entry_, and ZDCEntries_.
Referenced by checkIdFunctions().
const HcalFrontEndId HcalLogicalMap::getHcalFrontEndId | ( | const DetId & | did | ) |
Definition at line 262 of file HcalLogicalMap.cc.
References CALIBEntries_, HcalCalibDetId::calibFlavor(), HcalCalibDetId::CalibrationBox, HcalTopology::detId2denseIdCALIB(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), 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 HcalDetDiagNoiseMonitor::analyze(), checkIdFunctions(), HcalDetDiagLEDMonitor::fillHistos(), HcalDeadCellMonitor::fillNevents_recentdigis(), HcalDeadCellMonitor::fillNevents_recentrechits(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), HcalDeadCellMonitor::process_RecHit(), HcalRecHitMonitor::processEvent_rechit(), HBHEStatusBitSetter::SetFlagsFromDigi(), and HBHEStatusBitSetter::SetFlagsFromRecHits().
|
static |
Definition at line 65 of file HcalLogicalMap.cc.
References submit::answer.
Referenced by HcalLogicalMapGenerator::buildCALIBMap(), HcalLogicalMapGenerator::buildHBEFTMap(), HcalLogicalMapGenerator::buildHOXMap(), and HcalLogicalMapGenerator::buildZDCMap().
|
private |
Definition at line 204 of file HcalLogicalMap.cc.
References CALIBEntries_.
Referenced by printMap().
|
private |
Definition at line 174 of file HcalLogicalMap.cc.
References HBHEHFEntries_.
Referenced by printMap().
|
private |
Definition at line 189 of file HcalLogicalMap.cc.
References HOHXEntries_.
Referenced by printMap().
|
private |
Definition at line 234 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 cond::rpcobgas::time.
|
private |
Definition at line 219 of file HcalLogicalMap.cc.
References ZDCEntries_.
Referenced by printMap().
|
private |
Definition at line 50 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), checkIdFunctions(), generateHcalElectronicsMap(), getDetId(), getHcalFrontEndId(), HcalLogicalMap(), and printCalibMap().
|
private |
Definition at line 54 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 48 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), checkIdFunctions(), generateHcalElectronicsMap(), getDetId(), getHcalFrontEndId(), HcalLogicalMap(), and printHBEFMap().
|
private |
Definition at line 55 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 56 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 58 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 printHOXMap().
|
private |
Definition at line 52 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), generateHcalElectronicsMap(), HcalLogicalMap(), and printHTMap().
|
private |
Definition at line 57 of file HcalLogicalMap.h.
Referenced by HcalLogicalMap().
|
private |
Definition at line 59 of file HcalLogicalMap.h.
Referenced by getHcalFrontEndId(), and HcalLogicalMap().
|
private |
Definition at line 53 of file HcalLogicalMap.h.
Referenced by getDetId(), and HcalLogicalMap().
|
private |
Definition at line 46 of file HcalLogicalMap.h.
|
private |
Definition at line 62 of file HcalLogicalMap.h.
Referenced by checkHashIds(), and getHcalFrontEndId().
|
private |
Definition at line 51 of file HcalLogicalMap.h.
Referenced by checkElectronicsHashIds(), checkHashIds(), checkIdFunctions(), generateHcalElectronicsMap(), getDetId(), HcalLogicalMap(), and printZDCMap().
|
private |
Definition at line 60 of file HcalLogicalMap.h.
Referenced by HcalLogicalMap().