CMS 3D CMS Logo

CSCNeutronWriter.h
Go to the documentation of this file.
1 #ifndef SimMuon_CSCDigitizer_CSCNeutronWriter_h
2 #define SimMuon_CSCDigitizer_CSCNeutronWriter_h
3 
5 
14 public:
15  explicit CSCNeutronWriter(edm::ParameterSet const &pset);
16  ~CSCNeutronWriter() 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
CSCNeutronWriter::chamberType
int chamberType(int globalDetId) const override
Definition: CSCNeutronWriter.cc:16
edm::ParameterSet
Definition: ParameterSet.h:47
CSCNeutronWriter::chamberId
int chamberId(int globalDetId) const override
Definition: CSCNeutronWriter.cc:21
CSCNeutronWriter
Definition: CSCNeutronWriter.h:13
CSCNeutronWriter::localDetId
int localDetId(int globalDetId) const override
Definition: CSCNeutronWriter.cc:14
CSCNeutronWriter::CSCNeutronWriter
CSCNeutronWriter(edm::ParameterSet const &pset)
Definition: CSCNeutronWriter.cc:6
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
CSCNeutronWriter::accept
bool accept(const edm::PSimHitContainer &cluster) const override
decides whether this cluster is good enough to be included
Definition: CSCNeutronWriter.h:26
CSCNeutronWriter::~CSCNeutronWriter
~CSCNeutronWriter() override
Definition: CSCNeutronWriter.cc:12
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
SubsystemNeutronWriter.h