#include <SimBeamSpotObjects.h>
Public Member Functions | |
double | alpha () const |
double | betaStar () const |
get BetaStar and Emittance More... | |
double | emittance () const |
double | meanX () const |
get meanX, meanY, meanZ position More... | |
double | meanY () const |
double | meanZ () const |
double | phi () const |
get Phi, Alpha and TimeOffset More... | |
void | print (std::stringstream &ss) const |
print sim beam spot parameters More... | |
void | setAlpha (double val) |
void | setBetaStar (double val) |
set BetaStar and Emittance More... | |
void | setEmittance (double val) |
void | setMeanX (double val) |
set meanX, meanY, meanZ More... | |
void | setMeanY (double val) |
void | setMeanZ (double val) |
void | setPhi (double val) |
set Phi, Alpha and TimeOffset More... | |
void | setSigmaX (double val) |
set sigmaX, sigmaY, sigmaZ More... | |
void | setSigmaY (double val) |
void | setSigmaZ (double val) |
void | setTimeOffset (double val) |
void | setX (double val) |
set X, Y, Z positions More... | |
void | setY (double val) |
void | setZ (double val) |
double | sigmaX () const |
get sigmaX, sigmaY, sigmaZ More... | |
double | sigmaY () const |
double | sigmaZ () const |
SimBeamSpotObjects () | |
default constructor More... | |
double | timeOffset () const |
double | x () const |
get X, Y, Z position More... | |
double | y () const |
double | z () const |
virtual | ~SimBeamSpotObjects () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
double | fAlpha |
double | fbetastar |
double | femittance |
double | fMeanX |
double | fMeanY |
double | fMeanZ |
double | fPhi |
double | fSigmaX |
double | fSigmaY |
double | fSigmaZ |
double | fTimeOffset |
double | fX0 |
double | fY0 |
double | fZ0 |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Provide the vertex smearing parameters from DB
This Object contains the parameters needed by the vtx smearing functions used up to Run 3:
Definition at line 28 of file SimBeamSpotObjects.h.
|
inline |
|
inlinevirtual |
Definition at line 48 of file SimBeamSpotObjects.h.
|
inline |
Definition at line 87 of file SimBeamSpotObjects.h.
References fAlpha.
Referenced by BeamProfile2DBReader::analyze(), print(), and BetafuncEvtVtxGenerator::update().
|
inline |
get BetaStar and Emittance
Definition at line 83 of file SimBeamSpotObjects.h.
References fbetastar.
Referenced by BeamProfile2DBReader::analyze(), print(), and BetafuncEvtVtxGenerator::update().
|
inline |
Definition at line 84 of file SimBeamSpotObjects.h.
References femittance.
Referenced by BeamProfile2DBReader::analyze(), print(), and BetafuncEvtVtxGenerator::update().
|
inline |
get meanX, meanY, meanZ position
Definition at line 75 of file SimBeamSpotObjects.h.
References fMeanX.
Referenced by BeamProfile2DBReader::analyze(), print(), and GaussEvtVtxGenerator::update().
|
inline |
Definition at line 76 of file SimBeamSpotObjects.h.
References fMeanY.
Referenced by BeamProfile2DBReader::analyze(), print(), and GaussEvtVtxGenerator::update().
|
inline |
Definition at line 77 of file SimBeamSpotObjects.h.
References fMeanZ.
Referenced by BeamProfile2DBReader::analyze(), print(), and GaussEvtVtxGenerator::update().
|
inline |
get Phi, Alpha and TimeOffset
Definition at line 86 of file SimBeamSpotObjects.h.
References fPhi.
Referenced by Particle.Particle::__str__(), BeamProfile2DBReader::analyze(), datamodel.Object::DeltaR(), datamodel.Object::p4(), ntupleDataFormat.Track::phiPull(), print(), and BetafuncEvtVtxGenerator::update().
void SimBeamSpotObjects::print | ( | std::stringstream & | ss | ) | const |
print sim beam spot parameters
Definition at line 24 of file SimBeamSpotObjects.cc.
References alpha(), betaStar(), emittance(), meanX(), meanY(), meanZ(), phi(), sigmaX(), sigmaY(), sigmaZ(), contentValuesCheck::ss, timeOffset(), x(), y(), and z().
|
private |
|
inline |
Definition at line 67 of file SimBeamSpotObjects.h.
References fAlpha, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set BetaStar and Emittance
Definition at line 63 of file SimBeamSpotObjects.h.
References fbetastar, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 64 of file SimBeamSpotObjects.h.
References femittance, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set meanX, meanY, meanZ
Definition at line 55 of file SimBeamSpotObjects.h.
References fMeanX, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 56 of file SimBeamSpotObjects.h.
References fMeanY, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 57 of file SimBeamSpotObjects.h.
References fMeanZ, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set Phi, Alpha and TimeOffset
Definition at line 66 of file SimBeamSpotObjects.h.
References fPhi, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set sigmaX, sigmaY, sigmaZ
Definition at line 59 of file SimBeamSpotObjects.h.
References fSigmaX, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 60 of file SimBeamSpotObjects.h.
References fSigmaY, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 61 of file SimBeamSpotObjects.h.
References fSigmaZ, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 68 of file SimBeamSpotObjects.h.
References fTimeOffset, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set X, Y, Z positions
Definition at line 51 of file SimBeamSpotObjects.h.
References fX0, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 52 of file SimBeamSpotObjects.h.
References fY0, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 53 of file SimBeamSpotObjects.h.
References fZ0, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
double SimBeamSpotObjects::sigmaX | ( | ) | const |
get sigmaX, sigmaY, sigmaZ
Definition at line 9 of file SimBeamSpotObjects.cc.
References fbetastar, femittance, fSigmaX, and mathSSE::sqrt().
Referenced by BeamProfile2DBReader::analyze(), print(), and GaussEvtVtxGenerator::update().
double SimBeamSpotObjects::sigmaY | ( | ) | const |
Definition at line 16 of file SimBeamSpotObjects.cc.
References fbetastar, femittance, fSigmaY, and mathSSE::sqrt().
Referenced by BeamProfile2DBReader::analyze(), print(), and GaussEvtVtxGenerator::update().
|
inline |
Definition at line 81 of file SimBeamSpotObjects.h.
References fSigmaZ.
Referenced by BeamProfile2DBReader::analyze(), print(), GaussEvtVtxGenerator::update(), and BetafuncEvtVtxGenerator::update().
|
inline |
Definition at line 88 of file SimBeamSpotObjects.h.
References fTimeOffset.
Referenced by BeamProfile2DBReader::analyze(), print(), GaussEvtVtxGenerator::update(), and BetafuncEvtVtxGenerator::update().
|
inline |
get X, Y, Z position
Definition at line 71 of file SimBeamSpotObjects.h.
References fX0.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), BeamProfile2DBReader::analyze(), geometryXMLparser.Alignable::pos(), print(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), OpticalFunctionsTransport::transportProton(), HectorTransport::transportProton(), and BetafuncEvtVtxGenerator::update().
|
inline |
Definition at line 72 of file SimBeamSpotObjects.h.
References fY0.
Referenced by svgfig.Ellipse::__repr__(), BeamProfile2DBReader::analyze(), geometryXMLparser.Alignable::pos(), print(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), OpticalFunctionsTransport::transportProton(), HectorTransport::transportProton(), and BetafuncEvtVtxGenerator::update().
|
inline |
Definition at line 73 of file SimBeamSpotObjects.h.
References fZ0.
Referenced by BeamProfile2DBReader::analyze(), geometryXMLparser.Alignable::pos(), print(), ntupleDataFormat._HitObject::r3D(), and BetafuncEvtVtxGenerator::update().
|
friend |
Definition at line 101 of file SimBeamSpotObjects.h.
|
friend |
Definition at line 101 of file SimBeamSpotObjects.h.
|
private |
Definition at line 98 of file SimBeamSpotObjects.h.
Referenced by alpha(), setAlpha(), and SimBeamSpotObjects().
|
private |
Definition at line 97 of file SimBeamSpotObjects.h.
Referenced by betaStar(), setBetaStar(), sigmaX(), sigmaY(), and SimBeamSpotObjects().
|
private |
Definition at line 97 of file SimBeamSpotObjects.h.
Referenced by emittance(), setEmittance(), sigmaX(), sigmaY(), and SimBeamSpotObjects().
|
private |
Definition at line 95 of file SimBeamSpotObjects.h.
Referenced by meanX(), setMeanX(), and SimBeamSpotObjects().
|
private |
Definition at line 95 of file SimBeamSpotObjects.h.
Referenced by meanY(), setMeanY(), and SimBeamSpotObjects().
|
private |
Definition at line 95 of file SimBeamSpotObjects.h.
Referenced by meanZ(), setMeanZ(), and SimBeamSpotObjects().
|
private |
Definition at line 98 of file SimBeamSpotObjects.h.
Referenced by phi(), setPhi(), and SimBeamSpotObjects().
|
private |
Definition at line 96 of file SimBeamSpotObjects.h.
Referenced by setSigmaX(), sigmaX(), and SimBeamSpotObjects().
|
private |
Definition at line 96 of file SimBeamSpotObjects.h.
Referenced by setSigmaY(), sigmaY(), and SimBeamSpotObjects().
|
private |
Definition at line 96 of file SimBeamSpotObjects.h.
Referenced by setSigmaZ(), sigmaZ(), and SimBeamSpotObjects().
|
private |
Definition at line 99 of file SimBeamSpotObjects.h.
Referenced by setTimeOffset(), SimBeamSpotObjects(), and timeOffset().
|
private |
Definition at line 94 of file SimBeamSpotObjects.h.
Referenced by setX(), SimBeamSpotObjects(), and x().
|
private |
Definition at line 94 of file SimBeamSpotObjects.h.
Referenced by setY(), SimBeamSpotObjects(), and y().
|
private |
Definition at line 94 of file SimBeamSpotObjects.h.
Referenced by setZ(), SimBeamSpotObjects(), and z().