#include <BetafuncEvtVtxGenerator.h>
Definition at line 30 of file BetafuncEvtVtxGenerator.h.
Definition at line 41 of file BetafuncEvtVtxGenerator.cc.
References alpha_, edm::hlt::Exception, fbetastar, femittance, fRandom, fSigmaZ, fTimeOffset, fX0, fY0, fZ0, BaseEvtVtxGenerator::getEngine(), edm::ParameterSet::getParameter(), phi_, and readDB_.
61 <<
"Error in BetafuncEvtVtxGenerator: "
62 <<
"Illegal resolution in Z (SigmaZ is negative)";
T getParameter(std::string const &) const
CLHEP::HepRandomEngine & getEngine()
BaseEvtVtxGenerator(const edm::ParameterSet &)
CLHEP::RandGaussQ * fRandom
BetafuncEvtVtxGenerator::~BetafuncEvtVtxGenerator |
( |
| ) |
|
|
virtual |
void BetafuncEvtVtxGenerator::Alpha |
( |
double |
m = 0 | ) |
|
|
inline |
double BetafuncEvtVtxGenerator::BetaFunction |
( |
double |
z, |
|
|
double |
z0 |
|
) |
| |
void BetafuncEvtVtxGenerator::betastar |
( |
double |
m = 0 | ) |
|
|
inline |
void BetafuncEvtVtxGenerator::emittance |
( |
double |
m = 0 | ) |
|
|
inline |
TMatrixD * BetafuncEvtVtxGenerator::GetInvLorentzBoost |
( |
| ) |
|
|
virtual |
HepMC::FourVector * BetafuncEvtVtxGenerator::newVertex |
( |
| ) |
|
|
virtual |
return a new event vertex
Implements BaseEvtVtxGenerator.
Definition at line 104 of file BetafuncEvtVtxGenerator.cc.
References BetaFunction(), fRandom, fSigmaZ, fTimeOffset, BaseEvtVtxGenerator::fVertex, fX0, fY0, fZ0, mathSSE::sqrt(), X, and Gflash::Z.
114 tmp_sigx /=
sqrt(2.0);
119 tmp_sigy /=
sqrt(2.0);
const double Z[kNumberCalorimeter]
HepMC::FourVector * fVertex
double BetaFunction(double z, double z0)
beta function
CLHEP::RandGaussQ * fRandom
void BetafuncEvtVtxGenerator::Phi |
( |
double |
m = 0 | ) |
|
|
inline |
void BetafuncEvtVtxGenerator::sigmaZ |
( |
double |
s = 1.0 | ) |
|
void BetafuncEvtVtxGenerator::update |
( |
const edm::EventSetup & |
iEventSetup | ) |
|
|
private |
Definition at line 81 of file BetafuncEvtVtxGenerator.cc.
References alpha_, BaseEvtVtxGenerator::boost_, edm::ESWatcher< T >::check(), fbetastar, femittance, fSigmaZ, fTimeOffset, fX0, fY0, fZ0, edm::EventSetup::get(), parameterWatcher_, phi_, and readDB_.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), beginLuminosityBlock(), beginRun(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
91 phi_=beamhandle->fPhi;
edm::ESWatcher< SimBeamSpotObjectsRcd > parameterWatcher_
bool check(const edm::EventSetup &iSetup)
void BetafuncEvtVtxGenerator::X0 |
( |
double |
m = 0 | ) |
|
|
inline |
void BetafuncEvtVtxGenerator::Y0 |
( |
double |
m = 0 | ) |
|
|
inline |
void BetafuncEvtVtxGenerator::Z0 |
( |
double |
m = 0 | ) |
|
|
inline |
double BetafuncEvtVtxGenerator::alpha_ |
|
private |
double BetafuncEvtVtxGenerator::fbetastar |
|
private |
double BetafuncEvtVtxGenerator::femittance |
|
private |
CLHEP::RandGaussQ* BetafuncEvtVtxGenerator::fRandom |
|
private |
double BetafuncEvtVtxGenerator::fSigmaZ |
|
private |
double BetafuncEvtVtxGenerator::fTimeOffset |
|
private |
double BetafuncEvtVtxGenerator::fX0 |
|
private |
double BetafuncEvtVtxGenerator::fY0 |
|
private |
double BetafuncEvtVtxGenerator::fZ0 |
|
private |
double BetafuncEvtVtxGenerator::phi_ |
|
private |
bool BetafuncEvtVtxGenerator::readDB_ |
|
private |