src
FastSimulation
ForwardDetectors
plugins
CastorFastTowerProducer.h
Go to the documentation of this file.
1
#ifndef FastSimulation_ForwardDetectors_CastorFastTowerProducer_h
2
#define FastSimulation_ForwardDetectors_CastorFastTowerProducer_h
3
4
// Castorobject includes
5
#include "
DataFormats/CastorReco/interface/CastorTower.h
"
6
#include "
DataFormats/Math/interface/Point3D.h
"
7
#include "
DataFormats/HepMCCandidate/interface/GenParticle.h
"
8
9
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
FWCore/Utilities/interface/EDGetToken.h
"
12
13
//
14
// class decleration
15
//
16
17
class
CastorFastTowerProducer
:
public
edm::stream::EDProducer
<> {
18
public
:
19
explicit
CastorFastTowerProducer
(
const
edm::ParameterSet
&);
20
~CastorFastTowerProducer
()
override
;
21
22
private
:
23
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
24
double
make_noise
();
25
26
// ----------member data ---------------------------
27
typedef
math::XYZPointD
Point
;
28
typedef
ROOT::Math::RhoEtaPhiPoint
TowerPoint
;
29
typedef
std::vector<reco::CastorTower>
CastorTowerCollection
;
30
const
edm::EDGetTokenT<reco::GenParticleCollection>
tokGenPart_
;
31
};
32
33
#endif
CastorFastTowerProducer::make_noise
double make_noise()
Definition:
CastorFastTowerProducer.cc:354
CastorFastTowerProducer::CastorFastTowerProducer
CastorFastTowerProducer(const edm::ParameterSet &)
Definition:
CastorFastTowerProducer.cc:52
CastorFastTowerProducer::CastorTowerCollection
std::vector< reco::CastorTower > CastorTowerCollection
Definition:
CastorFastTowerProducer.h:29
EDProducer.h
GenParticle.h
CastorTower.h
CastorFastTowerProducer::TowerPoint
ROOT::Math::RhoEtaPhiPoint TowerPoint
Definition:
CastorFastTowerProducer.h:28
edm::EDGetTokenT< reco::GenParticleCollection >
Point3D.h
ParameterSet.h
CastorFastTowerProducer::tokGenPart_
const edm::EDGetTokenT< reco::GenParticleCollection > tokGenPart_
Definition:
CastorFastTowerProducer.h:30
CastorFastTowerProducer::Point
math::XYZPointD Point
Definition:
CastorFastTowerProducer.h:27
CastorFastTowerProducer
Definition:
CastorFastTowerProducer.h:17
edm::EventSetup
Definition:
EventSetup.h:56
EDGetToken.h
math::XYZPointD
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double > > XYZPointD
point in space with cartesian internal representation
Definition:
Point3D.h:8
CastorFastTowerProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CastorFastTowerProducer.cc:70
edm::stream::EDProducer
Definition:
EDProducer.h:36
CastorFastTowerProducer::~CastorFastTowerProducer
~CastorFastTowerProducer() override
Definition:
CastorFastTowerProducer.cc:60
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.14