Public Member Functions | |
virtual HepMC::FourVector * | getRecVertex (edm::Event &) |
virtual HepMC::FourVector * | getVertex (edm::Event &) |
MixEvtVtxGenerator (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~MixEvtVtxGenerator () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Protected Attributes | |
TMatrixD * | boost_ |
HepMC::FourVector * | fVertex |
Private Attributes | |
edm::EDGetTokenT< CrossingFrame< HepMCProduct > > | cfLabel |
edm::EDGetTokenT< reco::VertexCollection > | hiLabel |
edm::EDGetTokenT< HepMCProduct > | signalLabel |
bool | useCF_ |
bool | useRecVertex |
std::vector< double > | vtxOffset |
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 35 of file MixEvtVtxGenerator.cc.
|
explicit |
Definition at line 65 of file MixEvtVtxGenerator.cc.
References cfLabel, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), signalLabel, useCF_, useRecVertex, and vtxOffset.
|
override |
|
virtual |
Definition at line 146 of file MixEvtVtxGenerator.cc.
References fVertex, edm::Event::getByToken(), hiLabel, input, and vtxOffset.
Referenced by produce().
|
virtual |
Definition at line 91 of file MixEvtVtxGenerator.cc.
References cfLabel, gather_cfg::cout, Exception, fVertex, edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), input, edm::HepMCProduct::isVtxGenApplied(), ecalTB2006H4_GenSimDigiReco_cfg::mix, edm::Handle< T >::product(), EnergyCorrector::pt, signalLabel, and useCF_.
Referenced by produce().
|
override |
Definition at line 164 of file MixEvtVtxGenerator.cc.
References DEFINE_FWK_MODULE, edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), getRecVertex(), getVertex(), edm::HepMCProduct::isVtxGenApplied(), eostools::move(), edm::Event::put(), mathSSE::return(), signalLabel, and useRecVertex.
|
protected |
Definition at line 51 of file MixEvtVtxGenerator.cc.
Referenced by ~MixEvtVtxGenerator().
|
private |
Definition at line 57 of file MixEvtVtxGenerator.cc.
Referenced by getVertex(), and MixEvtVtxGenerator().
|
protected |
Definition at line 50 of file MixEvtVtxGenerator.cc.
Referenced by getRecVertex(), getVertex(), and ~MixEvtVtxGenerator().
|
private |
Definition at line 55 of file MixEvtVtxGenerator.cc.
Referenced by getRecVertex().
|
private |
Definition at line 56 of file MixEvtVtxGenerator.cc.
Referenced by getVertex(), MixEvtVtxGenerator(), and produce().
|
private |
Definition at line 61 of file MixEvtVtxGenerator.cc.
Referenced by getVertex(), and MixEvtVtxGenerator().
|
private |
Definition at line 59 of file MixEvtVtxGenerator.cc.
Referenced by MixEvtVtxGenerator(), and produce().
|
private |
Definition at line 60 of file MixEvtVtxGenerator.cc.
Referenced by getRecVertex(), and MixEvtVtxGenerator().