SimMuon
RPCDigitizer
src
RPCNeutronWriter.cc
Go to the documentation of this file.
1
#include "
SimMuon/RPCDigitizer/src/RPCNeutronWriter.h
"
2
#include "
DataFormats/MuonDetId/interface/RPCDetId.h
"
3
4
RPCNeutronWriter::RPCNeutronWriter
(
edm::ParameterSet
const
&
pset
) :
SubsystemNeutronWriter
(
pset
) {}
5
6
RPCNeutronWriter::~RPCNeutronWriter
() {}
7
8
int
RPCNeutronWriter::localDetId
(
int
globalDetId)
const
{
return
RPCDetId
(globalDetId).
layer
(); }
9
10
int
RPCNeutronWriter::chamberType
(
int
globalDetId)
const
{
return
globalDetId; }
11
12
int
RPCNeutronWriter::chamberId
(
int
globalDetId)
const
{
return
RPCDetId
(globalDetId).
chamberId
().
rawId
(); }
RPCNeutronWriter::chamberType
int chamberType(int globalDetId) const override
Definition:
RPCNeutronWriter.cc:10
RPCNeutronWriter::~RPCNeutronWriter
~RPCNeutronWriter() override
Definition:
RPCNeutronWriter.cc:6
RPCDetId
Definition:
RPCDetId.h:16
RPCNeutronWriter.h
RPCNeutronWriter::RPCNeutronWriter
RPCNeutronWriter(edm::ParameterSet const &pset)
Definition:
RPCNeutronWriter.cc:4
RPCDetId.h
edm::ParameterSet
Definition:
ParameterSet.h:47
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition:
DetId.h:57
RPCDetId::chamberId
RPCDetId chamberId() const
Return the corresponding ChamberId.
Definition:
RPCDetId.h:99
RPCNeutronWriter::chamberId
int chamberId(int globalDetId) const override
Definition:
RPCNeutronWriter.cc:12
SubsystemNeutronWriter
doesn't have to be a producer. Can act as an analyzer, too.
Definition:
SubsystemNeutronWriter.h:28
RPCDetId::layer
int layer() const
Definition:
RPCDetId.h:85
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
RPCNeutronWriter::localDetId
int localDetId(int globalDetId) const override
Definition:
RPCNeutronWriter.cc:8
Generated for CMSSW Reference Manual by
1.8.16