#include <BeamSpotObjects.h>
Public Member Functions | |
BeamSpotObjects () | |
default constructor More... | |
int | beamType () const |
get beam type More... | |
double | beamWidthX () const |
get average transverse beam width More... | |
double | beamWidthXError () const |
get average transverse beam width error ASSUME the same for X and Y More... | |
double | beamWidthY () const |
get average transverse beam width More... | |
double | beamWidthYError () const |
get average transverse beam width error X = Y More... | |
double | betaStar () const |
get beta star More... | |
double | covariance (int i, int j) const |
get i,j element of the full covariance matrix 7x7 More... | |
double | dxdz () const |
get dxdz slope, crossing angle in XZ More... | |
double | dxdzError () const |
get dxdz slope, crossing angle in XZ Error More... | |
double | dydz () const |
get dydz slope, crossing angle in YZ More... | |
double | dydzError () const |
get dydz slope, crossing angle in YZ Error More... | |
double | emittanceX () const |
get emittance More... | |
double | emittanceY () const |
get emittance 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... | |
double | sigmaZ () const |
get sigma Z, RMS bunch length More... | |
double | sigmaZError () const |
get sigma Z, RMS bunch length Error More... | |
double | x () const |
get X beam position More... | |
double | xError () const |
get X beam position Error More... | |
double | y () const |
get Y beam position More... | |
double | yError () const |
get Y beam position Error More... | |
double | z () const |
get Z beam position More... | |
double | zError () const |
get Z beam position Error 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 AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), OnlineBeamSpotESProducer::isGoodBS(), print(), and BeamSpotOnlineObjects::print().
|
inline |
get average transverse beam width
Definition at line 75 of file BeamSpotObjects.h.
References beamwidthX_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineRecordsReader::dump(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), OnlineBeamSpotESProducer::isGoodBS(), print(), BeamSpotOnlineObjects::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 print(), and BeamSpotOnlineObjects::print().
|
inline |
get average transverse beam width
Definition at line 77 of file BeamSpotObjects.h.
References beamwidthY_.
Referenced by BeamSpotRcdReader::analyze(), BeamSpotOnlineRecordsReader::dump(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), OnlineBeamSpotESProducer::isGoodBS(), print(), BeamSpotOnlineObjects::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 print(), and BeamSpotOnlineObjects::print().
|
inline |
get beta star
Definition at line 107 of file BeamSpotObjects.h.
References betaStar_.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), print(), BeamSpotOnlineObjects::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 AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), 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(), BeamSpotOnlineRecordsReader::dump(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), print(), BeamSpotOnlineObjects::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 print(), and BeamSpotOnlineObjects::print().
|
inline |
get dydz slope, crossing angle in YZ
Definition at line 81 of file BeamSpotObjects.h.
References dydz_.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), print(), BeamSpotOnlineObjects::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 print(), and BeamSpotOnlineObjects::print().
|
inline |
get emittance
Definition at line 103 of file BeamSpotObjects.h.
References emittanceX_.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), print(), BeamSpotOnlineObjects::print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
|
inline |
get emittance
Definition at line 105 of file BeamSpotObjects.h.
References emittanceY_.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), print(), BeamSpotOnlineObjects::print(), BeamSpotProducer::produce(), and BeamSpotOnlineProducer::produce().
void BeamSpotObjects::print | ( | std::stringstream & | ss | ) | const |
print beam spot parameters
Definition at line 5 of file BeamSpotObjects.cc.
References beamType(), beamWidthX(), beamWidthXError(), beamWidthY(), beamWidthYError(), betaStar(), dxdz(), dxdzError(), dydz(), dydzError(), emittanceX(), emittanceY(), sigmaZ(), sigmaZError(), contentValuesCheck::ss, x(), xError(), y(), yError(), z(), and zError().
|
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(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), BeamMonitor::FitAndFill(), OnlineBeamSpotESProducer::OnlineBeamSpotESProducer(), 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 FakeBeamMonitor::FitAndFill(), and 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(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), BeamMonitor::FitAndFill(), OnlineBeamSpotESProducer::OnlineBeamSpotESProducer(), 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 FakeBeamMonitor::FitAndFill(), and BeamMonitor::FitAndFill().
|
inline |
set beta star
Definition at line 64 of file BeamSpotObjects.h.
References betaStar_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), 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(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), 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(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), 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(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), 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(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), and BeamMonitor::FitAndFill().
|
inline |
set emittance
Definition at line 62 of file BeamSpotObjects.h.
References emittanceY_, and heppy_batch::val.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), 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(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), BeamMonitor::FitAndFill(), OnlineBeamSpotESProducer::OnlineBeamSpotESProducer(), 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(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), BeamMonitor::FitAndFill(), OnlineBeamSpotESProducer::OnlineBeamSpotESProducer(), and BeamFitter::write2DB().
|
inline |
set beam type
Definition at line 58 of file BeamSpotObjects.h.
References type_.
Referenced by BeamSpotWrite2DB::endJob(), BeamSpotOnlineRecordsWriter::endJob(), AlcaBeamSpotHarvester::endRun(), FakeBeamMonitor::FitAndFill(), BeamMonitor::FitAndFill(), and OnlineBeamSpotESProducer::OnlineBeamSpotESProducer().
|
inline |
get sigma Z, RMS bunch length
Definition at line 73 of file BeamSpotObjects.h.
References sigmaZ_.
Referenced by BeamSpotRcdReader::analyze(), OnlineBeamSpotESProducer::compareBS(), BeamSpotOnlineRecordsReader::dump(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), OnlineBeamSpotESProducer::isGoodBS(), print(), BeamSpotOnlineObjects::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 print(), and BeamSpotOnlineObjects::print().
|
inline |
get X beam position
Definition at line 67 of file BeamSpotObjects.h.
References position_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), BeamSpotRcdReader::analyze(), PixelBaryCentreAnalyzer::analyze(), BeamSpotOnlineRecordsReader::dump(), BeamConditionsMonitor::endLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), geometryXMLparser.Alignable::pos(), print(), BeamSpotOnlineObjects::print(), BeamSpotProducer::produce(), BeamSpotOnlineProducer::produce(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), setPosition(), OpticalFunctionsTransport::transportProton(), and HectorTransport::transportProton().
|
inline |
get X beam position Error
Definition at line 85 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamConditionsMonitor::endLuminosityBlock(), print(), and BeamSpotOnlineObjects::print().
|
inline |
get Y beam position
Definition at line 69 of file BeamSpotObjects.h.
References position_.
Referenced by svgfig.Ellipse::__repr__(), BeamSpotRcdReader::analyze(), PixelBaryCentreAnalyzer::analyze(), BeamSpotOnlineRecordsReader::dump(), BeamConditionsMonitor::endLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), geometryXMLparser.Alignable::pos(), print(), BeamSpotOnlineObjects::print(), BeamSpotProducer::produce(), BeamSpotOnlineProducer::produce(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), setPosition(), OpticalFunctionsTransport::transportProton(), and HectorTransport::transportProton().
|
inline |
get Y beam position Error
Definition at line 87 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by BeamConditionsMonitor::endLuminosityBlock(), print(), and BeamSpotOnlineObjects::print().
|
inline |
get Z beam position
Definition at line 71 of file BeamSpotObjects.h.
References position_.
Referenced by BeamSpotRcdReader::analyze(), PixelBaryCentreAnalyzer::analyze(), BeamSpotOnlineRecordsReader::dump(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamMonitor::globalBeginLuminosityBlock(), geometryXMLparser.Alignable::pos(), print(), BeamSpotOnlineObjects::print(), BeamSpotProducer::produce(), BeamSpotOnlineProducer::produce(), ntupleDataFormat._HitObject::r3D(), and setPosition().
|
inline |
get Z beam position Error
Definition at line 89 of file BeamSpotObjects.h.
References covariance_, and mathSSE::sqrt().
Referenced by print(), and BeamSpotOnlineObjects::print().
|
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 beamWidthX(), 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 beamWidthY(), 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(), betaStar(), and setBetaStar().
|
protected |
Definition at line 121 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), beamWidthXError(), beamWidthYError(), covariance(), dxdzError(), dydzError(), setCovariance(), sigmaZError(), xError(), yError(), and zError().
|
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(), emittanceX(), and setEmittanceX().
|
protected |
Definition at line 124 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), emittanceY(), and setEmittanceY().
|
protected |
Definition at line 113 of file BeamSpotObjects.h.
Referenced by BeamSpotObjects(), setPosition(), x(), y(), and z().
|
protected |
Definition at line 114 of file BeamSpotObjects.h.
Referenced by setSigmaZ(), and sigmaZ().
|
protected |
Definition at line 122 of file BeamSpotObjects.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), beamType(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), 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().