CMS 3D CMS Logo

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)
int layer() const
Return the layer number.
Definition: DTLayerId.h:53
int chamberType(int globalDetId) const override
int chamberId(int globalDetId) const override
uint32_t rawId() const
get the raw id
Definition: DetId.h:44
int localDetId(int globalDetId) const override
doesn't have to be a producer. Can act as an analyzer, too.
~DTNeutronWriter() override