test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~CSCNeutronWriter();
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
32 
virtual bool accept(const edm::PSimHitContainer &cluster) const
decides whether this cluster is good enough to be included
virtual int chamberId(int globalDetId) const
CSCNeutronWriter(edm::ParameterSet const &pset)
virtual int chamberType(int globalDetId) const
virtual ~CSCNeutronWriter()
doesn't have to be a producer. Can act as an analyzer, too.
virtual int localDetId(int globalDetId) const
std::vector< PSimHit > PSimHitContainer