SimMuon
RPCDigitizer
src
RPCNeutronWriter.h
Go to the documentation of this file.
1
#ifndef SimMuon_RPCDigitizer_RPCNeutronWriter_h
2
#define SimMuon_RPCDigitizer_RPCNeutronWriter_h
3
4
#include "
SimMuon/Neutron/interface/SubsystemNeutronWriter.h
"
5
13
class
RPCNeutronWriter
:
public
SubsystemNeutronWriter
{
14
public
:
15
explicit
RPCNeutronWriter
(
edm::ParameterSet
const
&
pset
);
16
~RPCNeutronWriter
()
override
;
17
18
protected
:
19
int
localDetId
(
int
globalDetId)
const override
;
20
21
int
chamberType
(
int
globalDetId)
const override
;
22
23
int
chamberId
(
int
globalDetId)
const override
;
24
26
bool
accept
(
const
edm::PSimHitContainer
& cluster)
const override
{
return
true
; }
27
};
28
29
#endif
RPCNeutronWriter::chamberType
int chamberType(int globalDetId) const override
Definition:
RPCNeutronWriter.cc:10
RPCNeutronWriter::~RPCNeutronWriter
~RPCNeutronWriter() override
Definition:
RPCNeutronWriter.cc:6
RPCNeutronWriter::accept
bool accept(const edm::PSimHitContainer &cluster) const override
decides whether this cluster is good enough to be included
Definition:
RPCNeutronWriter.h:26
RPCNeutronWriter
Definition:
RPCNeutronWriter.h:13
RPCNeutronWriter::RPCNeutronWriter
RPCNeutronWriter(edm::ParameterSet const &pset)
Definition:
RPCNeutronWriter.cc:4
edm::ParameterSet
Definition:
ParameterSet.h:47
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
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
RPCNeutronWriter::localDetId
int localDetId(int globalDetId) const override
Definition:
RPCNeutronWriter.cc:8
SubsystemNeutronWriter.h
Generated for CMSSW Reference Manual by
1.8.16