#include <BeamSpotOnlineObjects.h>
Public Types | |
enum | IntParamIndex { NUM_TRACKS = 0, NUM_PVS = 1, ISIZE = 2 } |
Enums. More... | |
enum | TimeParamIndex { CREATE_TIME = 0, TSIZE = 1 } |
Public Member Functions | |
BeamSpotOnlineObjects () | |
default constructor More... | |
cond::Time_t | GetCreationTime () const |
int | GetLastAnalyzedFill () const |
int | GetLastAnalyzedLumi () const |
Getters Methods. More... | |
int | GetLastAnalyzedRun () const |
int | GetNumPVs () const |
int | GetNumTracks () const |
void | print (std::stringstream &ss) const |
Print BeamSpotOnline parameters. More... | |
void | SetCreationTime (cond::Time_t val) |
void | SetLastAnalyzedFill (int val) |
void | SetLastAnalyzedLumi (int val) |
Setters Methods. More... | |
void | SetLastAnalyzedRun (int val) |
void | SetNumPVs (int val) |
void | SetNumTracks (int val) |
~BeamSpotOnlineObjects () override | |
Public Member Functions inherited from BeamSpotObjects | |
BeamSpotObjects () | |
default constructor More... | |
int | GetBeamType () const |
get beam type More... | |
double | GetBeamWidthX () const |
get average transverse beam width More... | |
double | GetBeamWidthXError () const |
get average transverse beam width error ASSUME the same for X and Y More... | |
double | GetBeamWidthY () const |
get average transverse beam width More... | |
double | GetBeamWidthYError () const |
get average transverse beam width error X = Y More... | |
double | GetBetaStar () const |
get beta star More... | |
double | GetCovariance (int i, int j) const |
get i,j element of the full covariance matrix 7x7 More... | |
double | Getdxdz () const |
get dxdz slope, crossing angle in XZ More... | |
double | GetdxdzError () const |
get dxdz slope, crossing angle in XZ Error More... | |
double | Getdydz () const |
get dydz slope, crossing angle in YZ More... | |
double | GetdydzError () const |
get dydz slope, crossing angle in YZ Error More... | |
double | GetEmittanceX () const |
get emittance More... | |
double | GetEmittanceY () const |
get emittance More... | |
double | GetSigmaZ () const |
get sigma Z, RMS bunch length More... | |
double | GetSigmaZError () const |
get sigma Z, RMS bunch length Error More... | |
double | GetX () const |
get X beam position More... | |
double | GetXError () const |
get X beam position Error More... | |
double | GetY () const |
get Y beam position More... | |
double | GetYError () const |
get Y beam position Error More... | |
double | GetZ () const |
get Z beam position More... | |
double | GetZError () const |
get Z beam position Error More... | |
void | print (std::stringstream &ss) const |
print beam spot parameters More... | |
void | SetBeamWidthX (double val) |
set average transverse beam width X More... | |
void | SetBeamWidthXError (double val) |
set beam width X error More... | |
void | SetBeamWidthY (double val) |
set average transverse beam width Y More... | |
void | SetBeamWidthYError (double val) |
set beam width Y error More... | |
void | SetBetaStar (double val) |
set beta star More... | |
void | SetCovariance (int i, int j, double val) |
set i,j element of the full covariance matrix 7x7 More... | |
void | Setdxdz (double val) |
set dxdz slope, crossing angle More... | |
void | Setdydz (double val) |
set dydz slope, crossing angle in XZ More... | |
void | SetEmittanceX (double val) |
set emittance More... | |
void | SetEmittanceY (double val) |
set emittance More... | |
void | SetPosition (double x, double y, double z) |
set XYZ position More... | |
void | SetSigmaZ (double val) |
set sigma Z, RMS bunch length More... | |
void | SetType (int type) |
set beam type More... | |
virtual | ~BeamSpotObjects () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::vector< float > > | floatParams_ |
std::vector< std::vector< int > > | intParams_ |
int | lastAnalyzedFill_ |
int | lastAnalyzedLumi_ |
int | lastAnalyzedRun_ |
std::vector< std::vector< std::string > > | stringParams_ |
std::vector< std::vector< unsigned long long > > | timeParams_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from BeamSpotObjects | |
double | beamwidthX_ |
double | beamwidthXError_ |
double | beamwidthY_ |
double | beamwidthYError_ |
double | betaStar_ |
double | covariance_ [7][7] |
double | dxdz_ |
double | dydz_ |
double | emittanceX_ |
double | emittanceY_ |
double | position_ [3] |
double | sigmaZ_ |
int | type_ |
Class inheriting from BeamSpotObjects. New members of the class:
Definition at line 25 of file BeamSpotOnlineObjects.h.
|
inline |
default constructor
Definition at line 28 of file BeamSpotOnlineObjects.h.
References intParams_, ISIZE, lastAnalyzedFill_, lastAnalyzedLumi_, lastAnalyzedRun_, timeParams_, and TSIZE.
|
inlineoverride |
Definition at line 36 of file BeamSpotOnlineObjects.h.
cond::Time_t BeamSpotOnlineObjects::GetCreationTime | ( | ) | const |
Definition at line 54 of file BeamSpotOnlineObjects.cc.
References CREATE_TIME, BeamSpotOnlineObjectsImpl::getOneParam(), and timeParams_.
|
inline |
Definition at line 69 of file BeamSpotOnlineObjects.h.
References lastAnalyzedFill_.
Referenced by BeamSpotOnlineHLTRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), and print().
|
inline |
Getters Methods.
Definition at line 63 of file BeamSpotOnlineObjects.h.
References lastAnalyzedLumi_.
Referenced by BeamSpotOnlineHLTRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), and print().
|
inline |
Definition at line 66 of file BeamSpotOnlineObjects.h.
References lastAnalyzedRun_.
Referenced by BeamSpotOnlineHLTRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), and print().
int BeamSpotOnlineObjects::GetNumPVs | ( | ) | const |
Definition at line 52 of file BeamSpotOnlineObjects.cc.
References BeamSpotOnlineObjectsImpl::getOneParam(), intParams_, and NUM_PVS.
int BeamSpotOnlineObjects::GetNumTracks | ( | ) | const |
Definition at line 48 of file BeamSpotOnlineObjects.cc.
References BeamSpotOnlineObjectsImpl::getOneParam(), intParams_, and NUM_TRACKS.
void BeamSpotOnlineObjects::print | ( | std::stringstream & | ss | ) | const |
Print BeamSpotOnline parameters.
Definition at line 70 of file BeamSpotOnlineObjects.cc.
References BeamSpotObjects::GetBeamType(), BeamSpotObjects::GetBeamWidthX(), BeamSpotObjects::GetBeamWidthXError(), BeamSpotObjects::GetBeamWidthY(), BeamSpotObjects::GetBeamWidthYError(), BeamSpotObjects::GetBetaStar(), BeamSpotObjects::Getdxdz(), BeamSpotObjects::GetdxdzError(), BeamSpotObjects::Getdydz(), BeamSpotObjects::GetdydzError(), BeamSpotObjects::GetEmittanceX(), BeamSpotObjects::GetEmittanceY(), GetLastAnalyzedFill(), GetLastAnalyzedLumi(), GetLastAnalyzedRun(), BeamSpotObjects::GetSigmaZ(), BeamSpotObjects::GetSigmaZError(), BeamSpotObjects::GetX(), BeamSpotObjects::GetXError(), BeamSpotObjects::GetY(), BeamSpotObjects::GetYError(), BeamSpotObjects::GetZ(), BeamSpotObjects::GetZError(), and contentValuesCheck::ss.
|
private |
void BeamSpotOnlineObjects::SetCreationTime | ( | cond::Time_t | val | ) |
Definition at line 65 of file BeamSpotOnlineObjects.cc.
References CREATE_TIME, BeamSpotOnlineObjectsImpl::setOneParam(), and timeParams_.
Referenced by BeamMonitor::FitAndFill(), and FakeBeamMonitor::FitAndFill().
|
inline |
Definition at line 50 of file BeamSpotOnlineObjects.h.
References lastAnalyzedFill_, and heppy_batch::val.
Referenced by BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), BeamMonitor::FitAndFill(), and FakeBeamMonitor::FitAndFill().
|
inline |
Setters Methods.
Definition at line 44 of file BeamSpotOnlineObjects.h.
References lastAnalyzedLumi_, and heppy_batch::val.
Referenced by BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), BeamMonitor::FitAndFill(), and FakeBeamMonitor::FitAndFill().
|
inline |
Definition at line 47 of file BeamSpotOnlineObjects.h.
References lastAnalyzedRun_, and heppy_batch::val.
Referenced by BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), BeamMonitor::FitAndFill(), and FakeBeamMonitor::FitAndFill().
void BeamSpotOnlineObjects::SetNumPVs | ( | int | val | ) |
Definition at line 63 of file BeamSpotOnlineObjects.cc.
References intParams_, BeamSpotPI::nPVs, NUM_PVS, and BeamSpotOnlineObjectsImpl::setOneParam().
Referenced by BeamMonitor::FitAndFill(), and FakeBeamMonitor::FitAndFill().
void BeamSpotOnlineObjects::SetNumTracks | ( | int | val | ) |
Definition at line 59 of file BeamSpotOnlineObjects.cc.
References intParams_, BeamSpotPI::nTracks, NUM_TRACKS, and BeamSpotOnlineObjectsImpl::setOneParam().
Referenced by BeamMonitor::FitAndFill(), and FakeBeamMonitor::FitAndFill().
|
friend |
Definition at line 92 of file BeamSpotOnlineObjects.h.
|
friend |
Definition at line 92 of file BeamSpotOnlineObjects.h.
|
private |
Definition at line 88 of file BeamSpotOnlineObjects.h.
|
private |
Definition at line 87 of file BeamSpotOnlineObjects.h.
Referenced by BeamSpotOnlineObjects(), GetNumPVs(), GetNumTracks(), SetNumPVs(), and SetNumTracks().
|
private |
Definition at line 86 of file BeamSpotOnlineObjects.h.
Referenced by BeamSpotOnlineObjects(), GetLastAnalyzedFill(), and SetLastAnalyzedFill().
|
private |
Definition at line 84 of file BeamSpotOnlineObjects.h.
Referenced by BeamSpotOnlineObjects(), GetLastAnalyzedLumi(), and SetLastAnalyzedLumi().
|
private |
Definition at line 85 of file BeamSpotOnlineObjects.h.
Referenced by BeamSpotOnlineObjects(), GetLastAnalyzedRun(), and SetLastAnalyzedRun().
|
private |
Definition at line 89 of file BeamSpotOnlineObjects.h.
|
private |
Definition at line 90 of file BeamSpotOnlineObjects.h.
Referenced by BeamSpotOnlineObjects(), GetCreationTime(), and SetCreationTime().