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
#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
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:20
ParameterSet.h
EDProducer.h
FakeTBEventHeaderProducer::~FakeTBEventHeaderProducer
~FakeTBEventHeaderProducer() override
Destructor.
Definition:
FakeTBEventHeaderProducer.cc:18
PEcalTBInfo.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
EcalTBEventHeader.h
FakeTBEventHeaderProducer
Definition:
FakeTBEventHeaderProducer.h:25
edm::stream::EDProducer
Definition:
EDProducer.h:38
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:37
edm::Event
Definition:
Event.h:71
event
Definition:
event.py:1
Handle.h
EcalTBHodoscopeGeometry.h
Generated for CMSSW Reference Manual by
1.8.11