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