#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 | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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 edm::ParameterSet::getParameter().
|
override |
Definition at line 42 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 26 of file GaussEvtVtxGenerator.h.
References alignCSCRings::s, fftjetvertexadder_cfi::sigmaX, fftjetvertexadder_cfi::sigmaY, and fftjetvertexadder_cfi::sigmaZ.
|
inline |
|
inline |
|
inline |
|
overridevirtual |
return a new event vertex
Implements BaseEvtVtxGenerator.
Definition at line 47 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 57 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 69 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 81 of file GaussEvtVtxGenerator.cc.
References Exception, fSigmaZ, and alignCSCRings::s.
|
private |
Definition at line 52 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), and newVertex().
|
private |
Definition at line 52 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), and newVertex().
|
private |
Definition at line 52 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), and newVertex().
|
private |
Definition at line 51 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaX().
|
private |
Definition at line 51 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaY().
|
private |
Definition at line 51 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), newVertex(), and sigmaZ().
|
private |
Definition at line 53 of file GaussEvtVtxGenerator.h.
Referenced by GaussEvtVtxGenerator(), and newVertex().