26 #include "CLHEP/Random/RandGaussQ.h"
27 #include "CLHEP/Units/GlobalSystemOfUnits.h"
28 #include "CLHEP/Units/GlobalPhysicalConstants.h"
30 #include "HepMC/SimpleVector.h"
54 <<
"Error in BetafuncEvtVtxGenerator: "
55 <<
"Illegal resolution in Z (SigmaZ is negative)";
78 tmp_sigx /=
sqrt(2.0);
83 tmp_sigy /=
sqrt(2.0);
109 <<
"Error in BetafuncEvtVtxGenerator::sigmaZ: "
110 <<
"Illegal resolution in Z (negative)";
123 TMatrixD tmpboost(4,4);
149 boost_ =
new TMatrixD(tmpboost);
const double Z[kNumberCalorimeter]
T getParameter(std::string const &) const
void sigmaZ(double s=1.0)
set resolution in Z in cm
CLHEP::HepRandomEngine & getEngine()
virtual HepMC::FourVector * newVertex()
return a new event vertex
HepMC::FourVector * fVertex
BetafuncEvtVtxGenerator(const edm::ParameterSet &p)
Sin< T >::type sin(const T &t)
double BetaFunction(double z, double z0)
beta function
virtual TMatrixD * GetInvLorentzBoost()
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
CLHEP::RandGaussQ * fRandom
virtual ~BetafuncEvtVtxGenerator()