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