#include <CaloOnlineTools/HcalOnlineDb/interface/HcalAssistant.h>
Public Member Functions | |
int | a_to_i (char *inbuf) |
int | addQuotes () |
int | getDepth (int _rawid) |
int | getIeta (int _rawid) |
int | getIphi (int _rawid) |
int | getListOfChannelsFromDb () |
std::string | getRandomQuote (void) |
int | getRawId (HcalSubdetector _det, int _ieta, int _iphi, int _depth) |
HcalSubdetector | getSubdetector (std::string _det) |
int | getSubdetector (int _rawid) |
std::string | getSubdetectorString (HcalSubdetector _det) |
std::string | getUserName (void) |
HcalZDCDetId::Section | getZDCSection (std::string _section) |
std::string | getZDCSectionString (HcalZDCDetId::Section _section) |
HcalAssistant () | |
virtual | ~HcalAssistant () |
Private Member Functions | |
int | getGeomId (HcalSubdetector _det, int _ieta, int _iphi, int _depth) |
int | getGeomId (int _rawid) |
int | getHcalDepth (int _geomId) |
int | getHcalIeta (int _geomId) |
int | getHcalIphi (int _geomId) |
HcalSubdetector | getHcalSubdetector (int _geomId) |
int | getRawId (int _geomId) |
int | getRawIdFromCmssw (int _geomId) |
std::string | getSubdetectorString (int _geomId) |
Private Attributes | |
std::map< int, int > | geom_to_rawid |
bool | listIsRead |
std::vector< std::string > | quotes |
std::map< int, int > | rawid_to_geom |
Friends | |
class | HcalChannelQualityXml |
HcalAssistant::HcalAssistant | ( | ) |
Definition at line 33 of file HcalAssistant.cc.
References cond::rpcobgas::time.
|
virtual |
Definition at line 41 of file HcalAssistant.cc.
int HcalAssistant::a_to_i | ( | char * | inbuf | ) |
int HcalAssistant::addQuotes | ( | ) |
Definition at line 46 of file HcalAssistant.cc.
int HcalAssistant::getDepth | ( | int | _rawid | ) |
Definition at line 290 of file HcalAssistant.cc.
|
private |
|
private |
Definition at line 222 of file HcalAssistant.cc.
|
private |
|
private |
Definition at line 100 of file HcalAssistant.cc.
|
private |
|
private |
Definition at line 118 of file HcalAssistant.cc.
References funct::abs(), HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOther, HcalOuter, and HcalTriggerTower.
int HcalAssistant::getIeta | ( | int | _rawid | ) |
Definition at line 278 of file HcalAssistant.cc.
int HcalAssistant::getIphi | ( | int | _rawid | ) |
Definition at line 284 of file HcalAssistant.cc.
int HcalAssistant::getListOfChannelsFromDb | ( | ) |
Definition at line 185 of file HcalAssistant.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, results_mgr::conn, ConnectionManager::connect(), ConnectionManager::disconnect(), alignCSCRings::e, ConnectionManager::getStatement(), o2o::query, AlCaHLTBitMon_QueryRunRegistry::string, and toolbox::toString().
std::string HcalAssistant::getRandomQuote | ( | void | ) |
int HcalAssistant::getRawId | ( | HcalSubdetector | _det, |
int | _ieta, | ||
int | _iphi, | ||
int | _depth | ||
) |
Definition at line 296 of file HcalAssistant.cc.
|
private |
Definition at line 235 of file HcalAssistant.cc.
|
private |
Definition at line 247 of file HcalAssistant.cc.
References DetId::rawId(), and AlCaHLTBitMon_QueryRunRegistry::string.
HcalSubdetector HcalAssistant::getSubdetector | ( | std::string | _det | ) |
Definition at line 145 of file HcalAssistant.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, and HcalTriggerTower.
int HcalAssistant::getSubdetector | ( | int | _rawid | ) |
Definition at line 273 of file HcalAssistant.cc.
std::string HcalAssistant::getSubdetectorString | ( | HcalSubdetector | _det | ) |
Definition at line 154 of file HcalAssistant.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalTriggerTower, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EMap::EMap().
|
private |
Definition at line 130 of file HcalAssistant.cc.
References funct::abs(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::string HcalAssistant::getUserName | ( | void | ) |
HcalZDCDetId::Section HcalAssistant::getZDCSection | ( | std::string | _section | ) |
Definition at line 176 of file HcalAssistant.cc.
References HcalZDCDetId::EM, HcalZDCDetId::HAD, HcalZDCDetId::LUM, and HcalZDCDetId::Unknown.
std::string HcalAssistant::getZDCSectionString | ( | HcalZDCDetId::Section | _section | ) |
Definition at line 166 of file HcalAssistant.cc.
References HcalZDCDetId::EM, HcalZDCDetId::HAD, HcalZDCDetId::LUM, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EMap::EMap().
|
friend |
Definition at line 39 of file HcalAssistant.h.
|
private |
Definition at line 65 of file HcalAssistant.h.
|
private |
Definition at line 67 of file HcalAssistant.h.
|
private |
Definition at line 64 of file HcalAssistant.h.
|
private |
Definition at line 66 of file HcalAssistant.h.