31 #include "CLHEP/Units/GlobalSystemOfUnits.h" 32 #include "CLHEP/Units/GlobalPhysicalConstants.h" 55 : recordName_(iConfig.getParameter<
std::
string>(
"recordName")) {
86 ->setComment(
"name of the record to use for the PoolDBOutputService");
87 desc.add<
double>(
"MeanX", 0.0)->setComment(
"in cm");
88 desc.add<
double>(
"MeanY", 0.0)->setComment(
"in cm");
89 desc.add<
double>(
"MeanZ", 0.0)->setComment(
"in cm");
90 desc.add<
double>(
"EProton", 0.0)->setComment(
"in GeV");
91 desc.add<
double>(
"CrabFrequency", 0.0)->setComment(
"in MHz");
92 desc.add<
double>(
"RF800", 0.0)->setComment(
"800 MHz RF?");
93 desc.add<
double>(
"CrossingAngle", 0.0)->setComment(
"in urad");
94 desc.add<
double>(
"CrabbingAngleCrossing", 0.0)->setComment(
"in urad");
95 desc.add<
double>(
"CrabbingAngleSeparation", 0.0)->setComment(
"in urad");
96 desc.add<
double>(
"BetaCrossingPlane", 0.0)->setComment(
"in m");
97 desc.add<
double>(
"BetaSeparationPlane", 0.0)->setComment(
"in m");
98 desc.add<
double>(
"HorizontalEmittance", 0.0)->setComment(
"in mm");
99 desc.add<
double>(
"VerticalEmittance", 0.0)->setComment(
"in mm");
100 desc.add<
double>(
"BunchLength", 0.0)->setComment(
"in m");
101 desc.add<
double>(
"TimeOffset", 0.0)->setComment(
"in ns");
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
void setMeanY(double val)
T getParameter(std::string const &) const
void setMeanX(double val)
set meanX, meanY, meanZ
~BeamProfileHLLHC2DBWriter() override=default
const std::string recordName_
cond::Time_t beginOfTime() const
void setEProton(double val)
set EProton, fCrabFrequency, RF800
void setHorizontalEmittance(double val)
void analyze(edm::StreamID, const edm::Event &, const edm::EventSetup &) const override
void createOneIOV(const T &payload, cond::Time_t firstSinceTime, const std::string &recordName)
void setBetaSeparationPlane(double val)
void setCrabbingAngleCrossing(double val)
void setVerticalEmittance(double val)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
void setBunchLength(double val)
set BunchLength and TimeOffset
void setCrossingAngle(double val)
set Crossing and Crabbing angles
SimBeamSpotHLLHCObjects beamSpot_
void setRF800(double val)
void setTimeOffset(double val)
void setMeanZ(double val)
BeamProfileHLLHC2DBWriter(const edm::ParameterSet &)
void setCrabbingAngleSeparation(double val)
void setCrabFrequency(double val)
void setBetaCrossingPlane(double val)
set BetaStar and Emittance