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