CMS 3D CMS Logo

DTNeutronWriter.cc
Go to the documentation of this file.
3 
5 
7 
8 int DTNeutronWriter::localDetId(int globalDetId) const { return DTLayerId(globalDetId).layer(); }
9 
10 int DTNeutronWriter::chamberType(int globalDetId) const { return globalDetId; }
11 
12 int DTNeutronWriter::chamberId(int globalDetId) const { return DTChamberId(globalDetId).rawId(); }
DTNeutronWriter(edm::ParameterSet const &pset)
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
int layer() const
Return the layer number.
Definition: DTLayerId.h:42
int chamberType(int globalDetId) const override
int chamberId(int globalDetId) const override
int localDetId(int globalDetId) const override
doesn't have to be a producer. Can act as an analyzer, too.
~DTNeutronWriter() override