8 #include "CLHEP/Random/RandGaussQ.h" 9 #include "CLHEP/Units/GlobalSystemOfUnits.h" 10 #include "CLHEP/Units/GlobalPhysicalConstants.h" 12 #include "HepMC/SimpleVector.h" 27 <<
"Error in GaussEvtVtxGenerator: " 28 <<
"Illegal resolution in X (SigmaX is negative)";
32 <<
"Error in GaussEvtVtxGenerator: " 33 <<
"Illegal resolution in Y (SigmaY is negative)";
37 <<
"Error in GaussEvtVtxGenerator: " 38 <<
"Illegal resolution in Z (SigmaZ is negative)";
69 <<
"Error in GaussEvtVtxGenerator::sigmaX: " 70 <<
"Illegal resolution in X (negative)";
81 <<
"Error in GaussEvtVtxGenerator::sigmaY: " 82 <<
"Illegal resolution in Y (negative)";
93 <<
"Error in GaussEvtVtxGenerator::sigmaZ: " 94 <<
"Illegal resolution in Z (negative)";
const double Z[kNumberCalorimeter]
T getParameter(std::string const &) const
virtual ~GaussEvtVtxGenerator()
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
virtual HepMC::FourVector * newVertex(CLHEP::HepRandomEngine *)
return a new event vertex
GaussEvtVtxGenerator(const edm::ParameterSet &p)
void sigmaZ(double s=1.0)
set resolution in Z in cm