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 
18 private:
19  std::ofstream mStream;
21 };
22 
23 #endif
RHStopDump::mProducer
std::string mProducer
Definition: RHStopDump.h:20
EDAnalyzer.h
RHStopDump
Definition: RHStopDump.h:12
RHStopDump::RHStopDump
RHStopDump(const edm::ParameterSet &)
Definition: RHStopDump.cc:7
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
edm::ParameterSet
Definition: ParameterSet.h:47
RHStopDump::mStream
std::ofstream mStream
Definition: RHStopDump.h:19
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RHStopDump::~RHStopDump
~RHStopDump() override
Definition: RHStopDump.h:15
RHStopDump::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: RHStopDump.cc:11
edm::Event
Definition: Event.h:73