Main Page
Namespaces
Classes
Package Documentation
IOMC
EventVertexGenerators
interface
BaseEvtVtxGenerator.h
Go to the documentation of this file.
1
#ifndef IOMC_BaseEvtVtxGenerator_H
2
#define IOMC_BaseEvtVtxGenerator_H
3
/*
4
*/
5
6
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
7
#include "
FWCore/Utilities/interface/EDGetToken.h
"
8
9
#include "TMatrixD.h"
10
11
namespace
HepMC
{
12
class
FourVector;
13
}
14
15
namespace
CLHEP
{
16
class
HepRandomEngine;
17
}
18
19
namespace
edm
{
20
class
HepMCProduct
;
21
}
22
23
class
BaseEvtVtxGenerator
:
public
edm::stream::EDProducer
<> {
24
public
:
25
// ctor & dtor
26
explicit
BaseEvtVtxGenerator
(
const
edm::ParameterSet
&);
27
~
BaseEvtVtxGenerator
()
override
;
28
29
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
30
31
virtual
HepMC::FourVector newVertex(CLHEP::HepRandomEngine*)
const
= 0;
35
//virtual CLHEP::Hep3Vector* lastVertex() { return fVertex; }
36
//virtual HepMC::FourVector* lastVertex() { return fVertex; }
37
38
virtual
TMatrixD
const
* GetInvLorentzBoost()
const
= 0;
39
40
private
:
41
edm::EDGetTokenT<edm::HepMCProduct>
sourceToken
;
42
};
43
44
#endif
EDGetToken.h
edm::EDGetTokenT< edm::HepMCProduct >
CLHEP
Definition:
CocoaGlobals.h:27
EDProducer.h
BaseEvtVtxGenerator::sourceToken
edm::EDGetTokenT< edm::HepMCProduct > sourceToken
Definition:
BaseEvtVtxGenerator.h:41
HepMCProduct
edm::EventSetup
Definition:
EventSetup.h:57
BaseEvtVtxGenerator
Definition:
BaseEvtVtxGenerator.h:23
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm
HLT enums.
Definition:
AlignableModifier.h:19
HepMC
Definition:
GenParticle.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
Generated for CMSSW Reference Manual by
1.8.11