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
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/EcalTBHodoscopePlaneRawHits.h
"
24
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBHodoscopeRawInfo.h
"
25
#include "
Geometry/EcalTestBeam/interface/EcalTBHodoscopeGeometry.h
"
26
27
class
FakeTBHodoscopeRawInfoProducer
:
public
edm::stream::EDProducer
<>
28
{
29
public
:
30
32
explicit
FakeTBHodoscopeRawInfoProducer
(
const
edm::ParameterSet
& ps);
33
35
virtual
~FakeTBHodoscopeRawInfoProducer
();
36
38
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
& eventSetup)
override
;
39
40
private
:
41
42
EcalTBHodoscopeGeometry
*
theTBHodoGeom_
;
43
44
edm::EDGetTokenT<PEcalTBInfo>
ecalTBInfo_
;
45
46
};
47
48
#endif
MessageLogger.h
FakeTBHodoscopeRawInfoProducer::theTBHodoGeom_
EcalTBHodoscopeGeometry * theTBHodoGeom_
Definition:
FakeTBHodoscopeRawInfoProducer.h:42
Event.h
EcalTBHodoscopeRawInfo.h
MakerMacros.h
EventSetup.h
FakeTBHodoscopeRawInfoProducer::ecalTBInfo_
edm::EDGetTokenT< PEcalTBInfo > ecalTBInfo_
Definition:
FakeTBHodoscopeRawInfoProducer.h:44
EcalTBHodoscopePlaneRawHits.h
edm::EDGetTokenT< PEcalTBInfo >
ParameterSet.h
FakeTBHodoscopeRawInfoProducer
Definition:
FakeTBHodoscopeRawInfoProducer.h:27
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:26
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:45
edm::stream::EDProducer
Definition:
EDProducer.h:33
FakeTBHodoscopeRawInfoProducer::FakeTBHodoscopeRawInfoProducer
FakeTBHodoscopeRawInfoProducer(const edm::ParameterSet &ps)
Constructor.
Definition:
FakeTBHodoscopeRawInfoProducer.cc:12
FakeTBHodoscopeRawInfoProducer::~FakeTBHodoscopeRawInfoProducer
virtual ~FakeTBHodoscopeRawInfoProducer()
Destructor.
Definition:
FakeTBHodoscopeRawInfoProducer.cc:20
edm::ParameterSet
Definition:
ParameterSet.h:36
EcalTBHodoscopeGeometry
Definition:
EcalTBHodoscopeGeometry.h:9
edm::Event
Definition:
Event.h:66
event
Definition:
event.py:1
Handle.h
EcalTBHodoscopeGeometry.h
Generated for CMSSW Reference Manual by
1.8.11