Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:25:28

0001 #ifndef AsciiNeutronWriter_h
0002 #define AsciiNeutronWriter_h
0003 
0004 #include "SimMuon/Neutron/src/NeutronWriter.h"
0005 
0006 /**  This writes the fields of a SimHit into an ASCII
0007  *   file, which can be read out later to add neutron
0008  *   hits to a muon chamber
0009  */
0010 
0011 class AsciiNeutronWriter : public NeutronWriter {
0012 public:
0013   AsciiNeutronWriter(std::string fileNameBase);
0014   ~AsciiNeutronWriter() override;
0015 
0016 protected:
0017   void writeCluster(int chamberType, const edm::PSimHitContainer& hits) override;
0018 
0019 private:
0020   std::string theFileNameBase;
0021 };
0022 
0023 #endif