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