#include <GaussEvtVtxGenerator.h>
Public Member Functions | |
GaussEvtVtxGenerator (const edm::ParameterSet &p) | |
GaussEvtVtxGenerator (const GaussEvtVtxGenerator &p)=delete | |
TMatrixD const * | GetInvLorentzBoost () const override |
void | meanX (double m=0) |
set mean in X in cm More... | |
void | meanY (double m=0) |
set mean in Y in cm More... | |
void | meanZ (double m=0) |
set mean in Z in cm More... | |
HepMC::FourVector | newVertex (CLHEP::HepRandomEngine *) const override |
return a new event vertex More... | |
GaussEvtVtxGenerator & | operator= (const GaussEvtVtxGenerator &rhs)=delete |
void | sigmaX (double s=1.0) |
set resolution in X in cm More... | |
void | sigmaY (double s=1.0) |
set resolution in Y in cm More... | |
void | sigmaZ (double s=1.0) |
set resolution in Z in cm More... | |
~GaussEvtVtxGenerator () 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 | |
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 | |
double | fMeanX |
double | fMeanY |
double | fMeanZ |
double | fSigmaX |
double | fSigmaY |
double | fSigmaZ |
double | fTimeOffset |
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 16 of file GaussEvtVtxGenerator.h.
GaussEvtVtxGenerator::GaussEvtVtxGenerator | ( | const edm::ParameterSet & | p | ) |
Definition at line 14 of file GaussEvtVtxGenerator.cc.
References Exception, fMeanX, fMeanY, fMeanZ, fSigmaX, fSigmaY, fSigmaZ, fTimeOffset, and edm::ParameterSet::getParameter().
|
delete |
Copy constructor
|
override |
Definition at line 37 of file GaussEvtVtxGenerator.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 29 of file GaussEvtVtxGenerator.h.
|
inline |
set mean in X in cm
Definition at line 39 of file GaussEvtVtxGenerator.h.
References fMeanX, and visualization-live-secondInstance_cfg::m.
|
inline |
set mean in Y in cm
Definition at line 41 of file GaussEvtVtxGenerator.h.
References fMeanY, and visualization-live-secondInstance_cfg::m.
|
inline |
set mean in Z in cm
Definition at line 43 of file GaussEvtVtxGenerator.h.
References fMeanZ, and visualization-live-secondInstance_cfg::m.
|
overridevirtual |
return a new event vertex
Implements BaseEvtVtxGenerator.
Definition at line 39 of file GaussEvtVtxGenerator.cc.
References fMeanX, fMeanY, fMeanZ, fSigmaX, fSigmaY, fSigmaZ, fTimeOffset, X, BeamSpotPI::Y, and BeamSpotPI::Z.
|
delete |
Copy assignment operator
void GaussEvtVtxGenerator::sigmaX | ( | double | s = 1.0 | ) |
set resolution in X in cm
Definition at line 49 of file GaussEvtVtxGenerator.cc.
References Exception, fSigmaX, and alignCSCRings::s.
void GaussEvtVtxGenerator::sigmaY | ( | double | s = 1.0 | ) |
set resolution in Y in cm
Definition at line 58 of file GaussEvtVtxGenerator.cc.
References Exception, fSigmaY, and alignCSCRings::s.
void GaussEvtVtxGenerator::sigmaZ | ( | double | s = 1.0 | ) |
set resolution in Z in cm
Definition at line 67 of file GaussEvtVtxGenerator.cc.
References Exception, fSigmaZ, and alignCSCRings::s.
|
private |
Definition at line 47 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), meanX(), and newVertex().
|
private |
Definition at line 47 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), meanY(), and newVertex().
|
private |
Definition at line 47 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), meanZ(), and newVertex().
|
private |
Definition at line 46 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaX().
|
private |
Definition at line 46 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaY().
|
private |
Definition at line 46 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaZ().
|
private |
Definition at line 48 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), and newVertex().