CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/SimG4Core/CustomPhysics/plugins/RHStopDump.h

Go to the documentation of this file.
00001 #ifndef RHSTOPDUMP_H
00002 #define RHSTOPDUMP_H 1
00003 //
00004 // Dump stopping points from the Event into ASCII file
00005 // F.Ratnikov, Apr. 8, 2010
00006 // $Id: RHStopDump.h,v 1.1 2010/04/09 11:38:36 fedor Exp $
00007 //
00008 
00009 #include <fstream>
00010 
00011 #include "FWCore/Framework/interface/EDAnalyzer.h"
00012 
00013 class RHStopDump : public edm::EDAnalyzer {
00014  public:
00015   explicit RHStopDump(const edm::ParameterSet&);
00016   virtual ~RHStopDump() {};
00017   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00018  private:
00019   std::ofstream mStream;
00020   std::string mProducer;
00021 };
00022 
00023 #endif