CMS 3D CMS Logo

MuonHitHelper.h
Go to the documentation of this file.
1 #ifndef Validation_MuonHits_MuonHitHelper_h
2 #define Validation_MuonHits_MuonHitHelper_h
3 
10 
12 public:
14  enum CSCType {
15  CSC_ALL = 0,
27  };
28 
30  enum GEMType { GEM_ALL = 0, GEM_ME11, GEM_ME21 };
31 
33  enum RPCType {
34  RPC_ALL = 0,
65  };
66 
68  enum DTType {
69  DT_ALL = 0,
90  };
91 
93  static bool isDT(unsigned int detId);
94  static bool isGEM(unsigned int detId);
95  static bool isCSC(unsigned int detId);
96  static bool isRPC(unsigned int detId);
97  static bool isME0(unsigned int detId);
98 
99  // return MuonType for a particular DetId
100  static int toGEMType(int st, int ri);
101  static int toRPCType(int re, int st, int ri);
102  static int toDTType(int wh, int st);
103  static int toCSCType(int st, int ri);
104 
105  // get chamber number
106  static int chamber(const DetId& id);
107 };
108 
109 #endif
MuonHitHelper::RPC_MB12n
Definition: MuonHitHelper.h:58
MuonHitHelper::chamber
static int chamber(const DetId &id)
Definition: MuonHitHelper.cc:23
MuonHitHelper::DT_MB14n
Definition: MuonHitHelper.h:85
MuonHitHelper::isME0
static bool isME0(unsigned int detId)
Definition: MuonHitHelper.cc:19
MuonHitHelper::DT_MB14p
Definition: MuonHitHelper.h:77
MuonHitHelper::toGEMType
static int toGEMType(int st, int ri)
Definition: MuonHitHelper.cc:49
MuonHitHelper::CSC_ME11
Definition: MuonHitHelper.h:16
MuonHitHelper::DT_MB24p
Definition: MuonHitHelper.h:81
ME0DetId.h
MuonHitHelper::CSC_ME42
Definition: MuonHitHelper.h:26
MuonHitHelper::CSC_ME1a
Definition: MuonHitHelper.h:17
MuonHitHelper::DT_MB01
Definition: MuonHitHelper.h:70
MuonHitHelper::isGEM
static bool isGEM(unsigned int detId)
Definition: MuonHitHelper.cc:7
MuonHitHelper::RPC_ME31
Definition: MuonHitHelper.h:39
MuonHitHelper::CSC_ALL
Definition: MuonHitHelper.h:15
MuonHitHelper::isCSC
static bool isCSC(unsigned int detId)
Definition: MuonHitHelper.cc:11
MuonHitHelper::RPC_ME12
Definition: MuonHitHelper.h:35
MuonHitHelper::RPC_MB13n
Definition: MuonHitHelper.h:59
MuonHitHelper::DT_MB22n
Definition: MuonHitHelper.h:87
MuonHitHelper::DT_MB02
Definition: MuonHitHelper.h:71
MuonHitHelper::RPC_MB21p
Definition: MuonHitHelper.h:53
MuonHitHelper::RPC_MB12p
Definition: MuonHitHelper.h:50
MuonHitHelper::RPC_MB22p
Definition: MuonHitHelper.h:54
MuonHitHelper::DT_MB11n
Definition: MuonHitHelper.h:82
CSCDetId.h
MuonHitHelper::RPC_ME13
Definition: MuonHitHelper.h:36
MuonHitHelper::isRPC
static bool isRPC(unsigned int detId)
Definition: MuonHitHelper.cc:15
MuonHitHelper::DT_MB11p
Definition: MuonHitHelper.h:74
DetId
Definition: DetId.h:17
MuonHitHelper::RPC_ME32
Definition: MuonHitHelper.h:40
MuonHitHelper::RPC_ME23
Definition: MuonHitHelper.h:38
MuonHitHelper::toDTType
static int toDTType(int wh, int st)
Definition: MuonHitHelper.cc:141
MuonHitHelper::RPC_MB23p
Definition: MuonHitHelper.h:55
MuonHitHelper::CSC_ME41
Definition: MuonHitHelper.h:25
MuonHitHelper::GEMType
GEMType
GEM chamber types.
Definition: MuonHitHelper.h:30
MuonHitHelper::RPC_MB21n
Definition: MuonHitHelper.h:61
MuonHitHelper::RPC_MB22n
Definition: MuonHitHelper.h:62
MuonHitHelper::RPC_ME33
Definition: MuonHitHelper.h:41
MuonHitHelper::DT_MB13p
Definition: MuonHitHelper.h:76
MuonHitHelper::RPC_MB11n
Definition: MuonHitHelper.h:57
MuonHitHelper::GEM_ME11
Definition: MuonHitHelper.h:30
MuonHitHelper::CSC_ME13
Definition: MuonHitHelper.h:20
MuonHitHelper
Definition: MuonHitHelper.h:11
MuonHitHelper::CSC_ME12
Definition: MuonHitHelper.h:19
CSCTriggerNumbering.h
MuonHitHelper::RPC_MB04
Definition: MuonHitHelper.h:48
RPCDetId.h
MuonHitHelper::RPC_ME41
Definition: MuonHitHelper.h:42
MuonHitHelper::RPC_ALL
Definition: MuonHitHelper.h:34
MuonHitHelper::DT_MB23n
Definition: MuonHitHelper.h:88
MuonHitHelper::DT_MB21n
Definition: MuonHitHelper.h:86
MuonHitHelper::CSCType
CSCType
CSC chamber types, according to CSCDetId::iChamberType()
Definition: MuonHitHelper.h:14
MuonHitHelper::DT_MB21p
Definition: MuonHitHelper.h:78
MuonHitHelper::DT_MB23p
Definition: MuonHitHelper.h:80
MuonHitHelper::DT_MB12n
Definition: MuonHitHelper.h:83
MuonHitHelper::RPC_ME43
Definition: MuonHitHelper.h:44
MuonHitHelper::CSC_ME22
Definition: MuonHitHelper.h:22
MuonHitHelper::toRPCType
static int toRPCType(int re, int st, int ri)
Definition: MuonHitHelper.cc:60
MuonHitHelper::RPC_MB14p
Definition: MuonHitHelper.h:52
MuonHitHelper::CSC_ME21
Definition: MuonHitHelper.h:21
MuonHitHelper::CSC_ME31
Definition: MuonHitHelper.h:23
MuonHitHelper::GEM_ME21
Definition: MuonHitHelper.h:30
MuonHitHelper::DT_MB04
Definition: MuonHitHelper.h:73
MuonHitHelper::RPCType
RPCType
RPC endcap chamber types.
Definition: MuonHitHelper.h:33
MuonHitHelper::RPC_MB24p
Definition: MuonHitHelper.h:56
MuonHitHelper::RPC_ME22
Definition: MuonHitHelper.h:37
MuonHitHelper::RPC_MB24n
Definition: MuonHitHelper.h:64
MuonHitHelper::DT_MB22p
Definition: MuonHitHelper.h:79
MuonHitHelper::DT_MB12p
Definition: MuonHitHelper.h:75
MuonHitHelper::CSC_ME1b
Definition: MuonHitHelper.h:18
GEMDetId.h
DTWireId.h
MuonHitHelper::RPC_MB03
Definition: MuonHitHelper.h:47
MuonHitHelper::RPC_MB02
Definition: MuonHitHelper.h:46
MuonHitHelper::DT_ALL
Definition: MuonHitHelper.h:69
MuonHitHelper::DT_MB24n
Definition: MuonHitHelper.h:89
MuonHitHelper::RPC_MB11p
Definition: MuonHitHelper.h:49
MuonHitHelper::GEM_ALL
Definition: MuonHitHelper.h:30
MuonHitHelper::DT_MB13n
Definition: MuonHitHelper.h:84
MuonHitHelper::RPC_MB13p
Definition: MuonHitHelper.h:51
MuonHitHelper::toCSCType
static int toCSCType(int st, int ri)
Definition: MuonHitHelper.cc:195
MuonHitHelper::RPC_ME42
Definition: MuonHitHelper.h:43
MuonHitHelper::RPC_MB23n
Definition: MuonHitHelper.h:63
MuonHitHelper::DT_MB03
Definition: MuonHitHelper.h:72
MuonHitHelper::RPC_MB14n
Definition: MuonHitHelper.h:60
MuonHitHelper::isDT
static bool isDT(unsigned int detId)
check detid type
Definition: MuonHitHelper.cc:3
MuonHitHelper::RPC_MB01
Definition: MuonHitHelper.h:45
MuonHitHelper::DTType
DTType
DT chamber types.
Definition: MuonHitHelper.h:68
MuonHitHelper::CSC_ME32
Definition: MuonHitHelper.h:24