Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Python
src
EventWrapper.h
Go to the documentation of this file.
1
#ifndef Python_EventWrapper_h
2
#define Python_EventWrapper_h
3
// -*- C++ -*-
4
//
5
// Package: Python
6
// Class : EventWrapper
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Wed Jun 28 10:57:11 CDT 2006
19
// $Id: EventWrapper.h,v 1.1 2006/07/18 12:17:07 chrjones Exp $
20
//
21
22
// system include files
23
#include <string>
24
// user include files
25
#include "
FWCore/Framework/interface/GenericHandle.h
"
26
27
// forward declarations
28
namespace
edm {
29
class
Event
;
30
31
namespace
python {
32
class
ConstEventWrapper
33
{
34
35
public
:
36
ConstEventWrapper
() :
event_
(0) {}
37
ConstEventWrapper
(
const
edm::Event
&);
38
//virtual ~ConstEventWrapper();
39
40
// ---------- const member functions ---------------------
41
void
getByLabel
(std::string
const
& ,
edm::GenericHandle
& )
const
;
42
void
getByLabel
(std::string
const
& , std::string
const
&,
edm::GenericHandle
& )
const
;
43
44
// ---------- static member functions --------------------
45
46
// ---------- member functions ---------------------------
47
48
private
:
49
//ConstEventWrapper(const ConstEventWrapper&); // stop default
50
51
//const ConstEventWrapper& operator=(const ConstEventWrapper&); // stop default
52
53
// ---------- member data --------------------------------
54
edm::Event
const
*
event_
;
55
};
56
}
57
}
58
59
#endif
edm::python::ConstEventWrapper
Definition:
EventWrapper.h:32
edm::python::ConstEventWrapper::ConstEventWrapper
ConstEventWrapper()
Definition:
EventWrapper.h:36
edm::python::ConstEventWrapper::getByLabel
void getByLabel(std::string const &, edm::GenericHandle &) const
Definition:
EventWrapper.cc:61
GenericHandle.h
edm::python::ConstEventWrapper::event_
edm::Event const * event_
Definition:
EventWrapper.h:54
edm::Handle< GenericObject >
Definition:
GenericHandle.h:44
Event
edm::Event
Definition:
Event.h:50
Generated for CMSSW Reference Manual by
1.8.5