#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 | |
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 23 of file BaseEvtVtxGenerator.h.
|
explicit |
Definition at line 30 of file BaseEvtVtxGenerator.cc.
References Exception, edm::ParameterSet::getParameter(), and edm::Service< T >::isAvailable().
|
override |
Definition at line 45 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, BeamProfileVtxGenerator, and GaussEvtVtxGenerator.
|
pure virtual |
Implemented in BetafuncEvtVtxGenerator, HLLHCEvtVtxGenerator, FlatEvtVtxGenerator, BeamProfileVtxGenerator, and GaussEvtVtxGenerator.
|
override |
Definition at line 49 of file BaseEvtVtxGenerator.cc.
References edm::Event::getByToken(), edm::RandomNumberGenerator::getEngine(), edm::HepMCProduct::GetEvent(), eostools::move(), edm::Event::put(), reco::return(), and edm::Event::streamID().
|
private |
Definition at line 44 of file BaseEvtVtxGenerator.h.