FWCore
PythonFramework
interface
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
22
#include "
FWCore/Framework/interface/EventProcessor.h
"
23
#include "
FWCore/PythonParameterSet/interface/PyBind11ProcessDesc.h
"
24
25
// user include files
26
27
// forward declarations
28
class
PythonProcessDesc;
29
30
class
PythonEventProcessor
{
31
public
:
32
PythonEventProcessor
(
PyBind11ProcessDesc
const
&);
33
~PythonEventProcessor
();
34
// ---------- const member functions ---------------------
38
int
totalEvents
()
const
{
return
processor_
.
totalEvents
(); }
39
42
int
totalEventsPassed
()
const
{
return
processor_
.
totalEventsPassed
(); }
43
46
int
totalEventsFailed
()
const
{
return
processor_
.
totalEventsFailed
(); }
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 --------------------------------
59
int
forcePluginSetupFirst_
;
60
edm::EventProcessor
processor_
;
61
};
62
63
#endif
edm::EventProcessor::totalEventsPassed
int totalEventsPassed() const
Definition:
EventProcessor.cc:618
PythonEventProcessor::processor_
edm::EventProcessor processor_
Definition:
PythonEventProcessor.h:60
edm::EventProcessor::totalEvents
int totalEvents() const
Definition:
EventProcessor.cc:616
PythonEventProcessor::forcePluginSetupFirst_
int forcePluginSetupFirst_
Definition:
PythonEventProcessor.h:59
edm::EventProcessor::totalEventsFailed
int totalEventsFailed() const
Definition:
EventProcessor.cc:620
PythonEventProcessor
Definition:
PythonEventProcessor.h:30
PythonEventProcessor::totalEventsFailed
int totalEventsFailed() const
Definition:
PythonEventProcessor.h:46
PyBind11ProcessDesc.h
PyBind11ProcessDesc
Definition:
PyBind11ProcessDesc.h:16
PythonEventProcessor::run
void run()
Definition:
PythonEventProcessor.cc:76
PythonEventProcessor::PythonEventProcessor
PythonEventProcessor(PyBind11ProcessDesc const &)
Definition:
PythonEventProcessor.cc:62
PythonEventProcessor::totalEvents
int totalEvents() const
Definition:
PythonEventProcessor.h:38
PythonEventProcessor::operator=
const PythonEventProcessor & operator=(const PythonEventProcessor &)=delete
PythonEventProcessor::totalEventsPassed
int totalEventsPassed() const
Definition:
PythonEventProcessor.h:42
PythonEventProcessor::~PythonEventProcessor
~PythonEventProcessor()
Definition:
PythonEventProcessor.cc:68
edm::EventProcessor
Definition:
EventProcessor.h:64
EventProcessor.h
Generated for CMSSW Reference Manual by
1.8.16