00001 #include "SimMuon/DTDigitizer/src/DTNeutronWriter.h" 00002 #include "DataFormats/MuonDetId/interface/DTWireId.h" 00003 00004 DTNeutronWriter::DTNeutronWriter(edm::ParameterSet const& pset) 00005 : SubsystemNeutronWriter(pset) 00006 { 00007 } 00008 00009 00010 DTNeutronWriter::~DTNeutronWriter() { 00011 } 00012 00013 00014 int DTNeutronWriter::localDetId(int globalDetId) const 00015 { 00016 return DTLayerId(globalDetId).layer(); 00017 } 00018 00019 00020 int DTNeutronWriter::chamberType(int globalDetId) const 00021 { 00022 return globalDetId; 00023 } 00024 00025 00026 int DTNeutronWriter::chamberId(int globalDetId) const 00027 { 00028 return DTChamberId(globalDetId).rawId(); 00029 } 00030