Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:12

0001 #ifndef SimMuon_CSCDigitizer_CSCNeutronWriter_h
0002 #define SimMuon_CSCDigitizer_CSCNeutronWriter_h
0003 
0004 #include "SimMuon/Neutron/interface/SubsystemNeutronWriter.h"
0005 
0006 /**  Writes out the
0007      database of neutron patterns for
0008      the CSCs
0009 
0010   \author   Rick Wilkinson, Caltech
0011  */
0012 
0013 class CSCNeutronWriter : public SubsystemNeutronWriter {
0014 public:
0015   explicit CSCNeutronWriter(edm::ParameterSet const &pset);
0016   ~CSCNeutronWriter() override;
0017 
0018 protected:
0019   int localDetId(int globalDetId) const override;
0020 
0021   int chamberType(int globalDetId) const override;
0022 
0023   int chamberId(int globalDetId) const override;
0024 
0025   /// decides whether this cluster is good enough to be included
0026   bool accept(const edm::PSimHitContainer &cluster) const override { return true; }
0027 };
0028 
0029 #endif