Go to the documentation of this file.
70 const auto beamMom = lhcInfo.
energy();
74 bp->setBeamMom45(beamMom);
75 bp->setBeamMom56(beamMom);
82 bp->setHalfXangleX45(
xangle);
83 bp->setHalfXangleX56(
xangle);
84 bp->setHalfXangleY45(
xangle);
85 bp->setHalfXangleY56(
xangle);
98 desc.
add<
double>(
"beamDivX45", 0.1);
99 desc.
add<
double>(
"beamDivY45", 0.1);
100 desc.
add<
double>(
"beamDivX56", 0.1);
101 desc.
add<
double>(
"beamDivY56", 0.1);
104 desc.
add<
double>(
"vtxOffsetX45", 1.e-2);
105 desc.
add<
double>(
"vtxOffsetY45", 1.e-2);
106 desc.
add<
double>(
"vtxOffsetZ45", 1.e-2);
107 desc.
add<
double>(
"vtxOffsetX56", 1.e-2);
108 desc.
add<
double>(
"vtxOffsetY56", 1.e-2);
109 desc.
add<
double>(
"vtxOffsetZ56", 1.e-2);
112 desc.
add<
double>(
"vtxStddevX", 2.e-2);
113 desc.
add<
double>(
"vtxStddevY", 2.e-2);
114 desc.
add<
double>(
"vtxStddevZ", 2.e-2);
116 descriptions.
add(
"ctppsBeamParametersFromLHCInfoESSource", desc);
const float energy() const
void setVtxOffsetY56(double offset)
static void fillDescriptions(edm::ConfigurationDescriptions &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void setVtxStddevX(double stddev)
edm::ESGetToken< LHCInfo, LHCInfoRcd > lhcInfoToken_
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
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)
T getParameter(std::string const &) const
void setVtxOffsetZ56(double offset)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void setVtxOffsetX45(double offset)
std::unique_ptr< CTPPSBeamParameters > produce(const CTPPSBeamParametersRcd &)
const float betaStar() const
void setBeamDivergenceX45(double div)
~CTPPSBeamParametersFromLHCInfoESSource() override=default
void setVtxStddevZ(double stddev)
CTPPSBeamParameters defaultParameters_