Go to the documentation of this file.
9 throw std::out_of_range(
"Parameter with index " + std::to_string(
index) +
" is out of range.");
16 throw std::out_of_range(
"Parameter with index " + std::to_string(
index) +
" is out of range.");
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.");
34 throw std::out_of_range(
"Parameter with index " + std::to_string(
index) +
" is out of range.");
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;
std::vector< std::vector< int > > intParams_
double GetBeamWidthY() const
get average transverse beam width
double Getdxdz() const
get dxdz slope, crossing angle in XZ
void setOneParam(std::vector< std::vector< T > > ¶ms, size_t index, const T &value)
double GetSigmaZError() const
get sigma Z, RMS bunch length Error
void SetCreationTime(cond::Time_t val)
void SetNumTracks(int val)
double GetSigmaZ() const
get sigma Z, RMS bunch length
int GetBeamType() const
get beam type
void SetEndTimeStamp(cond::Time_t val)
double GetZ() const
get Z beam position
void SetEndTime(std::string val)
cond::Time_t GetEndTimeStamp() const
int GetUsedEvents() const
void SetMeanErrorPV(float val)
void SetStartTime(std::string val)
std::ostream & operator<<(std::ostream &os, BeamSpotOnlineObjects beam)
T & accessParams(std::vector< T > ¶ms, size_t index)
float GetMeanErrorPV() const
std::string GetStartTime() const
std::string GetEndTime() const
std::vector< std::vector< float > > floatParams_
int GetLastAnalyzedLumi() const
Getters Methods.
std::vector< std::vector< unsigned long long > > timeParams_
void SetRmsErrorPV(float val)
double GetBetaStar() const
get beta star
double GetEmittanceX() const
get emittance
double GetXError() const
get X beam position Error
double GetY() const
get Y beam position
cond::Time_t GetCreationTime() const
void SetUsedEvents(int val)
unsigned long long Time_t
void setParams(std::vector< T > ¶ms, size_t index, const T &value)
std::vector< std::vector< std::string > > stringParams_
int GetLastAnalyzedRun() const
float GetRmsErrorPV() const
std::string GetLumiRange() const
double GetBeamWidthX() const
get average transverse beam width
double GetYError() const
get Y beam position Error
double GetEmittanceY() const
get emittance
double Getdydz() const
get dydz slope, crossing angle in YZ
void SetLumiRange(std::string val)
double GetZError() const
get Z beam position Error
void SetMeanPV(float val)
double GetdydzError() const
get dydz slope, crossing angle in YZ Error
double GetBeamWidthXError() const
get average transverse beam width error ASSUME the same for X and Y
int GetLastAnalyzedFill() const
void SetStartTimeStamp(cond::Time_t val)
double GetBeamWidthYError() const
get average transverse beam width error X = Y
double GetX() const
get X beam position
void print(std::stringstream &ss) const
Print BeamSpotOnline parameters.
const T & getParams(const std::vector< T > ¶ms, size_t index)
cond::Time_t GetStartTimeStamp() const
const T & getOneParam(const std::vector< std::vector< T > > ¶ms, size_t index)
double GetdxdzError() const
get dxdz slope, crossing angle in XZ Error