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 public:
14  explicit DTNeutronWriter(edm::ParameterSet const &pset);
15  ~DTNeutronWriter() override;
16 
17 protected:
18  int localDetId(int globalDetId) const override;
19 
20  int chamberType(int globalDetId) const override;
21 
22  int chamberId(int globalDetId) const override;
23 
25  bool accept(const edm::PSimHitContainer &cluster) const override { return true; }
26 };
27 
28 #endif
DTNeutronWriter(edm::ParameterSet const &pset)
int localDetId(int globalDetId) const override
doesn't have to be a producer. Can act as an analyzer, too.
~DTNeutronWriter() override
int chamberType(int globalDetId) const override
bool accept(const edm::PSimHitContainer &cluster) const override
decides whether this cluster is good enough to be included
std::vector< PSimHit > PSimHitContainer
int chamberId(int globalDetId) const override