Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TauAnalysis
MCEmbeddingTools
plugins
DummyBoolEventSelFlagProducer.cc
Go to the documentation of this file.
1
#include "
TauAnalysis/MCEmbeddingTools/plugins/DummyBoolEventSelFlagProducer.h
"
2
3
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
4
5
DummyBoolEventSelFlagProducer::DummyBoolEventSelFlagProducer
(
const
edm::ParameterSet
&
cfg
)
6
{
7
produces<bool>();
8
}
9
10
DummyBoolEventSelFlagProducer::~DummyBoolEventSelFlagProducer
()
11
{
12
// nothing to be done yet...
13
}
14
15
void
DummyBoolEventSelFlagProducer::produce
(
edm::Event
& evt,
const
edm::EventSetup
& es)
16
{
17
std::auto_ptr<bool> boolPtr(
new
bool
(
true
));
18
evt.
put
(boolPtr);
19
}
20
21
#include "
FWCore/Framework/interface/MakerMacros.h
"
22
23
DEFINE_FWK_MODULE
(
DummyBoolEventSelFlagProducer
);
MessageLogger.h
looper.cfg
tuple cfg
Definition:
looper.py:293
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
DummyBoolEventSelFlagProducer::produce
void produce(edm::Event &, const edm::EventSetup &)
Definition:
DummyBoolEventSelFlagProducer.cc:15
DummyBoolEventSelFlagProducer
Definition:
DummyBoolEventSelFlagProducer.h:23
DummyBoolEventSelFlagProducer::~DummyBoolEventSelFlagProducer
virtual ~DummyBoolEventSelFlagProducer()
Definition:
DummyBoolEventSelFlagProducer.cc:10
edm::Event::put
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition:
Event.h:121
edm::EventSetup
Definition:
EventSetup.h:45
DummyBoolEventSelFlagProducer.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:65
DummyBoolEventSelFlagProducer::DummyBoolEventSelFlagProducer
DummyBoolEventSelFlagProducer(const edm::ParameterSet &cfg)
Definition:
DummyBoolEventSelFlagProducer.cc:5
Generated for CMSSW Reference Manual by
1.8.5