CMS 3D CMS Logo

DTNeutronWriter.h
Go to the documentation of this file.
1 #ifndef SimMuon_DTDigitizer_DTNeutronWriter_h
2 #define SimMuon_DTDigitizer_DTNeutronWriter_h
3 
5 
13 {
14  public:
15  explicit DTNeutronWriter(edm::ParameterSet const& pset);
16  virtual ~DTNeutronWriter();
17 
18  protected:
19  virtual int localDetId(int globalDetId) const;
20 
21  virtual int chamberType(int globalDetId) const;
22 
23  virtual int chamberId(int globalDetId) const;
24 
26  virtual bool accept(const edm::PSimHitContainer & cluster) const {return true;}
27 
28 };
29 
30 #endif
DTNeutronWriter(edm::ParameterSet const &pset)
virtual int chamberId(int globalDetId) const
virtual int localDetId(int globalDetId) const
doesn't have to be a producer. Can act as an analyzer, too.
virtual ~DTNeutronWriter()
virtual bool accept(const edm::PSimHitContainer &cluster) const
decides whether this cluster is good enough to be included
virtual int chamberType(int globalDetId) const
std::vector< PSimHit > PSimHitContainer