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) {
66 aSpot.setbetaStar(spotDB->
betaStar());
double emittanceX() const
get emittance
math::Error< dimension >::type CovarianceMatrix
double z() const
get Z beam position
double dydz() const
get dydz slope, crossing angle in YZ
double covariance(int i, int j) const
get i,j element of the full covariance matrix 7x7
~BeamSpotProducer() override
destructor
math::XYZPoint Point
point in the space
double beamWidthX() const
get average transverse beam width
T const * product() const
edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > m_beamToken
BeamSpotProducer(const edm::ParameterSet &iConf)
constructor
double x() const
get X beam position
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
produce a beam spot class
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
double beamWidthY() const
get average transverse beam width
Log< level::Info, false > LogInfo
double y() const
get Y beam position
double sigmaZ() const
get sigma Z, RMS bunch length
double emittanceY() const
get emittance
double betaStar() const
get beta star
double dxdz() const
get dxdz slope, crossing angle in XZ