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
int chamberId(int globalDetId) const override
int localDetId(int globalDetId) const override
CSCNeutronWriter(edm::ParameterSet const &pset)
bool accept(const edm::PSimHitContainer &cluster) const override
decides whether this cluster is good enough to be included
~CSCNeutronWriter() override
doesn't have to be a producer. Can act as an analyzer, too.
int chamberType(int globalDetId) const override
std::vector< PSimHit > PSimHitContainer