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/EDProducer.h
"
7
#include "
FWCore/Utilities/interface/InputTag.h
"
8
9
#include "TMatrixD.h"
10
11
/*
12
namespace HepMC {
13
class GenEvent;
14
}
15
*/
16
17
namespace
HepMC
{
18
class
FourVector ;
19
}
20
21
namespace
CLHEP
{
22
//class Hep3Vector;
23
class
HepRandomEngine;
24
}
25
26
class
BaseEvtVtxGenerator
:
public
edm::EDProducer
27
{
28
public
:
29
30
// ctor & dtor
31
explicit
BaseEvtVtxGenerator
(
const
edm::ParameterSet
& );
32
virtual
~
BaseEvtVtxGenerator
();
33
34
virtual
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
35
36
//virtual CLHEP::Hep3Vector* newVertex() = 0;
37
virtual
HepMC::FourVector* newVertex(CLHEP::HepRandomEngine*) = 0 ;
41
//virtual CLHEP::Hep3Vector* lastVertex() { return fVertex; }
42
virtual
HepMC::FourVector*
lastVertex
() {
return
fVertex; }
43
44
virtual
TMatrixD* GetInvLorentzBoost() = 0;
45
46
protected
:
47
48
//CLHEP::Hep3Vector* fVertex;
49
HepMC::FourVector*
fVertex
;
50
TMatrixD *
boost_
;
51
double
fTimeOffset
;
52
53
private
:
54
55
edm::InputTag
sourceLabel
;
56
57
};
58
59
#endif
BaseEvtVtxGenerator::boost_
TMatrixD * boost_
Definition:
BaseEvtVtxGenerator.h:50
BaseEvtVtxGenerator::fVertex
HepMC::FourVector * fVertex
Definition:
BaseEvtVtxGenerator.h:49
BaseEvtVtxGenerator::lastVertex
virtual HepMC::FourVector * lastVertex()
Definition:
BaseEvtVtxGenerator.h:42
edm::EDProducer
Definition:
EDProducer.h:35
CLHEP
Definition:
CocoaGlobals.h:27
BaseEvtVtxGenerator::fTimeOffset
double fTimeOffset
Definition:
BaseEvtVtxGenerator.h:51
edm::EventSetup
Definition:
EventSetup.h:45
EDProducer.h
BaseEvtVtxGenerator
Definition:
BaseEvtVtxGenerator.h:26
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
HepMC
Definition:
GenParticle.h:15
BaseEvtVtxGenerator::sourceLabel
edm::InputTag sourceLabel
Definition:
BaseEvtVtxGenerator.h:55
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
Generated for CMSSW Reference Manual by
1.8.11