8 #include "CLHEP/Random/RandGaussQ.h"
9 #include "CLHEP/Units/GlobalSystemOfUnits.h"
10 #include "CLHEP/Units/GlobalPhysicalConstants.h"
12 #include "HepMC/SimpleVector.h"
30 <<
"Error in GaussEvtVtxGenerator: "
31 <<
"Illegal resolution in X (SigmaX is negative)";
35 <<
"Error in GaussEvtVtxGenerator: "
36 <<
"Illegal resolution in Y (SigmaY is negative)";
40 <<
"Error in GaussEvtVtxGenerator: "
41 <<
"Illegal resolution in Z (SigmaZ is negative)";
72 <<
"Error in GaussEvtVtxGenerator::sigmaX: "
73 <<
"Illegal resolution in X (negative)";
84 <<
"Error in GaussEvtVtxGenerator::sigmaY: "
85 <<
"Illegal resolution in Y (negative)";
96 <<
"Error in GaussEvtVtxGenerator::sigmaZ: "
97 <<
"Illegal resolution in Z (negative)";
const double Z[kNumberCalorimeter]
T getParameter(std::string const &) const
virtual ~GaussEvtVtxGenerator()
CLHEP::HepRandomEngine & getEngine()
void sigmaY(double s=1.0)
set resolution in Y in cm
HepMC::FourVector * fVertex
void sigmaX(double s=1.0)
set resolution in X in cm
GaussEvtVtxGenerator(const edm::ParameterSet &p)
CLHEP::RandGaussQ * fRandom
virtual HepMC::FourVector * newVertex()
return a new event vertex
void sigmaZ(double s=1.0)
set resolution in Z in cm