69 const auto beamMom = lhcInfo.
energy();
73 bp->setBeamMom45(beamMom);
74 bp->setBeamMom56(beamMom);
81 bp->setHalfXangleX45(
xangle);
82 bp->setHalfXangleX56(
xangle);
83 bp->setHalfXangleY45(
xangle);
84 bp->setHalfXangleY56(
xangle);
97 desc.add<
double>(
"beamDivX45", 0.1);
98 desc.add<
double>(
"beamDivY45", 0.1);
99 desc.add<
double>(
"beamDivX56", 0.1);
100 desc.add<
double>(
"beamDivY56", 0.1);
103 desc.add<
double>(
"vtxOffsetX45", 1.e-2);
104 desc.add<
double>(
"vtxOffsetY45", 1.e-2);
105 desc.add<
double>(
"vtxOffsetZ45", 1.e-2);
106 desc.add<
double>(
"vtxOffsetX56", 1.e-2);
107 desc.add<
double>(
"vtxOffsetY56", 1.e-2);
108 desc.add<
double>(
"vtxOffsetZ56", 1.e-2);
111 desc.add<
double>(
"vtxStddevX", 2.e-2);
112 desc.add<
double>(
"vtxStddevY", 2.e-2);
113 desc.add<
double>(
"vtxStddevZ", 2.e-2);
115 descriptions.
add(
"ctppsBeamParametersFromLHCInfoESSource",
desc);
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &)
void setBeamDivergenceY45(double div)
std::unique_ptr< CTPPSBeamParameters > produce(const CTPPSBeamParametersRcd &)
void setVtxStddevX(double stddev)
void setVtxStddevZ(double stddev)
float const energy() const
CTPPSBeamParametersFromLHCInfoESSource(const edm::ParameterSet &)
void setVtxOffsetY56(double offset)
void setBeamDivergenceX56(double div)
float const betaStar() const
void setBeamDivergenceX45(double div)
void setVtxOffsetZ56(double offset)
float const crossingAngle() const
void setVtxStddevY(double stddev)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void setVtxOffsetX45(double offset)
void setBeamDivergenceY56(double div)
const edm::ESGetToken< LHCInfo, LHCInfoRcd > lhcInfoToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void setVtxOffsetY45(double offset)
~CTPPSBeamParametersFromLHCInfoESSource() override=default
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
CTPPSBeamParameters defaultParameters_
void setVtxOffsetZ45(double offset)
void setVtxOffsetX56(double offset)