CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RHStopDump.h
Go to the documentation of this file.
1 #ifndef SimG4Core_RHStopDump_H
2 #define SimG4Core_RHStopDump_H
3 //
4 // Dump stopping points from the Event into ASCII file
5 // F.Ratnikov, Apr. 8, 2010
6 //
7 
8 #include <fstream>
9 
11 
12 class RHStopDump : public edm::one::EDAnalyzer<edm::one::SharedResources> {
13  public:
14  explicit RHStopDump(const edm::ParameterSet&);
15  virtual ~RHStopDump() {};
16  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
17  private:
18  std::ofstream mStream;
20 };
21 
22 #endif
std::ofstream mStream
Definition: RHStopDump.h:18
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: RHStopDump.cc:12
RHStopDump(const edm::ParameterSet &)
Definition: RHStopDump.cc:7
std::string mProducer
Definition: RHStopDump.h:19
virtual ~RHStopDump()
Definition: RHStopDump.h:15