#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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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 29 of file PassThroughEvtVtxGenerator.cc.
References Exception, edm::Service< T >::isAvailable(), muonDTDigis_cfi::pset, and sourceToken.
|
override |
Definition at line 41 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 34 of file PassThroughEvtVtxGenerator.h.
|
overridevirtual |
Implements BaseEvtVtxGenerator.
Definition at line 43 of file PassThroughEvtVtxGenerator.cc.
|
override |
Definition at line 47 of file PassThroughEvtVtxGenerator.cc.
References edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), eostools::move(), edm::Event::put(), and sourceToken.
|
private |
Definition at line 34 of file PassThroughEvtVtxGenerator.h.
Referenced by PassThroughEvtVtxGenerator(), and produce().