Main Page
Namespaces
Classes
Package Documentation
SimG4CMS
EcalTestBeam
interface
FakeTBEventHeaderProducer.h
Go to the documentation of this file.
1
#ifndef FakeTBEventHeaderProducer_H
2
#define FakeTBEventHeaderProducer_H
3
/*
4
* \file FakeTBEventHeaderProducer.h
5
*
6
*
7
* Mimic the event header information
8
* for the test beam simulation
9
*
10
*/
11
12
13
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
DataFormats/Common/interface/Handle.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
17
#include "
FWCore/Framework/interface/ESHandle.h
"
18
#include "
FWCore/Framework/interface/EventSetup.h
"
19
#include "
FWCore/Framework/interface/MakerMacros.h
"
20
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
21
22
#include "
SimDataFormats/EcalTestBeam/interface/PEcalTBInfo.h
"
23
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBEventHeader.h
"
24
#include "
Geometry/EcalTestBeam/interface/EcalTBHodoscopeGeometry.h
"
25
26
class
FakeTBEventHeaderProducer
:
public
edm::stream::EDProducer
<>
27
{
28
public
:
29
31
explicit
FakeTBEventHeaderProducer
(
const
edm::ParameterSet
& ps);
32
34
virtual
~FakeTBEventHeaderProducer
();
35
37
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
& eventSetup)
override
;
38
39
private
:
40
41
edm::EDGetTokenT<PEcalTBInfo>
ecalTBInfo_
;
42
43
};
44
45
#endif
MessageLogger.h
Event.h
MakerMacros.h
EventSetup.h
edm::EDGetTokenT< PEcalTBInfo >
FakeTBEventHeaderProducer::produce
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
Produce digis out of raw data.
Definition:
FakeTBEventHeaderProducer.cc:22
ParameterSet.h
EDProducer.h
PEcalTBInfo.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
EcalTBEventHeader.h
FakeTBEventHeaderProducer
Definition:
FakeTBEventHeaderProducer.h:26
FakeTBEventHeaderProducer::~FakeTBEventHeaderProducer
virtual ~FakeTBEventHeaderProducer()
Destructor.
Definition:
FakeTBEventHeaderProducer.cc:18
edm::stream::EDProducer
Definition:
EDProducer.h:33
FakeTBEventHeaderProducer::FakeTBEventHeaderProducer
FakeTBEventHeaderProducer(const edm::ParameterSet &ps)
Constructor.
Definition:
FakeTBEventHeaderProducer.cc:13
edm::ParameterSet
Definition:
ParameterSet.h:36
FakeTBEventHeaderProducer::ecalTBInfo_
edm::EDGetTokenT< PEcalTBInfo > ecalTBInfo_
Definition:
FakeTBEventHeaderProducer.h:41
edm::Event
Definition:
Event.h:66
event
Definition:
event.py:1
Handle.h
EcalTBHodoscopeGeometry.h
Generated for CMSSW Reference Manual by
1.8.11