#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 () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private 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_ |
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 25 of file BeamSpotObjects.h.
References beamwidthXError_, beamwidthYError_, betaStar_, covariance_, emittanceX_, emittanceY_, and position_.
|
inlinevirtual |
Definition at line 37 of file BeamSpotObjects.h.
|
inline |
get beam type
Definition at line 107 of file BeamSpotObjects.h.
References type_.
Referenced by AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), and print().
|
inline |
get average transverse beam width
Definition at line 81 of file BeamSpotObjects.h.
References beamwidthX_.
Referenced by BeamSpotRcdReader::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get average transverse beam width error ASSUME the same for X and Y
Definition at line 99 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by print().
|
inline |
get average transverse beam width
Definition at line 83 of file BeamSpotObjects.h.
References beamwidthY_.
Referenced by BeamSpotRcdReader::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get average transverse beam width error X = Y
Definition at line 101 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by print().
|
inline |
get beta star
Definition at line 113 of file BeamSpotObjects.h.
References betaStar_, and print().
Referenced by AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get i,j element of the full covariance matrix 7x7
Definition at line 89 of file BeamSpotObjects.h.
References covariance_, and mps_fire::i.
Referenced by AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get dxdz slope, crossing angle in XZ
Definition at line 85 of file BeamSpotObjects.h.
References dxdz_.
Referenced by BeamSpotRcdReader::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get dxdz slope, crossing angle in XZ Error
Definition at line 103 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by print().
|
inline |
get dydz slope, crossing angle in YZ
Definition at line 87 of file BeamSpotObjects.h.
References dydz_.
Referenced by AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get dydz slope, crossing angle in YZ Error
Definition at line 105 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by print().
|
inline |
get emittance
Definition at line 109 of file BeamSpotObjects.h.
References emittanceX_.
Referenced by AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get emittance
Definition at line 111 of file BeamSpotObjects.h.
References emittanceY_.
Referenced by AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get sigma Z, RMS bunch length
Definition at line 79 of file BeamSpotObjects.h.
References sigmaZ_.
Referenced by BeamSpotRcdReader::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get sigma Z, RMS bunch length Error
Definition at line 97 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by print().
|
inline |
get X beam position
Definition at line 73 of file BeamSpotObjects.h.
References position_.
Referenced by BeamSpotRcdReader::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get X beam position Error
Definition at line 91 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by print().
|
inline |
get Y beam position
Definition at line 75 of file BeamSpotObjects.h.
References position_.
Referenced by BeamSpotRcdReader::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get Y beam position Error
Definition at line 93 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by print().
|
inline |
get Z beam position
Definition at line 77 of file BeamSpotObjects.h.
References position_.
Referenced by BeamSpotRcdReader::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get Z beam position Error
Definition at line 95 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by 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(), and GetZError().
Referenced by GetBetaStar(), and operator<<().
|
private |
|
inline |
set average transverse beam width X
Definition at line 52 of file BeamSpotObjects.h.
References beamwidthX_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamFitter::write2DB().
|
inline |
set beam width X error
Definition at line 56 of file BeamSpotObjects.h.
References beamwidthXError_, and heppy_batch::val.
|
inline |
set average transverse beam width Y
Definition at line 54 of file BeamSpotObjects.h.
References beamwidthY_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamFitter::write2DB().
|
inline |
set beam width Y error
Definition at line 58 of file BeamSpotObjects.h.
References beamwidthYError_, and heppy_batch::val.
|
inline |
set beta star
Definition at line 70 of file BeamSpotObjects.h.
References betaStar_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), and AlcaBeamSpotHarvester::endRun().
|
inline |
set i,j element of the full covariance matrix 7x7
Definition at line 60 of file BeamSpotObjects.h.
References covariance_, mps_fire::i, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamFitter::write2DB().
|
inline |
set dxdz slope, crossing angle
Definition at line 48 of file BeamSpotObjects.h.
References dxdz_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamFitter::write2DB().
|
inline |
set dydz slope, crossing angle in XZ
Definition at line 50 of file BeamSpotObjects.h.
References dydz_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamFitter::write2DB().
|
inline |
set emittance
Definition at line 66 of file BeamSpotObjects.h.
References emittanceX_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), and AlcaBeamSpotHarvester::endRun().
|
inline |
set emittance
Definition at line 68 of file BeamSpotObjects.h.
References emittanceY_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), and AlcaBeamSpotHarvester::endRun().
|
inline |
set XYZ position
Definition at line 40 of file BeamSpotObjects.h.
References position_, x, y, and z.
Referenced by BeamSpotWrite2DB::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamFitter::write2DB().
|
inline |
set sigma Z, RMS bunch length
Definition at line 46 of file BeamSpotObjects.h.
References sigmaZ_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), AlcaBeamSpotHarvester::endRun(), and BeamFitter::write2DB().
|
inline |
set beam type
Definition at line 64 of file BeamSpotObjects.h.
References type_.
Referenced by BeamSpotWrite2DB::endJob(), and AlcaBeamSpotHarvester::endRun().
|
friend |
Definition at line 135 of file BeamSpotObjects.h.
|
friend |
Definition at line 135 of file BeamSpotObjects.h.
|
private |
Definition at line 122 of file BeamSpotObjects.h.
Referenced by GetBeamWidthX(), and SetBeamWidthX().
|
private |
Definition at line 124 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), and SetBeamWidthXError().
|
private |
Definition at line 123 of file BeamSpotObjects.h.
Referenced by GetBeamWidthY(), and SetBeamWidthY().
|
private |
Definition at line 125 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), and SetBeamWidthYError().
|
private |
Definition at line 132 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetBetaStar(), and SetBetaStar().
|
private |
Definition at line 128 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetBeamWidthXError(), GetBeamWidthYError(), GetCovariance(), GetdxdzError(), GetdydzError(), GetSigmaZError(), GetXError(), GetYError(), GetZError(), and SetCovariance().
|
private |
Definition at line 126 of file BeamSpotObjects.h.
|
private |
Definition at line 127 of file BeamSpotObjects.h.
|
private |
Definition at line 130 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetEmittanceX(), and SetEmittanceX().
|
private |
Definition at line 131 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetEmittanceY(), and SetEmittanceY().
|
private |
Definition at line 120 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), GetX(), GetY(), GetZ(), and SetPosition().
|
private |
Definition at line 121 of file BeamSpotObjects.h.
Referenced by GetSigmaZ(), and SetSigmaZ().
|
private |
Definition at line 129 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().