CMS 3D CMS Logo

RHStopDump.h
Go to the documentation of this file.
1 #ifndef SimG4Core_CustomPhysics_RHStopDump_H
2 #define SimG4Core_CustomPhysics_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  ~RHStopDump() override {};
16  void analyze(const edm::Event&, const edm::EventSetup&) override;
17  private:
18  std::ofstream mStream;
20 };
21 
22 #endif
~RHStopDump() override
Definition: RHStopDump.h:15
std::ofstream mStream
Definition: RHStopDump.h:18
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