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 = default;
16  void analyze(const edm::Event&, const edm::EventSetup&) override;
17 
18 private:
19  std::ofstream mStream;
29 };
30 
31 #endif
~RHStopDump() override=default
const std::string mProducer
Definition: RHStopDump.h:20
const edm::EDGetTokenT< std::vector< float > > tokenYs_
Definition: RHStopDump.h:23
std::ofstream mStream
Definition: RHStopDump.h:19
const edm::EDGetTokenT< std::vector< int > > tokenIds_
Definition: RHStopDump.h:26
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: RHStopDump.cc:19
RHStopDump(const edm::ParameterSet &)
Definition: RHStopDump.cc:7
const edm::EDGetTokenT< std::vector< float > > tokenXs_
Definition: RHStopDump.h:22
const edm::EDGetTokenT< std::vector< float > > tokenZs_
Definition: RHStopDump.h:24
const edm::EDGetTokenT< std::vector< float > > tokenCharges_
Definition: RHStopDump.h:28
const edm::EDGetTokenT< std::vector< std::string > > tokNames_
Definition: RHStopDump.h:21
const edm::EDGetTokenT< std::vector< float > > tokenTs_
Definition: RHStopDump.h:25
const edm::EDGetTokenT< std::vector< float > > tokenMasses_
Definition: RHStopDump.h:27