SimG4CMS
EcalTestBeam
interface
FakeTBHodoscopeRawInfoProducer.h
Go to the documentation of this file.
1
#ifndef FakeTBHodoscopeRawInfoProducer_H
2
#define FakeTBHodoscopeRawInfoProducer_H
3
/*
4
* \file FakeTBHodoscopeRawInfoProducer.h
5
*
6
*
7
* Mimic the hodoscope raw information using
8
* the generated vertex of 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/EcalTBHodoscopePlaneRawHits.h
"
24
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBHodoscopeRawInfo.h
"
25
26
class
FakeTBHodoscopeRawInfoProducer
:
public
edm::stream::EDProducer
<> {
27
public
:
29
explicit
FakeTBHodoscopeRawInfoProducer
(
const
edm::ParameterSet
&ps);
30
32
~FakeTBHodoscopeRawInfoProducer
()
override
;
33
35
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&eventSetup)
override
;
36
37
private
:
38
EcalTBHodoscopeGeometry
*
theTBHodoGeom_
;
39
40
edm::EDGetTokenT<PEcalTBInfo>
ecalTBInfo_
;
41
};
42
43
#endif
Handle.h
EcalTBHodoscopeGeometry.h
MessageLogger.h
EcalTBHodoscopePlaneRawHits.h
ESHandle.h
EcalTBHodoscopeRawInfo.h
edm::EDGetTokenT< PEcalTBInfo >
EcalTBHodoscopeGeometry
Definition:
EcalTBHodoscopeGeometry.h:9
EDProducer.h
MakerMacros.h
FakeTBHodoscopeRawInfoProducer::produce
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
Produce digis out of raw data.
Definition:
FakeTBHodoscopeRawInfoProducer.cc:21
FakeTBHodoscopeRawInfoProducer::ecalTBInfo_
edm::EDGetTokenT< PEcalTBInfo > ecalTBInfo_
Definition:
FakeTBHodoscopeRawInfoProducer.h:40
PEcalTBInfo.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
FakeTBHodoscopeRawInfoProducer::FakeTBHodoscopeRawInfoProducer
FakeTBHodoscopeRawInfoProducer(const edm::ParameterSet &ps)
Constructor.
Definition:
FakeTBHodoscopeRawInfoProducer.cc:12
FakeTBHodoscopeRawInfoProducer::theTBHodoGeom_
EcalTBHodoscopeGeometry * theTBHodoGeom_
Definition:
FakeTBHodoscopeRawInfoProducer.h:38
EventSetup.h
FakeTBHodoscopeRawInfoProducer
Definition:
FakeTBHodoscopeRawInfoProducer.h:26
ParameterSet.h
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
FakeTBHodoscopeRawInfoProducer::~FakeTBHodoscopeRawInfoProducer
~FakeTBHodoscopeRawInfoProducer() override
Destructor.
Definition:
FakeTBHodoscopeRawInfoProducer.cc:19
Generated for CMSSW Reference Manual by
1.8.16