#include <VisReco/VisHcal/interface/VisHcalSubdetector.h>
Static Public Member Functions | |
static int | otherSubDet (const std::string &key) |
static const std::string | otherSubDetName (HcalOtherSubdetector key) |
static int | subDet (const std::string &key) |
static const std::string | subDetName (HcalSubdetector key) |
Definition at line 16 of file VisHcalSubdetector.h.
int VisHcalSubdetector::otherSubDet | ( | const std::string & | key | ) | [static] |
Definition at line 33 of file VisHcalSubdetector.cc.
References HcalCalibration, and HcalOtherEmpty.
00034 { 00035 std::map<std::string, HcalOtherSubdetector> type; 00036 00037 type ["HcalOtherEmpty"] = HcalOtherEmpty; 00038 type ["HcalCalibration"] = HcalCalibration; 00039 00040 return type [key]; 00041 }
const std::string VisHcalSubdetector::otherSubDetName | ( | HcalOtherSubdetector | key | ) | [static] |
Definition at line 60 of file VisHcalSubdetector.cc.
References HcalCalibration, and HcalOtherEmpty.
00061 { 00062 std::map<HcalOtherSubdetector, std::string> type; 00063 00064 type [HcalOtherEmpty] = "HcalOtherEmpty"; 00065 type [HcalCalibration] = "HcalCalibration"; 00066 00067 return type [key]; 00068 }
int VisHcalSubdetector::subDet | ( | const std::string & | key | ) | [static] |
Definition at line 17 of file VisHcalSubdetector.cc.
References HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOther, HcalOuter, and HcalTriggerTower.
00018 { 00019 std::map<std::string, HcalSubdetector> type; 00020 00021 type ["HcalEmpty"] = HcalEmpty; 00022 type ["HcalBarrel"] = HcalBarrel; 00023 type ["HcalEndcap"] = HcalEndcap; 00024 type ["HcalOuter"] = HcalOuter; 00025 type ["HcalForward"] = HcalForward; 00026 type ["HcalTriggerTower"] = HcalTriggerTower; 00027 type ["HcalOther"] = HcalOther; 00028 00029 return type [key]; 00030 }
const std::string VisHcalSubdetector::subDetName | ( | HcalSubdetector | key | ) | [static] |
Definition at line 44 of file VisHcalSubdetector.cc.
References HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOther, HcalOuter, and HcalTriggerTower.
Referenced by VisHORecHitTwig::update(), VisHBHERecHitTwig::update(), VisHFDataFrameTwig::update(), and VisHFRecHitTwig::update().
00045 { 00046 std::map<HcalSubdetector, std::string> type; 00047 00048 type [HcalEmpty] = "HcalEmpty"; 00049 type [HcalBarrel] = "HcalBarrel"; 00050 type [HcalEndcap] = "HcalEndcap"; 00051 type [HcalOuter] = "HcalOuter"; 00052 type [HcalForward] = "HcalForward"; 00053 type [HcalTriggerTower] = "HcalTriggerTower"; 00054 type [HcalOther] = "HcalOther"; 00055 00056 return type [key]; 00057 }