CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
18 private:
19  std::ofstream mStream;
21 };
22 
23 #endif
~RHStopDump() override
Definition: RHStopDump.h:15
std::ofstream mStream
Definition: RHStopDump.h:19
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: RHStopDump.cc:11
RHStopDump(const edm::ParameterSet &)
Definition: RHStopDump.cc:7
std::string mProducer
Definition: RHStopDump.h:20