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 "
FWCore/Framework/interface/stream/EDProducer.h
"
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
DataFormats/Common/interface/Handle.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
FWCore/Framework/interface/ESHandle.h
"
13
#include "
FWCore/Framework/interface/EventSetup.h
"
14
#include "
FWCore/Framework/interface/MakerMacros.h
"
15
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
16
17
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
18
#include "
SimDataFormats/EcalTestBeam/interface/PEcalTBInfo.h
"
19
#include "
Geometry/EcalTestBeam/interface/EcalTBCrystalMap.h
"
20
21
#include "Math/GenVector/Rotation3D.h"
22
23
class
EcalTBMCInfoProducer
:
public
edm::stream::EDProducer
<>
24
{
25
public
:
26
28
explicit
EcalTBMCInfoProducer
(
const
edm::ParameterSet
& ps);
29
31
~EcalTBMCInfoProducer
()
override
;
32
34
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
& eventSetup)
override
;
35
36
private
:
37
38
double
beamEta
;
39
double
beamPhi
;
40
double
beamTheta
;
41
42
int
crysNumber
;
43
44
double
beamXoff
;
45
double
beamYoff
;
46
47
double
partXhodo
;
48
double
partYhodo
;
49
50
EcalTBCrystalMap
*
theTestMap
;
51
52
ROOT::Math::Rotation3D *
fromCMStoTB
;
53
54
edm::EDGetTokenT<edm::HepMCProduct>
GenVtxToken
;
55
};
56
57
#endif
EcalTBMCInfoProducer
Definition:
EcalTBMCInfoProducer.h:23
MessageLogger.h
EcalTBCrystalMap.h
EcalTBMCInfoProducer::partXhodo
double partXhodo
Definition:
EcalTBMCInfoProducer.h:47
EcalTBMCInfoProducer::GenVtxToken
edm::EDGetTokenT< edm::HepMCProduct > GenVtxToken
Definition:
EcalTBMCInfoProducer.h:54
Event.h
MakerMacros.h
EventSetup.h
EcalTBMCInfoProducer::~EcalTBMCInfoProducer
~EcalTBMCInfoProducer() override
Destructor.
Definition:
EcalTBMCInfoProducer.cc:103
EcalTBMCInfoProducer::beamPhi
double beamPhi
Definition:
EcalTBMCInfoProducer.h:39
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:107
ParameterSet.h
EDProducer.h
PEcalTBInfo.h
EcalTBMCInfoProducer::beamYoff
double beamYoff
Definition:
EcalTBMCInfoProducer.h:45
EcalTBMCInfoProducer::beamXoff
double beamXoff
Definition:
EcalTBMCInfoProducer.h:44
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:51
HepMCProduct.h
EcalTBMCInfoProducer::crysNumber
int crysNumber
Definition:
EcalTBMCInfoProducer.h:42
EcalTBMCInfoProducer::theTestMap
EcalTBCrystalMap * theTestMap
Definition:
EcalTBMCInfoProducer.h:50
EcalTBCrystalMap
Definition:
EcalTBCrystalMap.h:18
edm::stream::EDProducer
Definition:
EDProducer.h:38
EcalTBMCInfoProducer::partYhodo
double partYhodo
Definition:
EcalTBMCInfoProducer.h:48
EcalTBMCInfoProducer::beamEta
double beamEta
Definition:
EcalTBMCInfoProducer.h:38
edm::ParameterSet
Definition:
ParameterSet.h:36
EcalTBMCInfoProducer::fromCMStoTB
ROOT::Math::Rotation3D * fromCMStoTB
Definition:
EcalTBMCInfoProducer.h:52
edm::Event
Definition:
Event.h:70
event
Definition:
event.py:1
EcalTBMCInfoProducer::beamTheta
double beamTheta
Definition:
EcalTBMCInfoProducer.h:40
Handle.h
EcalTBMCInfoProducer::EcalTBMCInfoProducer
EcalTBMCInfoProducer(const edm::ParameterSet &ps)
Constructor.
Definition:
EcalTBMCInfoProducer.cc:22
Generated for CMSSW Reference Manual by
1.8.11