test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~RPCNeutronWriter();
18 
19  protected:
20  virtual int localDetId(int globalDetId) const;
21 
22  virtual int chamberType(int globalDetId) const;
23 
24  virtual int chamberId(int globalDetId) const;
25 
27  virtual bool accept(const edm::PSimHitContainer & cluster) const {return true;}
28 
29 };
30 
31 #endif
RPCNeutronWriter(edm::ParameterSet const &pset)
virtual int chamberType(int globalDetId) const
virtual int localDetId(int globalDetId) const
doesn't have to be a producer. Can act as an analyzer, too.
virtual ~RPCNeutronWriter()
virtual bool accept(const edm::PSimHitContainer &cluster) const
decides whether this cluster is good enough to be included
virtual int chamberId(int globalDetId) const
std::vector< PSimHit > PSimHitContainer