SimMuon
DTDigitizer
src
DTNeutronWriter.cc
Go to the documentation of this file.
1
#include "
DataFormats/MuonDetId/interface/DTWireId.h
"
2
#include "
SimMuon/DTDigitizer/src/DTNeutronWriter.h
"
3
4
DTNeutronWriter::DTNeutronWriter
(
edm::ParameterSet
const
&
pset
) :
SubsystemNeutronWriter
(
pset
) {}
5
6
DTNeutronWriter::~DTNeutronWriter
() {}
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::chamberId
int chamberId(int globalDetId) const override
Definition:
DTNeutronWriter.cc:12
DTNeutronWriter::DTNeutronWriter
DTNeutronWriter(edm::ParameterSet const &pset)
Definition:
DTNeutronWriter.cc:4
DTNeutronWriter::chamberType
int chamberType(int globalDetId) const override
Definition:
DTNeutronWriter.cc:10
DTNeutronWriter.h
DTNeutronWriter::localDetId
int localDetId(int globalDetId) const override
Definition:
DTNeutronWriter.cc:8
DTLayerId
Definition:
DTLayerId.h:12
edm::ParameterSet
Definition:
ParameterSet.h:47
DTNeutronWriter::~DTNeutronWriter
~DTNeutronWriter() override
Definition:
DTNeutronWriter.cc:6
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition:
DetId.h:57
DTWireId.h
SubsystemNeutronWriter
doesn't have to be a producer. Can act as an analyzer, too.
Definition:
SubsystemNeutronWriter.h:28
DTChamberId
Definition:
DTChamberId.h:14
DTLayerId::layer
int layer() const
Return the layer number.
Definition:
DTLayerId.h:42
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16