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
#include "
DataFormats/Common/interface/Handle.h
"
13
#include "
FWCore/Framework/interface/ESHandle.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
#include "
FWCore/Framework/interface/MakerMacros.h
"
17
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
18
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
21
#include "
Geometry/EcalTestBeam/interface/EcalTBHodoscopeGeometry.h
"
22
#include "
SimDataFormats/EcalTestBeam/interface/PEcalTBInfo.h
"
23
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBEventHeader.h
"
24
25
class
FakeTBEventHeaderProducer
:
public
edm::stream::EDProducer
<> {
26
public
:
28
explicit
FakeTBEventHeaderProducer
(
const
edm::ParameterSet
&ps);
29
31
~FakeTBEventHeaderProducer
()
override
;
32
34
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
eventSetup
)
override
;
35
36
private
:
37
edm::EDGetTokenT<PEcalTBInfo>
ecalTBInfo_
;
38
};
39
40
#endif
FakeTBEventHeaderProducer::FakeTBEventHeaderProducer
FakeTBEventHeaderProducer(const edm::ParameterSet &ps)
Constructor.
Definition:
FakeTBEventHeaderProducer.cc:13
Handle.h
EcalTBHodoscopeGeometry.h
MessageLogger.h
ESHandle.h
edm::EDGetTokenT< PEcalTBInfo >
EDProducer.h
MakerMacros.h
FakeTBEventHeaderProducer
Definition:
FakeTBEventHeaderProducer.h:25
FakeTBEventHeaderProducer::ecalTBInfo_
edm::EDGetTokenT< PEcalTBInfo > ecalTBInfo_
Definition:
FakeTBEventHeaderProducer.h:37
PEcalTBInfo.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
FakeTBEventHeaderProducer::produce
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
Produce digis out of raw data.
Definition:
FakeTBEventHeaderProducer.cc:20
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
EcalTBEventHeader.h
options_cfi.eventSetup
eventSetup
Definition:
options_cfi.py:12
EventSetup.h
FakeTBEventHeaderProducer::~FakeTBEventHeaderProducer
~FakeTBEventHeaderProducer() override
Destructor.
Definition:
FakeTBEventHeaderProducer.cc:18
ParameterSet.h
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16