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