CMS 3D CMS Logo

HcalTopologyRestrictionParser.cc File Reference

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


Function Documentation

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 }


Generated on Tue Jun 9 17:53:36 2009 for CMSSW by  doxygen 1.5.4