#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 38 of file HcalAssistant.cc.
int HcalAssistant::a_to_i | ( | char * | inbuf | ) |
int HcalAssistant::addQuotes | ( | ) |
Definition at line 40 of file HcalAssistant.cc.
int HcalAssistant::getDepth | ( | int | _rawid | ) |
Definition at line 275 of file HcalAssistant.cc.
|
private |
|
private |
Definition at line 232 of file HcalAssistant.cc.
|
private |
|
private |
Definition at line 85 of file HcalAssistant.cc.
|
private |
|
private |
Definition at line 100 of file HcalAssistant.cc.
References funct::abs(), HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOther, HcalOuter, and HcalTriggerTower.
int HcalAssistant::getIeta | ( | int | _rawid | ) |
Definition at line 271 of file HcalAssistant.cc.
int HcalAssistant::getIphi | ( | int | _rawid | ) |
Definition at line 273 of file HcalAssistant.cc.
int HcalAssistant::getListOfChannelsFromDb | ( | ) |
Definition at line 200 of file HcalAssistant.cc.
References DMR_cfg::cerr, getInfo::conn, MillePedeFileConverter_cfg::e, AlCaHLTBitMon_QueryRunRegistry::string, and toolbox::toString().
std::string HcalAssistant::getRandomQuote | ( | void | ) |
Definition at line 65 of file HcalAssistant.cc.
int HcalAssistant::getRawId | ( | HcalSubdetector | _det, |
int | _ieta, | ||
int | _iphi, | ||
int | _depth | ||
) |
Definition at line 277 of file HcalAssistant.cc.
|
private |
Definition at line 243 of file HcalAssistant.cc.
|
private |
Definition at line 254 of file HcalAssistant.cc.
References DetId::rawId(), and AlCaHLTBitMon_QueryRunRegistry::string.
HcalSubdetector HcalAssistant::getSubdetector | ( | std::string | _det | ) |
Definition at line 140 of file HcalAssistant.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, and HcalTriggerTower.
int HcalAssistant::getSubdetector | ( | int | _rawid | ) |
Definition at line 269 of file HcalAssistant.cc.
std::string HcalAssistant::getSubdetectorString | ( | HcalSubdetector | _det | ) |
Definition at line 155 of file HcalAssistant.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalTriggerTower, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EMap::EMap().
|
private |
Definition at line 118 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 187 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 172 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 45 of file HcalAssistant.h.
|
private |
Definition at line 71 of file HcalAssistant.h.
|
private |
Definition at line 73 of file HcalAssistant.h.
|
private |
Definition at line 70 of file HcalAssistant.h.
|
private |
Definition at line 72 of file HcalAssistant.h.