CMS 3D CMS Logo

RPCNeutronWriter.h
Go to the documentation of this file.
1 #ifndef SimMuon_RPCDigitizer_RPCNeutronWriter_h
2 #define SimMuon_RPCDigitizer_RPCNeutronWriter_h
3 
5 
14 {
15  public:
16  explicit RPCNeutronWriter(edm::ParameterSet const& pset);
17  ~RPCNeutronWriter() 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
bool accept(const edm::PSimHitContainer &cluster) const override
decides whether this cluster is good enough to be included
RPCNeutronWriter(edm::ParameterSet const &pset)
int chamberId(int globalDetId) const override
doesn't have to be a producer. Can act as an analyzer, too.
~RPCNeutronWriter() override
int localDetId(int globalDetId) const override
int chamberType(int globalDetId) const override
std::vector< PSimHit > PSimHitContainer