test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTNeutronWriter.cc
Go to the documentation of this file.
3 
6 {
7 }
8 
9 
11 }
12 
13 
14 int DTNeutronWriter::localDetId(int globalDetId) const
15 {
16  return DTLayerId(globalDetId).layer();
17 }
18 
19 
20 int DTNeutronWriter::chamberType(int globalDetId) const
21 {
22  return globalDetId;
23 }
24 
25 
26 int DTNeutronWriter::chamberId(int globalDetId) const
27 {
28  return DTChamberId(globalDetId).rawId();
29 }
30 
DTNeutronWriter(edm::ParameterSet const &pset)
virtual int chamberId(int globalDetId) const
virtual int localDetId(int globalDetId) const
doesn't have to be a producer. Can act as an analyzer, too.
virtual ~DTNeutronWriter()
virtual int chamberType(int globalDetId) const