#include <BeamSpotObjects.h>
Public Member Functions | |
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 () |
Protected Attributes | |
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_ |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Reconstructed beam spot object. It provides position, error, and width of the beam position.
Definition at line 20 of file BeamSpotObjects.h.
|
inline |
default constructor
Definition at line 23 of file BeamSpotObjects.h.
References beamwidthXError_, beamwidthYError_, betaStar_, covariance_, emittanceX_, emittanceY_, and position_.
|
inlinevirtual |
Definition at line 33 of file BeamSpotObjects.h.
|
inline |
get beam type
Definition at line 101 of file BeamSpotObjects.h.
References type_.
Referenced by AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), and print().
|
inline |
get average transverse beam width
Definition at line 75 of file BeamSpotObjects.h.
References beamwidthX_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get average transverse beam width error ASSUME the same for X and Y
Definition at line 93 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamSpotOnlineObjects::print(), and print().
|
inline |
get average transverse beam width
Definition at line 77 of file BeamSpotObjects.h.
References beamwidthY_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get average transverse beam width error X = Y
Definition at line 95 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamSpotOnlineObjects::print(), and print().
|
inline |
get beta star
Definition at line 107 of file BeamSpotObjects.h.
References betaStar_.
Referenced by AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get i,j element of the full covariance matrix 7x7
Definition at line 83 of file BeamSpotObjects.h.
References covariance_, mps_fire::i, and dqmiolumiharvest::j.
Referenced by AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get dxdz slope, crossing angle in XZ
Definition at line 79 of file BeamSpotObjects.h.
References dxdz_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get dxdz slope, crossing angle in XZ Error
Definition at line 97 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamSpotOnlineObjects::print(), and print().
|
inline |
get dydz slope, crossing angle in YZ
Definition at line 81 of file BeamSpotObjects.h.
References dydz_.
Referenced by AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get dydz slope, crossing angle in YZ Error
Definition at line 99 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamSpotOnlineObjects::print(), and print().
|
inline |
get emittance
Definition at line 103 of file BeamSpotObjects.h.
References emittanceX_.
Referenced by AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get emittance
Definition at line 105 of file BeamSpotObjects.h.
References emittanceY_.
Referenced by AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get sigma Z, RMS bunch length
Definition at line 73 of file BeamSpotObjects.h.
References sigmaZ_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get sigma Z, RMS bunch length Error
Definition at line 91 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamSpotOnlineObjects::print(), and print().
|
inline |
get X beam position
Definition at line 67 of file BeamSpotObjects.h.
References position_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), AlcaBeamMonitor::dqmBeginLuminosityBlock(), BeamConditionsMonitor::endLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get X beam position Error
Definition at line 85 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamConditionsMonitor::endLuminosityBlock(), BeamSpotOnlineObjects::print(), and print().
|
inline |
get Y beam position
Definition at line 69 of file BeamSpotObjects.h.
References position_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), AlcaBeamMonitor::dqmBeginLuminosityBlock(), BeamConditionsMonitor::endLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get Y beam position Error
Definition at line 87 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamConditionsMonitor::endLuminosityBlock(), BeamSpotOnlineObjects::print(), and print().
|
inline |
get Z beam position
Definition at line 71 of file BeamSpotObjects.h.
References position_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), AlcaBeamMonitor::dqmBeginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotOnlineObjects::print(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get Z beam position Error
Definition at line 89 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamSpotOnlineObjects::print(), and print().
void BeamSpotObjects::print | ( | std::stringstream & | ss | ) | const |
print beam spot parameters
Definition at line 5 of file BeamSpotObjects.cc.
References GetBeamType(), GetBeamWidthX(), GetBeamWidthXError(), GetBeamWidthY(), GetBeamWidthYError(), GetBetaStar(), Getdxdz(), GetdxdzError(), Getdydz(), GetdydzError(), GetEmittanceX(), GetEmittanceY(), GetSigmaZ(), GetSigmaZError(), GetX(), GetXError(), GetY(), GetYError(), GetZ(), GetZError(), and contentValuesCheck::ss.
|
private |
|
inline |
set average transverse beam width X
Definition at line 48 of file BeamSpotObjects.h.
References beamwidthX_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), BeamMonitor::FitAndFill(), and BeamFitter::write2DB().
|
inline |
set beam width X error
Definition at line 52 of file BeamSpotObjects.h.
References beamwidthXError_, and heppy_batch::val.
Referenced by BeamMonitor::FitAndFill().
|
inline |
set average transverse beam width Y
Definition at line 50 of file BeamSpotObjects.h.
References beamwidthY_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), BeamMonitor::FitAndFill(), and BeamFitter::write2DB().
|
inline |
set beam width Y error
Definition at line 54 of file BeamSpotObjects.h.
References beamwidthYError_, and heppy_batch::val.
Referenced by BeamMonitor::FitAndFill().
|
inline |
set beta star
Definition at line 64 of file BeamSpotObjects.h.
References betaStar_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamMonitor::FitAndFill().
|
inline |
set i,j element of the full covariance matrix 7x7
Definition at line 56 of file BeamSpotObjects.h.
References covariance_, mps_fire::i, dqmiolumiharvest::j, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), BeamMonitor::FitAndFill(), and BeamFitter::write2DB().
|
inline |
set dxdz slope, crossing angle
Definition at line 44 of file BeamSpotObjects.h.
References dxdz_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), BeamMonitor::FitAndFill(), and BeamFitter::write2DB().
|
inline |
set dydz slope, crossing angle in XZ
Definition at line 46 of file BeamSpotObjects.h.
References dydz_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), BeamMonitor::FitAndFill(), and BeamFitter::write2DB().
|
inline |
set emittance
Definition at line 60 of file BeamSpotObjects.h.
References emittanceX_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamMonitor::FitAndFill().
|
inline |
set emittance
Definition at line 62 of file BeamSpotObjects.h.
References emittanceY_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamMonitor::FitAndFill().
|
inline |
set XYZ position
Definition at line 36 of file BeamSpotObjects.h.
References position_, x, y, and z.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), BeamMonitor::FitAndFill(), and BeamFitter::write2DB().
|
inline |
set sigma Z, RMS bunch length
Definition at line 42 of file BeamSpotObjects.h.
References sigmaZ_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), BeamMonitor::FitAndFill(), and BeamFitter::write2DB().
|
inline |
set beam type
Definition at line 58 of file BeamSpotObjects.h.
References type_.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineHLTRcdWriter::endJob(), BeamSpotOnlineLegacyRcdWriter::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamMonitor::FitAndFill().
|
friend |
Definition at line 127 of file BeamSpotObjects.h.
|
friend |
Definition at line 127 of file BeamSpotObjects.h.
|
protected |
Definition at line 115 of file BeamSpotObjects.h.
Referenced by GetBeamWidthX(), and SetBeamWidthX().
|
protected |
Definition at line 117 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), and SetBeamWidthXError().
|
protected |
Definition at line 116 of file BeamSpotObjects.h.
Referenced by GetBeamWidthY(), and SetBeamWidthY().
|
protected |
Definition at line 118 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), and SetBeamWidthYError().
|
protected |
Definition at line 125 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetBetaStar(), and SetBetaStar().
|
protected |
Definition at line 121 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetBeamWidthXError(), GetBeamWidthYError(), GetCovariance(), GetdxdzError(), GetdydzError(), GetSigmaZError(), GetXError(), GetYError(), GetZError(), and SetCovariance().
|
protected |
Definition at line 119 of file BeamSpotObjects.h.
|
protected |
Definition at line 120 of file BeamSpotObjects.h.
|
protected |
Definition at line 123 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetEmittanceX(), and SetEmittanceX().
|
protected |
Definition at line 124 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetEmittanceY(), and SetEmittanceY().
|
protected |
Definition at line 113 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetX(), GetY(), GetZ(), and SetPosition().
|
protected |
Definition at line 114 of file BeamSpotObjects.h.
Referenced by GetSigmaZ(), and SetSigmaZ().
|
protected |
Definition at line 122 of file BeamSpotObjects.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), GetBeamType(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and SetType().