DetectorGeometryHelper Class Reference

#include <DetectorGeometryHelper.h>

List of all members.

Public Member Functions

 DetectorGeometryHelper ()
DetectorType GeometryType (std::string)

Private Member Functions

 DetectorGeometryHelper (std::string, DetectorType)

Static Private Member Functions

static void SetDetectorType (std::string, DetectorType)

Static Private Attributes

static DetectorMap theMap

Friends

class GeoModelDetectorFacility


Detailed Description

Definition at line 11 of file DetectorGeometryHelper.h.


Constructor & Destructor Documentation

DetectorGeometryHelper::DetectorGeometryHelper (  )  [inline]

Definition at line 14 of file DetectorGeometryHelper.h.

00014 {}

DetectorGeometryHelper::DetectorGeometryHelper ( std::string  ,
DetectorType   
) [private]

Definition at line 6 of file DetectorGeometryHelper.cxx.

References theMap.

00007 {
00008         theMap[n]=t;
00009 }


Member Function Documentation

DetectorType DetectorGeometryHelper::GeometryType ( std::string   ) 

Definition at line 11 of file DetectorGeometryHelper.cxx.

References Standard, and theMap.

00012 {
00013         if (theMap.find(n) != theMap.end()) return theMap[n];
00014         else return Standard;
00015 }

void DetectorGeometryHelper::SetDetectorType ( std::string  ,
DetectorType   
) [static, private]

Definition at line 17 of file DetectorGeometryHelper.cxx.

References theMap.

00018 {
00019         theMap[n]=t;
00020 }


Friends And Related Function Documentation

friend class GeoModelDetectorFacility [friend]

Definition at line 12 of file DetectorGeometryHelper.h.


Member Data Documentation

DetectorMap DetectorGeometryHelper::theMap [static, private]

Definition at line 19 of file DetectorGeometryHelper.h.

Referenced by DetectorGeometryHelper(), GeometryType(), and SetDetectorType().


Generated on Tue Nov 29 23:18:16 2016 for BOSS_7.0.2 by  doxygen 1.4.7