Main Page
Namespaces
Classes
Package Documentation
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
MessageLogger.h
FakeTBHodoscopeRawInfoProducer::theTBHodoGeom_
EcalTBHodoscopeGeometry * theTBHodoGeom_
Definition:
FakeTBHodoscopeRawInfoProducer.h:38
Event.h
EcalTBHodoscopeRawInfo.h
MakerMacros.h
EventSetup.h
FakeTBHodoscopeRawInfoProducer::ecalTBInfo_
edm::EDGetTokenT< PEcalTBInfo > ecalTBInfo_
Definition:
FakeTBHodoscopeRawInfoProducer.h:40
EcalTBHodoscopePlaneRawHits.h
edm::EDGetTokenT< PEcalTBInfo >
ParameterSet.h
FakeTBHodoscopeRawInfoProducer
Definition:
FakeTBHodoscopeRawInfoProducer.h:26
EDProducer.h
PEcalTBInfo.h
FakeTBHodoscopeRawInfoProducer::produce
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
Produce digis out of raw data.
Definition:
FakeTBHodoscopeRawInfoProducer.cc:21
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
FakeTBHodoscopeRawInfoProducer::~FakeTBHodoscopeRawInfoProducer
~FakeTBHodoscopeRawInfoProducer() override
Destructor.
Definition:
FakeTBHodoscopeRawInfoProducer.cc:19
edm::stream::EDProducer
Definition:
EDProducer.h:38
FakeTBHodoscopeRawInfoProducer::FakeTBHodoscopeRawInfoProducer
FakeTBHodoscopeRawInfoProducer(const edm::ParameterSet &ps)
Constructor.
Definition:
FakeTBHodoscopeRawInfoProducer.cc:12
edm::ParameterSet
Definition:
ParameterSet.h:36
EcalTBHodoscopeGeometry
Definition:
EcalTBHodoscopeGeometry.h:9
edm::Event
Definition:
Event.h:72
event
Definition:
event.py:1
Handle.h
EcalTBHodoscopeGeometry.h
Generated for CMSSW Reference Manual by
1.8.11