#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 | ( | ) |
|
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 292 of file HcalAssistant.cc.
|
private |
|
private |
Definition at line 224 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 280 of file HcalAssistant.cc.
int HcalAssistant::getIphi | ( | int | _rawid | ) |
Definition at line 286 of file HcalAssistant.cc.
int HcalAssistant::getListOfChannelsFromDb | ( | ) |
Definition at line 187 of file HcalAssistant.cc.
References MessageLogger_cfi::cerr, ConnectionManager::connect(), ConnectionManager::disconnect(), MillePedeFileConverter_cfg::e, ConnectionManager::getStatement(), 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 298 of file HcalAssistant.cc.
|
private |
Definition at line 237 of file HcalAssistant.cc.
|
private |
Definition at line 249 of file HcalAssistant.cc.
References photons_cff::_id, 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 275 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 177 of file HcalAssistant.cc.
References HcalZDCDetId::EM, HcalZDCDetId::HAD, HcalZDCDetId::LUM, HcalZDCDetId::RPD, 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, HcalZDCDetId::RPD, 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.