CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
CmsMTDStringToEnum::Impl Struct Reference

Public Member Functions

 Impl ()
 

Public Attributes

MapEnumType map_
 

Detailed Description

Definition at line 22 of file CmsMTDStringToEnum.h.

Constructor & Destructor Documentation

◆ Impl()

CmsMTDStringToEnum::Impl::Impl ( )

Definition at line 5 of file CmsMTDStringToEnum.cc.

References map_.

5  {
6  map_.emplace("FastTimerRegion", GeometricTimingDet::MTD);
7  map_.emplace("FastTimerRegionBTL", GeometricTimingDet::MTD);
8  map_.emplace("FastTimerRegionETL", GeometricTimingDet::MTD);
9  map_.emplace("BarrelTimingLayer", GeometricTimingDet::BTL);
10  map_.emplace("Layer1", GeometricTimingDet::BTLLayer);
11  map_.emplace("Layer1Timing", GeometricTimingDet::BTLLayer);
12  map_.emplace("BModule", GeometricTimingDet::BTLModule);
13  map_.emplace("BTLModu", GeometricTimingDet::BTLModule); // truncate name to have the same length as old versions
14  map_.emplace("EndcapTimingLayer", GeometricTimingDet::ETL);
15  map_.emplace("Disc1Timing", GeometricTimingDet::ETLDisc);
16  map_.emplace("Disc2Timing", GeometricTimingDet::ETLDisc);
17  map_.emplace("EModule", GeometricTimingDet::ETLModule);
18 }

Member Data Documentation

◆ map_

MapEnumType CmsMTDStringToEnum::Impl::map_

Definition at line 24 of file CmsMTDStringToEnum.h.

Referenced by Impl(), and CmsMTDStringToEnum::map().