#include <limits>
#include <string>
#include <iostream>
#include <sstream>
#include "occi.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "CondTools/Hcal/interface/HcalDbOnline.h"
Go to the source code of this file.
Functions | |
HcalSubdetector | hcalSubdet (const std::string &fName) |
HcalSubdetector @3107::hcalSubdet | ( | const std::string & | fName | ) | [static] |
Definition at line 18 of file HcalDbOnline.cc.
References HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
Referenced by HcalQLPlotHistoMgr::GetAHistogram(), and HcalDbOnline::getObject().
00018 { 00019 return fName == "HB" ? HcalBarrel : 00020 fName == "HE" ? HcalEndcap : 00021 fName == "HO" ? HcalOuter : 00022 fName == "HF" ? HcalForward : HcalSubdetector (0); 00023 }