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 {
15 public:
16  explicit CSCNeutronWriter(edm::ParameterSet const& pset);
17  ~CSCNeutronWriter() override;
18 
19 protected:
20  int localDetId(int globalDetId) const override;
21 
22  int chamberType(int globalDetId) const override;
23 
24  int chamberId(int globalDetId) const override;
25 
27  bool accept(const edm::PSimHitContainer & cluster) const override {return true;}
28 
29 };
30 
31 #endif
32 
int chamberType(int globalDetId) const override
bool accept(const edm::PSimHitContainer &cluster) const override
decides whether this cluster is good enough to be included
CSCNeutronWriter(edm::ParameterSet const &pset)
int chamberId(int globalDetId) const override
~CSCNeutronWriter() override
doesn't have to be a producer. Can act as an analyzer, too.
int localDetId(int globalDetId) const override
std::vector< PSimHit > PSimHitContainer