CMS 3D CMS Logo

RPCNeutronWriter.cc
Go to the documentation of this file.
3 
6 {
7 }
8 
9 
11 }
12 
13 
14 int RPCNeutronWriter::localDetId(int globalDetId) const
15 {
16  return RPCDetId(globalDetId).layer();
17 }
18 
19 
20 int RPCNeutronWriter::chamberType(int globalDetId) const
21 {
22  return globalDetId;
23 }
24 
25 
26 int RPCNeutronWriter::chamberId(int globalDetId) const
27 {
28  return RPCDetId(globalDetId).chamberId().rawId();
29 }
RPCNeutronWriter(edm::ParameterSet const &pset)
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
int chamberId(int globalDetId) const override
RPCDetId chamberId() const
Return the corresponding ChamberId.
Definition: RPCDetId.h:130
doesn't have to be a producer. Can act as an analyzer, too.
int layer() const
Definition: RPCDetId.h:108
~RPCNeutronWriter() override
int localDetId(int globalDetId) const override
int chamberType(int globalDetId) const override