8 #include "CLHEP/Random/RandFlat.h"
9 #include "CLHEP/Units/GlobalSystemOfUnits.h"
10 #include "CLHEP/Units/GlobalPhysicalConstants.h"
12 #include "HepMC/SimpleVector.h"
30 <<
"Error in FlatEvtVtxGenerator: "
31 <<
"MinX is greater than MaxX";
35 <<
"Error in FlatEvtVtxGenerator: "
36 <<
"MinY is greater than MaxY";
40 <<
"Error in FlatEvtVtxGenerator: "
41 <<
"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