Go to the documentation of this file. 1 #ifndef IOMC_BetafuncEvtVtxGenerator_H
2 #define IOMC_BetafuncEvtVtxGenerator_H
28 class HepRandomEngine;
40 HepMC::FourVector
newVertex(CLHEP::HepRandomEngine*)
const override;
BetafuncEvtVtxGenerator(const edm::ParameterSet &p)
void X0(double m=0)
set mean in X in cm
~BetafuncEvtVtxGenerator() override
void emittance(double m=0)
emittance (no the normalized)
void sigmaZ(double s=1.0)
set resolution in Z in cm
BetafuncEvtVtxGenerator & operator=(const BetafuncEvtVtxGenerator &rhs)=delete
double BetaFunction(double z, double z0) const
beta function
void setBoost(double alpha, double phi)
HepMC::FourVector newVertex(CLHEP::HepRandomEngine *) const override
return a new event vertex
edm::ESWatcher< SimBeamSpotObjectsRcd > parameterWatcher_
void Z0(double m=0)
set mean in Z in cm
TMatrixD const * GetInvLorentzBoost() const override
edm::ESGetToken< SimBeamSpotObjects, SimBeamSpotObjectsRcd > beamToken_
void Y0(double m=0)
set mean in Y in cm
void betastar(double m=0)
set beta_star
void update(const edm::EventSetup &iEventSetup)
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override