1 #ifndef IOMC_BetafuncEvtVtxGenerator_H
2 #define IOMC_BetafuncEvtVtxGenerator_H
26 class HepRandomEngine;
40 virtual HepMC::FourVector*
newVertex(CLHEP::HepRandomEngine*) ;
void sigmaZ(double s=1.0)
set resolution in Z in cm
void Phi(double m=0)
set half crossing angle
void X0(double m=0)
set mean in X in cm
BetafuncEvtVtxGenerator(const edm::ParameterSet &p)
double BetaFunction(double z, double z0)
beta function
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
virtual TMatrixD * GetInvLorentzBoost()
void betastar(double m=0)
set beta_star
void Y0(double m=0)
set mean in Y in cm
void update(const edm::EventSetup &iEventSetup)
edm::ESWatcher< SimBeamSpotObjectsRcd > parameterWatcher_
void Z0(double m=0)
set mean in Z in cm
void Alpha(double m=0)
angle between crossing plane and horizontal plane
BetafuncEvtVtxGenerator & operator=(const BetafuncEvtVtxGenerator &rhs)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void emittance(double m=0)
emittance (no the normalized)
virtual ~BetafuncEvtVtxGenerator()
virtual HepMC::FourVector * newVertex(CLHEP::HepRandomEngine *)
return a new event vertex