1 #ifndef IOMC_GaussEvtVtxGenerator_H 2 #define IOMC_GaussEvtVtxGenerator_H 18 class HepRandomEngine;
36 HepMC::FourVector
newVertex(CLHEP::HepRandomEngine*)
const override;
void sigmaY(double s=1.0)
set resolution in Y in cm
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESGetToken< SimBeamSpotObjects, SimBeamSpotObjectsRcd > beamToken_
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void meanZ(double m=0)
set mean in Z in cm
void meanX(double m=0)
set mean in X in cm
void sigmaX(double s=1.0)
set resolution in X in cm
GaussEvtVtxGenerator & operator=(const GaussEvtVtxGenerator &rhs)=delete
void update(const edm::EventSetup &iEventSetup)
edm::ESWatcher< SimBeamSpotObjectsRcd > parameterWatcher_
GaussEvtVtxGenerator(const edm::ParameterSet &p)
HepMC::FourVector newVertex(CLHEP::HepRandomEngine *) const override
return a new event vertex
void meanY(double m=0)
set mean in Y in cm
TMatrixD const * GetInvLorentzBoost() const override
void sigmaZ(double s=1.0)
set resolution in Z in cm
~GaussEvtVtxGenerator() override=default