Go to the documentation of this file.
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);
const float energy() const
void setVtxOffsetY56(double offset)
static void fillDescriptions(edm::ConfigurationDescriptions &)
void setVtxStddevX(double stddev)
void setVtxOffsetZ45(double offset)
void setVtxOffsetY45(double offset)
void setVtxStddevY(double stddev)
void setBeamDivergenceY56(double div)
CTPPSBeamParametersFromLHCInfoESSource(const edm::ParameterSet &)
const float crossingAngle() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
void setBeamDivergenceX56(double div)
void setVtxOffsetX56(double offset)
void setBeamDivergenceY45(double div)
void setVtxOffsetZ56(double offset)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void setVtxOffsetX45(double offset)
T getParameter(std::string const &) const
std::unique_ptr< CTPPSBeamParameters > produce(const CTPPSBeamParametersRcd &)
const float betaStar() const
void setBeamDivergenceX45(double div)
~CTPPSBeamParametersFromLHCInfoESSource() override=default
const edm::ESGetToken< LHCInfo, LHCInfoRcd > lhcInfoToken_
void setVtxStddevZ(double stddev)
CTPPSBeamParameters defaultParameters_