#include <SimBeamSpotObjects.h>
Public Member Functions | |
double | alpha () const |
get Alpha More... | |
double | betaStar () const |
get BetaStar More... | |
double | emittance () const |
get Emittance More... | |
double | phi () const |
get Phi 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 | setPhi (double val) |
set Phi, Alpha and TimeOffset More... | |
void | setSigmaZ (double val) |
set sigmaZ More... | |
void | setTimeOffset (double val) |
void | setX (double val) |
set X, Y, Z positions More... | |
void | setY (double val) |
void | setZ (double val) |
double | sigmaZ () const |
get sigmaZ More... | |
SimBeamSpotObjects () | |
default constructor More... | |
double | timeOffset () const |
get TimeOffset More... | |
double | x () const |
get X position More... | |
double | y () const |
get Y position More... | |
double | z () const |
get Z position More... | |
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 | fPhi |
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
Definition at line 14 of file SimBeamSpotObjects.h.
|
inline |
default constructor
Definition at line 17 of file SimBeamSpotObjects.h.
References fAlpha, fbetastar, femittance, fPhi, fSigmaZ, fTimeOffset, fX0, fY0, and fZ0.
|
inlinevirtual |
Definition at line 29 of file SimBeamSpotObjects.h.
|
inline |
get Alpha
Definition at line 60 of file SimBeamSpotObjects.h.
References fAlpha.
Referenced by BeamProfile2DBReader::analyze(), print(), and BetafuncEvtVtxGenerator::update().
|
inline |
get BetaStar
Definition at line 54 of file SimBeamSpotObjects.h.
References fbetastar.
Referenced by BeamProfile2DBReader::analyze(), print(), and BetafuncEvtVtxGenerator::update().
|
inline |
get Emittance
Definition at line 56 of file SimBeamSpotObjects.h.
References femittance.
Referenced by BeamProfile2DBReader::analyze(), print(), and BetafuncEvtVtxGenerator::update().
|
inline |
get Phi
Definition at line 58 of file SimBeamSpotObjects.h.
References fPhi.
Referenced by Particle.Particle::__str__(), BeamProfile2DBReader::analyze(), ntupleDataFormat.Track::phiPull(), print(), and BetafuncEvtVtxGenerator::update().
void SimBeamSpotObjects::print | ( | std::stringstream & | ss | ) | const |
print sim beam spot parameters
Definition at line 5 of file SimBeamSpotObjects.cc.
References alpha(), betaStar(), emittance(), phi(), sigmaZ(), contentValuesCheck::ss, timeOffset(), x(), y(), and z().
|
private |
|
inline |
Definition at line 42 of file SimBeamSpotObjects.h.
References fAlpha, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set BetaStar and Emittance
Definition at line 38 of file SimBeamSpotObjects.h.
References fbetastar, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 39 of file SimBeamSpotObjects.h.
References femittance, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set Phi, Alpha and TimeOffset
Definition at line 41 of file SimBeamSpotObjects.h.
References fPhi, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set sigmaZ
Definition at line 36 of file SimBeamSpotObjects.h.
References fSigmaZ, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 43 of file SimBeamSpotObjects.h.
References fTimeOffset, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
set X, Y, Z positions
Definition at line 32 of file SimBeamSpotObjects.h.
References fX0, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 33 of file SimBeamSpotObjects.h.
References fY0, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
Definition at line 34 of file SimBeamSpotObjects.h.
References fZ0, and heppy_batch::val.
Referenced by BeamProfile2DBWriter::BeamProfile2DBWriter().
|
inline |
get sigmaZ
Definition at line 52 of file SimBeamSpotObjects.h.
References fSigmaZ.
Referenced by BeamProfile2DBReader::analyze(), print(), and BetafuncEvtVtxGenerator::update().
|
inline |
get TimeOffset
Definition at line 62 of file SimBeamSpotObjects.h.
References fTimeOffset.
Referenced by BeamProfile2DBReader::analyze(), print(), and BetafuncEvtVtxGenerator::update().
|
inline |
get X position
Definition at line 46 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(), and BetafuncEvtVtxGenerator::update().
|
inline |
get Y position
Definition at line 48 of file SimBeamSpotObjects.h.
References fY0.
Referenced by svgfig.Ellipse::__repr__(), BeamProfile2DBReader::analyze(), geometryXMLparser.Alignable::pos(), print(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), and BetafuncEvtVtxGenerator::update().
|
inline |
get Z position
Definition at line 50 of file SimBeamSpotObjects.h.
References fZ0.
Referenced by BeamProfile2DBReader::analyze(), geometryXMLparser.Alignable::pos(), print(), ntupleDataFormat._HitObject::r3D(), and BetafuncEvtVtxGenerator::update().
|
friend |
Definition at line 74 of file SimBeamSpotObjects.h.
|
friend |
Definition at line 74 of file SimBeamSpotObjects.h.
|
private |
Definition at line 71 of file SimBeamSpotObjects.h.
Referenced by alpha(), setAlpha(), and SimBeamSpotObjects().
|
private |
Definition at line 70 of file SimBeamSpotObjects.h.
Referenced by betaStar(), setBetaStar(), and SimBeamSpotObjects().
|
private |
Definition at line 70 of file SimBeamSpotObjects.h.
Referenced by emittance(), setEmittance(), and SimBeamSpotObjects().
|
private |
Definition at line 71 of file SimBeamSpotObjects.h.
Referenced by phi(), setPhi(), and SimBeamSpotObjects().
|
private |
Definition at line 69 of file SimBeamSpotObjects.h.
Referenced by setSigmaZ(), sigmaZ(), and SimBeamSpotObjects().
|
private |
Definition at line 72 of file SimBeamSpotObjects.h.
Referenced by setTimeOffset(), SimBeamSpotObjects(), and timeOffset().
|
private |
Definition at line 68 of file SimBeamSpotObjects.h.
Referenced by setX(), SimBeamSpotObjects(), and x().
|
private |
Definition at line 68 of file SimBeamSpotObjects.h.
Referenced by setY(), SimBeamSpotObjects(), and y().
|
private |
Definition at line 68 of file SimBeamSpotObjects.h.
Referenced by setZ(), SimBeamSpotObjects(), and z().