#include <SimBeamSpotObjects.h>
Public Member Functions | |
void | print (std::stringstream &ss) const |
void | read (edm::ParameterSet &p) |
SimBeamSpotObjects () | |
virtual | ~SimBeamSpotObjects () |
Public Attributes | |
double | fAlpha |
double | fbetastar |
double | femittance |
double | fPhi |
double | fSigmaZ |
double | fTimeOffset |
double | fX0 |
double | fY0 |
double | fZ0 |
provide the vertex smearing parameters from DB
Definition at line 16 of file SimBeamSpotObjects.h.
SimBeamSpotObjects::SimBeamSpotObjects | ( | ) | [inline] |
Definition at line 18 of file SimBeamSpotObjects.h.
{};
virtual SimBeamSpotObjects::~SimBeamSpotObjects | ( | ) | [inline, virtual] |
Definition at line 19 of file SimBeamSpotObjects.h.
{};
void SimBeamSpotObjects::print | ( | std::stringstream & | ss | ) | const |
Definition at line 5 of file SimBeamSpotObjects.cc.
References fX0.
Referenced by operator<<().
{ ss << "-----------------------------------------------------\n" <<fX0<<std::endl; }
void SimBeamSpotObjects::read | ( | edm::ParameterSet & | p | ) | [inline] |
Definition at line 29 of file SimBeamSpotObjects.h.
References fAlpha, fbetastar, femittance, fPhi, fSigmaZ, fTimeOffset, fX0, fY0, fZ0, and edm::ParameterSet::getParameter().
Referenced by BeamProfile2DB::endJob().
{ fX0 = p.getParameter<double>("X0")*cm; fY0 = p.getParameter<double>("Y0")*cm; fZ0 = p.getParameter<double>("Z0")*cm; fSigmaZ = p.getParameter<double>("SigmaZ")*cm; fAlpha = p.getParameter<double>("Alpha")*radian; fPhi = p.getParameter<double>("Phi")*radian; fbetastar = p.getParameter<double>("BetaStar")*cm; femittance = p.getParameter<double>("Emittance")*cm; // this is not the normalized emittance fTimeOffset = p.getParameter<double>("TimeOffset")*ns*c_light; // HepMC time units are mm }
double SimBeamSpotObjects::fAlpha |
Definition at line 24 of file SimBeamSpotObjects.h.
Referenced by read().
Definition at line 23 of file SimBeamSpotObjects.h.
Referenced by read().
Definition at line 23 of file SimBeamSpotObjects.h.
Referenced by read().
double SimBeamSpotObjects::fPhi |
Definition at line 24 of file SimBeamSpotObjects.h.
Referenced by read().
double SimBeamSpotObjects::fSigmaZ |
Definition at line 22 of file SimBeamSpotObjects.h.
Referenced by read().
Definition at line 25 of file SimBeamSpotObjects.h.
Referenced by read().
double SimBeamSpotObjects::fX0 |
Definition at line 19 of file SimBeamSpotObjects.h.
double SimBeamSpotObjects::fY0 |
Definition at line 19 of file SimBeamSpotObjects.h.
Referenced by read().
double SimBeamSpotObjects::fZ0 |
Definition at line 19 of file SimBeamSpotObjects.h.
Referenced by read().