#include <PassThroughEvtVtxGenerator.h>
Public Member Functions | |
TMatrixD const * | GetInvLorentzBoost () const override |
HepMC::FourVector | newVertex (CLHEP::HepRandomEngine *) const override |
PassThroughEvtVtxGenerator (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PassThroughEvtVtxGenerator () override | |
Public Member Functions inherited from BaseEvtVtxGenerator | |
BaseEvtVtxGenerator (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~BaseEvtVtxGenerator () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Attributes | |
edm::EDGetTokenT< edm::HepMCProduct > | sourceToken |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 24 of file PassThroughEvtVtxGenerator.h.
|
explicit |
Definition at line 30 of file PassThroughEvtVtxGenerator.cc.
References Exception, edm::ParameterSet::getParameter(), edm::Service< T >::isAvailable(), and sourceToken.
|
override |
Definition at line 44 of file PassThroughEvtVtxGenerator.cc.
|
inlineoverridevirtual |
This method - and the comment - is a left-over from COBRA-OSCAR time : return the last generated event vertex. If no vertex has been generated yet, a NULL pointer is returned.
Implements BaseEvtVtxGenerator.
Definition at line 36 of file PassThroughEvtVtxGenerator.h.
|
overridevirtual |
Implements BaseEvtVtxGenerator.
Definition at line 48 of file PassThroughEvtVtxGenerator.cc.
|
override |
Definition at line 52 of file PassThroughEvtVtxGenerator.cc.
References edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), eostools::move(), edm::Event::put(), mathSSE::return(), and sourceToken.
|
private |
Definition at line 36 of file PassThroughEvtVtxGenerator.h.
Referenced by PassThroughEvtVtxGenerator(), and produce().