#include <BaseEvtVtxGenerator.h>
Public Member Functions | |
BaseEvtVtxGenerator (const edm::ParameterSet &) | |
virtual TMatrixD const * | GetInvLorentzBoost () const =0 |
virtual HepMC::FourVector | newVertex (CLHEP::HepRandomEngine *) const =0 |
void | produce (edm::Event &, const edm::EventSetup &) override |
~BaseEvtVtxGenerator () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Attributes | |
edm::EDGetTokenT< edm::HepMCProduct > | sourceToken |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 23 of file BaseEvtVtxGenerator.h.
|
explicit |
Definition at line 29 of file BaseEvtVtxGenerator.cc.
References Exception, edm::Service< T >::isAvailable(), and muonDTDigis_cfi::pset.
|
override |
Definition at line 42 of file BaseEvtVtxGenerator.cc.
|
pure virtual |
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.
Implemented in BetafuncEvtVtxGenerator, HLLHCEvtVtxGenerator, FlatEvtVtxGenerator, PassThroughEvtVtxGenerator, BeamProfileVtxGenerator, and GaussEvtVtxGenerator.
|
pure virtual |
|
override |
Definition at line 44 of file BaseEvtVtxGenerator.cc.
References edm::Event::getByToken(), edm::RandomNumberGenerator::getEngine(), edm::HepMCProduct::GetEvent(), eostools::move(), edm::Event::put(), and edm::Event::streamID().
|
private |
Definition at line 41 of file BaseEvtVtxGenerator.h.