CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions
GEMSubDetId Class Reference

#include <GEMSubDetId.h>

Public Types

enum  Station { Station::GE0 = 0, Station::ME0 = 0, Station::GE11 = 1, Station::GE21 = 2 }
 

Static Public Member Functions

static Station station (uint16_t st)
 

Detailed Description

Definition at line 10 of file GEMSubDetId.h.

Member Enumeration Documentation

enum GEMSubDetId::Station
strong
Enumerator
GE0 
ME0 
GE11 
GE21 

Definition at line 12 of file GEMSubDetId.h.

12 { GE0 = 0, ME0 = 0, GE11 = 1, GE21 = 2 };
ME0 Data Record : block-&gt;header().getID() = 6.
Definition: Block.h:23

Member Function Documentation

static Station GEMSubDetId::station ( uint16_t  st)
inlinestatic

Definition at line 13 of file GEMSubDetId.h.

References GE11, GE21, and ME0.

Referenced by geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), and GEMDetId::subsystem().

13  {
14  Station returnValue = Station::GE11;
15  if (st == 0) {
16  returnValue = Station::ME0;
17  } else if (st == 2) {
18  returnValue = Station::GE21;
19  }
20  return returnValue;
21  };