5 namespace BeamSpotOnlineObjectsImpl {
8 if (index >= params.size())
9 throw std::out_of_range(
"Parameter with index " + std::to_string(index) +
" is out of range.");
15 if (index >= params.size())
16 throw std::out_of_range(
"Parameter with index " + std::to_string(index) +
" is out of range.");
22 if (index >=
params.size())
23 throw std::out_of_range(
"Parameter with index " + std::to_string(index) +
" is out of range.");
26 throw std::out_of_range(
"Parameter with index " + std::to_string(index) +
" type=" +
typeid(
T).
name() +
27 " has no value stored.");
33 if (index >=
params.size())
34 throw std::out_of_range(
"Parameter with index " + std::to_string(index) +
" is out of range.");
40 if (index >= params.size())
41 throw std::out_of_range(
"Parameter with index " + std::to_string(index) +
" is out of range.");
153 ss <<
"-----------------------------------------------------\n"
154 <<
" BeamSpotOnline Data\n\n"
170 <<
"-----------------------------------------------------\n\n";
174 std::stringstream
ss;
double Getdydz() const
get dydz slope, crossing angle in YZ
std::string GetStartTime() const
double GetY() const
get Y beam position
T & accessParams(std::vector< T > ¶ms, size_t index)
cond::Time_t GetCreationTime() const
void SetNumTracks(int val)
std::string GetLumiRange() const
double GetSigmaZ() const
get sigma Z, RMS bunch length
cond::Time_t GetStartTimeStamp() const
double GetBeamWidthX() const
get average transverse beam width
void SetUsedEvents(int val)
int GetLastAnalyzedLumi() const
Getters Methods.
void SetEndTime(std::string val)
double GetYError() const
get Y beam position Error
double GetBeamWidthYError() const
get average transverse beam width error X = Y
std::ostream & operator<<(std::ostream &out, const ALILine &li)
double GetBeamWidthY() const
get average transverse beam width
std::vector< std::vector< int > > intParams_
std::string GetEndTime() const
const T & getOneParam(const std::vector< std::vector< T > > ¶ms, size_t index)
void setOneParam(std::vector< std::vector< T > > ¶ms, size_t index, const T &value)
double GetEmittanceX() const
get emittance
void SetRmsErrorPV(float val)
float GetMeanErrorPV() const
unsigned long long Time_t
void SetStartTimeStamp(cond::Time_t val)
int GetUsedEvents() const
int GetBeamType() const
get beam type
double GetdydzError() const
get dydz slope, crossing angle in YZ Error
double GetZ() const
get Z beam position
int GetLastAnalyzedRun() const
std::vector< std::vector< std::string > > stringParams_
double Getdxdz() const
get dxdz slope, crossing angle in XZ
void SetStartTime(std::string val)
void SetMeanPV(float val)
void SetMeanErrorPV(float val)
double GetdxdzError() const
get dxdz slope, crossing angle in XZ Error
double GetBeamWidthXError() const
get average transverse beam width error ASSUME the same for X and Y
double GetSigmaZError() const
get sigma Z, RMS bunch length Error
std::vector< std::vector< unsigned long long > > timeParams_
double GetX() const
get X beam position
void SetLumiRange(std::string val)
double GetXError() const
get X beam position Error
float GetRmsErrorPV() const
double GetBetaStar() const
get beta star
std::vector< std::vector< float > > floatParams_
int GetLastAnalyzedFill() const
const T & getParams(const std::vector< T > ¶ms, size_t index)
void SetEndTimeStamp(cond::Time_t val)
void print(std::stringstream &ss) const
Print BeamSpotOnline parameters.
double GetEmittanceY() const
get emittance
double GetZError() const
get Z beam position Error
cond::Time_t GetEndTimeStamp() const
void setParams(std::vector< T > ¶ms, size_t index, const T &value)
void SetCreationTime(cond::Time_t val)