CMS 3D CMS Logo

DTNeutronWriter.h
Go to the documentation of this file.
1 #ifndef SimMuon_DTDigitizer_DTNeutronWriter_h
2 #define SimMuon_DTDigitizer_DTNeutronWriter_h
3 
5 
13 public:
14  explicit DTNeutronWriter(edm::ParameterSet const &pset);
15  ~DTNeutronWriter() override;
16 
17 protected:
18  int localDetId(int globalDetId) const override;
19 
20  int chamberType(int globalDetId) const override;
21 
22  int chamberId(int globalDetId) const override;
23 
25  bool accept(const edm::PSimHitContainer &cluster) const override { return true; }
26 };
27 
28 #endif
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::localDetId
int localDetId(int globalDetId) const override
Definition: DTNeutronWriter.cc:8
edm::ParameterSet
Definition: ParameterSet.h:36
DTNeutronWriter::~DTNeutronWriter
~DTNeutronWriter() override
Definition: DTNeutronWriter.cc:6
DTNeutronWriter
Definition: DTNeutronWriter.h:12
DTNeutronWriter::accept
bool accept(const edm::PSimHitContainer &cluster) const override
decides whether this cluster is good enough to be included
Definition: DTNeutronWriter.h:25
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
SubsystemNeutronWriter.h