CMS 3D CMS Logo

PythonEventProcessor.h
Go to the documentation of this file.
1 #ifndef FWCore_PythonFramework_PythonEventProcessor_h
2 #define FWCore_PythonFramework_PythonEventProcessor_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/PythonFramework
6 // Class : PythonEventProcessor
7 //
16 //
17 // Original Author: Chris D Jones
18 // Created: Fri, 20 Jan 2017 16:36:33 GMT
19 //
20 
21 // system include files
24 
25 // user include files
26 
27 // forward declarations
28 class PythonProcessDesc;
29 
31 public:
34  // ---------- const member functions ---------------------
38  int totalEvents() const { return processor_.totalEvents(); }
39 
43 
47 
48  // ---------- static member functions --------------------
49 
50  // ---------- member functions ---------------------------
51  void run();
52 
53 private:
54  PythonEventProcessor(const PythonEventProcessor&) = delete; // stop default
55 
56  const PythonEventProcessor& operator=(const PythonEventProcessor&) = delete; // stop default
57 
58  // ---------- member data --------------------------------
61 };
62 
63 #endif
edm::EventProcessor processor_
PythonEventProcessor(PyBind11ProcessDesc const &)
int totalEvents() const
int totalEventsFailed() const
const PythonEventProcessor & operator=(const PythonEventProcessor &)=delete
int totalEventsPassed() const