 |
Belle II Software
release-05-02-19
|
14 #include <mdst/dbobjects/BeamSpot.h>
15 #include <mdst/dbobjects/CollisionBoostVector.h>
16 #include <mdst/dbobjects/CollisionInvariantMass.h>
19 #include <framework/database/DBObjPtr.h>
20 #include <framework/database/IntervalOfValidity.h>
21 #include <framework/dbobjects/BeamParameters.h>
33 class BeamParametersFitter {
bool m_UseMomentum
Whether to use momentum components or energy and two angles.
A class that describes the interval of experiments/runs for which an object in the database is valid.
DBObjPtr< CollisionInvariantMass > m_CollisionInvariantMass
Collision invariant mass.
void setAngleHER(double angleHER)
Set HER angle.
void setAngleError(double angleError)
Set angle error.
double m_InvariantMassError
Invariant-mass error (use only if error is 0).
IntervalOfValidity m_IntervalOfValidity
Interval of validity.
void fillVertexData(double covarianceXX, double covarianceYY)
Fill beam spot (vertex) data.
BeamParametersFitter()
Constructor.
DBObjPtr< BeamSpot > m_BeamSpot
Beam spot.
void fit()
Perform the fit.
void setupDatabase()
Setup database.
double m_AngleError
Angle error.
Class for accessing objects in the database.
void setInvariantMassError(double invariantMassError)
Set invariant-mass error.
void setBeamParameters(const BeamParameters *beamParameters)
Set beam parameters.
void setAngleLER(double angleLER)
Set LER angle.
~BeamParametersFitter()
Destructor.
Abstract base class for different kinds of events.
void setIntervalOfValidity(const IntervalOfValidity &iov)
Set interval of validity.
double m_BoostError
Boost error (use only if inverse error matrix is not available).
double m_AngleHER
HER angle.
double m_AngleLER
LER angle.
void useMomentum(bool use)
Set whether to use momentum components or energy and two angles.
DBObjPtr< CollisionBoostVector > m_CollisionBoostVector
Collision boost vector.
void importBeamParameters()
Import beam parameters.
This class contains the nominal beam parameters and the parameters used for smearing of the primary v...
BeamParameters getBeamParameters() const
Get beam parameters.
BeamParameters m_BeamParameters
Beam parameters.
bool m_Verbose
Whether to be verbose (print Minuit output).
void setBoostError(double boostError)
Set boost error.
void setVerbose(bool verbose)
Set whether to be verbose (print Minuit output).