Main Page
Namespaces
Classes
Package Documentation
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
Definition:
EcalTBMCInfoProducer.h:23
MessageLogger.h
EcalTBCrystalMap.h
EcalTBMCInfoProducer::partXhodo
double partXhodo
Definition:
EcalTBMCInfoProducer.h:44
EcalTBMCInfoProducer::GenVtxToken
edm::EDGetTokenT< edm::HepMCProduct > GenVtxToken
Definition:
EcalTBMCInfoProducer.h:51
Event.h
MakerMacros.h
EventSetup.h
EcalTBMCInfoProducer::~EcalTBMCInfoProducer
~EcalTBMCInfoProducer() override
Destructor.
Definition:
EcalTBMCInfoProducer.cc:100
EcalTBMCInfoProducer::beamPhi
double beamPhi
Definition:
EcalTBMCInfoProducer.h:36
edm::EDGetTokenT< edm::HepMCProduct >
EcalTBMCInfoProducer::produce
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
Produce digis out of raw data.
Definition:
EcalTBMCInfoProducer.cc:102
ParameterSet.h
EDProducer.h
PEcalTBInfo.h
EcalTBMCInfoProducer::beamYoff
double beamYoff
Definition:
EcalTBMCInfoProducer.h:42
EcalTBMCInfoProducer::beamXoff
double beamXoff
Definition:
EcalTBMCInfoProducer.h:41
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
HepMCProduct.h
EcalTBMCInfoProducer::crysNumber
int crysNumber
Definition:
EcalTBMCInfoProducer.h:39
EcalTBMCInfoProducer::theTestMap
EcalTBCrystalMap * theTestMap
Definition:
EcalTBMCInfoProducer.h:47
EcalTBCrystalMap
Definition:
EcalTBCrystalMap.h:17
edm::stream::EDProducer
Definition:
EDProducer.h:38
EcalTBMCInfoProducer::partYhodo
double partYhodo
Definition:
EcalTBMCInfoProducer.h:45
EcalTBMCInfoProducer::beamEta
double beamEta
Definition:
EcalTBMCInfoProducer.h:35
edm::ParameterSet
Definition:
ParameterSet.h:36
EcalTBMCInfoProducer::fromCMStoTB
ROOT::Math::Rotation3D * fromCMStoTB
Definition:
EcalTBMCInfoProducer.h:49
edm::Event
Definition:
Event.h:72
event
Definition:
event.py:1
EcalTBMCInfoProducer::beamTheta
double beamTheta
Definition:
EcalTBMCInfoProducer.h:37
Handle.h
EcalTBMCInfoProducer::EcalTBMCInfoProducer
EcalTBMCInfoProducer(const edm::ParameterSet &ps)
Constructor.
Definition:
EcalTBMCInfoProducer.cc:22
Generated for CMSSW Reference Manual by
1.8.11