CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
virtual int chamberType(int globalDetId) const
virtual int localDetId(int globalDetId) const
doesn't have to be a producer. Can act as an analyzer, too.
virtual ~RPCNeutronWriter()
virtual int chamberId(int globalDetId) const