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
(
const
PythonEventProcessor
&) =
delete
;
// stop default
34
const
PythonEventProcessor
&
operator=
(
const
PythonEventProcessor
&) =
delete
;
// stop default
35
~PythonEventProcessor
();
36
// ---------- const member functions ---------------------
40
int
totalEvents
()
const
{
return
processor_
.
totalEvents
(); }
41
44
int
totalEventsPassed
()
const
{
return
processor_
.
totalEventsPassed
(); }
45
48
int
totalEventsFailed
()
const
{
return
processor_
.
totalEventsFailed
(); }
49
50
// ---------- static member functions --------------------
51
52
// ---------- member functions ---------------------------
53
void
run
();
54
55
private
:
56
// ---------- member data --------------------------------
57
int
forcePluginSetupFirst_
;
58
edm::EventProcessor
processor_
;
59
};
60
61
#endif
edm::EventProcessor::totalEventsPassed
int totalEventsPassed() const
Definition:
EventProcessor.cc:705
PythonEventProcessor::processor_
edm::EventProcessor processor_
Definition:
PythonEventProcessor.h:58
edm::EventProcessor::totalEvents
int totalEvents() const
Definition:
EventProcessor.cc:703
PythonEventProcessor::forcePluginSetupFirst_
int forcePluginSetupFirst_
Definition:
PythonEventProcessor.h:57
edm::EventProcessor::totalEventsFailed
int totalEventsFailed() const
Definition:
EventProcessor.cc:707
PythonEventProcessor
Definition:
PythonEventProcessor.h:30
PythonEventProcessor::totalEventsFailed
int totalEventsFailed() const
Definition:
PythonEventProcessor.h:48
PyBind11ProcessDesc.h
PyBind11ProcessDesc
Definition:
PyBind11ProcessDesc.h:16
PythonEventProcessor::run
void run()
Definition:
PythonEventProcessor.cc:113
PythonEventProcessor::PythonEventProcessor
PythonEventProcessor(PyBind11ProcessDesc const &)
Definition:
PythonEventProcessor.cc:83
PythonEventProcessor::totalEvents
int totalEvents() const
Definition:
PythonEventProcessor.h:40
PythonEventProcessor::operator=
const PythonEventProcessor & operator=(const PythonEventProcessor &)=delete
PythonEventProcessor::totalEventsPassed
int totalEventsPassed() const
Definition:
PythonEventProcessor.h:44
PythonEventProcessor::~PythonEventProcessor
~PythonEventProcessor()
Definition:
PythonEventProcessor.cc:100
edm::EventProcessor
Definition:
EventProcessor.h:64
EventProcessor.h
Generated for CMSSW Reference Manual by
1.8.16