#include <GaussEvtVtxGenerator.h>
Public Member Functions | |
GaussEvtVtxGenerator (const edm::ParameterSet &p) | |
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... | |
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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Private Member Functions | |
GaussEvtVtxGenerator (const GaussEvtVtxGenerator &p)=delete | |
GaussEvtVtxGenerator & | operator= (const GaussEvtVtxGenerator &rhs)=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<> | |
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 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 AlCaHLTBitMon_ParallelJobs::p.
|
override |
Definition at line 37 of file GaussEvtVtxGenerator.cc.
|
privatedelete |
Copy constructor
|
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 25 of file GaussEvtVtxGenerator.h.
|
inline |
set mean in X in cm
Definition at line 35 of file GaussEvtVtxGenerator.h.
References fMeanX, and visualization-live-secondInstance_cfg::m.
|
inline |
set mean in Y in cm
Definition at line 37 of file GaussEvtVtxGenerator.h.
References fMeanY, and visualization-live-secondInstance_cfg::m.
|
inline |
set mean in Z in cm
Definition at line 39 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, DOFs::Y, and DOFs::Z.
|
privatedelete |
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 49 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), meanX(), and newVertex().
|
private |
Definition at line 49 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), meanY(), and newVertex().
|
private |
Definition at line 49 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), meanZ(), and newVertex().
|
private |
Definition at line 48 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaX().
|
private |
Definition at line 48 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaY().
|
private |
Definition at line 48 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaZ().
|
private |
Definition at line 50 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), and newVertex().