9 #include "CLHEP/Random/RandGaussQ.h"
10 #include "CLHEP/Units/GlobalSystemOfUnits.h"
11 #include "CLHEP/Units/GlobalPhysicalConstants.h"
13 #include "HepMC/SimpleVector.h"
31 <<
"Error in GaussEvtVtxGenerator: "
32 <<
"Illegal resolution in X (SigmaX is negative)";
36 <<
"Error in GaussEvtVtxGenerator: "
37 <<
"Illegal resolution in Y (SigmaY is negative)";
41 <<
"Error in GaussEvtVtxGenerator: "
42 <<
"Illegal resolution in Z (SigmaZ is negative)";
73 <<
"Error in GaussEvtVtxGenerator::sigmaX: "
74 <<
"Illegal resolution in X (negative)";
85 <<
"Error in GaussEvtVtxGenerator::sigmaY: "
86 <<
"Illegal resolution in Y (negative)";
97 <<
"Error in GaussEvtVtxGenerator::sigmaZ: "
98 <<
"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