9 #include "CLHEP/Random/RandFlat.h"
10 #include "CLHEP/Units/GlobalSystemOfUnits.h"
11 #include "CLHEP/Units/GlobalPhysicalConstants.h"
13 #include "HepMC/SimpleVector.h"
31 <<
"Error in FlatEvtVtxGenerator: "
32 <<
"MinX is greater than MaxX";
36 <<
"Error in FlatEvtVtxGenerator: "
37 <<
"MinY is greater than MaxY";
41 <<
"Error in FlatEvtVtxGenerator: "
42 <<
"MinZ is greater than MaxZ";
T getParameter(std::string const &) const
CLHEP::HepRandomEngine & getEngine()
HepMC::FourVector * fVertex
void minZ(double m=0.0)
set min in Z in cm
virtual HepMC::FourVector * newVertex()
return a new event vertex
const T & max(const T &a, const T &b)
CLHEP::RandFlat * fRandom
void maxZ(double m=0)
set max in Z in cm
FlatEvtVtxGenerator(const edm::ParameterSet &p)
void minX(double m=0.0)
set min in X in cm
virtual ~FlatEvtVtxGenerator()
void minY(double m=0.0)
set min in Y in cm
void maxX(double m=0)
set max in X in cm
void maxY(double m=0)
set max in Y in cm