CMS 3D CMS Logo

HcalDbOnline.cc File Reference

#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)


Function Documentation

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   }


Generated on Tue Jun 9 17:51:44 2009 for CMSSW by  doxygen 1.5.4