#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().
{ if (item=="HB") return HcalBarrel; if (item=="HE") return HcalEndcap; if (item=="HF") return HcalForward; if (item=="HO") return HcalOuter; return (HcalSubdetector)0; }