Go to the documentation of this file.
18 edm::LogInfo(
"RecoVertex/BeamSpotProducer") <<
"Initializing Beam Spot producer "
22 m_beamToken = esConsumes<BeamSpotObjects, BeamSpotObjectsRcd>();
24 produces<reco::BeamSpot>();
37 auto result = std::make_unique<reco::BeamSpot>();
46 edm::LogInfo(
"RecoVertex/BeamSpotProducer") <<
"Reconstructing event number: " <<
iEvent.id() <<
"\n";
55 for (
int i = 0;
i < 7; ++
i) {
56 for (
int j = 0;
j < 7; ++
j) {
T const * product() const
double GetBeamWidthY() const
get average transverse beam width
double Getdxdz() const
get dxdz slope, crossing angle in XZ
void setBeamWidthY(double v)
void setEmittanceY(double v)
edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > m_beamToken
BeamSpotProducer(const edm::ParameterSet &iConf)
constructor
double GetSigmaZ() const
get sigma Z, RMS bunch length
double GetZ() const
get Z beam position
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
produce a beam spot class
Log< level::Info, false > LogInfo
#define DEFINE_FWK_MODULE(type)
double GetCovariance(int i, int j) const
get i,j element of the full covariance matrix 7x7
void setEmittanceX(double v)
~BeamSpotProducer() override
destructor
double GetBetaStar() const
get beta star
double GetEmittanceX() const
get emittance
double GetY() const
get Y beam position
void setbetaStar(double v)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
math::Error< dimension >::type CovarianceMatrix
double GetBeamWidthX() const
get average transverse beam width
double GetEmittanceY() const
get emittance
double Getdydz() const
get dydz slope, crossing angle in YZ
math::XYZPoint Point
point in the space
double GetX() const
get X beam position