#include "Geometry/CaloTopology/interface/HcalTopologyRestrictionParser.h"
#include <boost/tokenizer.hpp>
#include <sstream>
#include <iostream>
Go to the source code of this file.
Functions | |
static HcalSubdetector | determineSubdet (const std::string &item) |
static HcalSubdetector determineSubdet | ( | const std::string & | item | ) | [static] |
Definition at line 8 of file HcalTopologyRestrictionParser.cc.
References HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
Referenced by HcalTopologyRestrictionParser::parse().
00008 { 00009 if (item=="HB") return HcalBarrel; 00010 if (item=="HE") return HcalEndcap; 00011 if (item=="HF") return HcalForward; 00012 if (item=="HO") return HcalOuter; 00013 return (HcalSubdetector)0; 00014 }