SimG4CMS
EcalTestBeam
interface
EcalTBMCInfoProducer.h
Go to the documentation of this file.
1
#ifndef EcalTBMCInfoProducer_H
2
#define EcalTBMCInfoProducer_H
3
/*
4
* \file EcalTBMCInfoProducer.h
5
*
6
*
7
*/
8
#include "
DataFormats/Common/interface/Handle.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/Framework/interface/EventSetup.h
"
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
14
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
17
#include "
Geometry/EcalTestBeam/interface/EcalTBCrystalMap.h
"
18
#include "
SimDataFormats/EcalTestBeam/interface/PEcalTBInfo.h
"
19
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
20
21
#include "Math/GenVector/Rotation3D.h"
22
23
class
EcalTBMCInfoProducer
:
public
edm::stream::EDProducer
<> {
24
public
:
26
explicit
EcalTBMCInfoProducer
(
const
edm::ParameterSet
&ps);
27
29
~EcalTBMCInfoProducer
()
override
;
30
32
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
eventSetup
)
override
;
33
34
private
:
35
double
beamEta
;
36
double
beamPhi
;
37
double
beamTheta
;
38
39
int
crysNumber
;
40
41
double
beamXoff
;
42
double
beamYoff
;
43
44
double
partXhodo
;
45
double
partYhodo
;
46
47
EcalTBCrystalMap
*
theTestMap
;
48
49
ROOT::Math::Rotation3D *
fromCMStoTB
;
50
51
edm::EDGetTokenT<edm::HepMCProduct>
GenVtxToken
;
52
};
53
54
#endif
EcalTBMCInfoProducer::beamYoff
double beamYoff
Definition:
EcalTBMCInfoProducer.h:42
Handle.h
MessageLogger.h
ESHandle.h
EcalTBMCInfoProducer::GenVtxToken
edm::EDGetTokenT< edm::HepMCProduct > GenVtxToken
Definition:
EcalTBMCInfoProducer.h:51
edm::EDGetTokenT< edm::HepMCProduct >
EDProducer.h
MakerMacros.h
EcalTBMCInfoProducer::EcalTBMCInfoProducer
EcalTBMCInfoProducer(const edm::ParameterSet &ps)
Constructor.
Definition:
EcalTBMCInfoProducer.cc:22
EcalTBMCInfoProducer::fromCMStoTB
ROOT::Math::Rotation3D * fromCMStoTB
Definition:
EcalTBMCInfoProducer.h:49
EcalTBCrystalMap
Definition:
EcalTBCrystalMap.h:17
EcalTBMCInfoProducer::~EcalTBMCInfoProducer
~EcalTBMCInfoProducer() override
Destructor.
Definition:
EcalTBMCInfoProducer.cc:100
EcalTBMCInfoProducer::beamTheta
double beamTheta
Definition:
EcalTBMCInfoProducer.h:37
EcalTBMCInfoProducer
Definition:
EcalTBMCInfoProducer.h:23
EcalTBMCInfoProducer::partYhodo
double partYhodo
Definition:
EcalTBMCInfoProducer.h:45
PEcalTBInfo.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
EcalTBMCInfoProducer::beamXoff
double beamXoff
Definition:
EcalTBMCInfoProducer.h:41
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
EcalTBMCInfoProducer::crysNumber
int crysNumber
Definition:
EcalTBMCInfoProducer.h:39
EcalTBMCInfoProducer::partXhodo
double partXhodo
Definition:
EcalTBMCInfoProducer.h:44
EcalTBCrystalMap.h
EcalTBMCInfoProducer::theTestMap
EcalTBCrystalMap * theTestMap
Definition:
EcalTBMCInfoProducer.h:47
EcalTBMCInfoProducer::beamPhi
double beamPhi
Definition:
EcalTBMCInfoProducer.h:36
options_cfi.eventSetup
eventSetup
Definition:
options_cfi.py:12
EcalTBMCInfoProducer::beamEta
double beamEta
Definition:
EcalTBMCInfoProducer.h:35
EventSetup.h
ParameterSet.h
HepMCProduct.h
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
EcalTBMCInfoProducer::produce
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
Produce digis out of raw data.
Definition:
EcalTBMCInfoProducer.cc:102
Generated for CMSSW Reference Manual by
1.8.16