Belle II Software light-2406-ragdoll
|
Fitter calculating BeamParameters from CollisionBoostVector and CollisionInvariantMass. More...
#include <BeamParametersFitter.h>
Public Member Functions | |
BeamParametersFitter () | |
Constructor. | |
~BeamParametersFitter () | |
Destructor. | |
void | setIntervalOfValidity (const IntervalOfValidity &iov) |
Set interval of validity. | |
void | setAngleHER (double angleHER) |
Set HER angle. | |
void | setAngleLER (double angleLER) |
Set LER angle. | |
void | setAngleError (double angleError) |
Set angle error. | |
void | setBoostError (double boostError) |
Set boost error. | |
void | setInvariantMassError (double invariantMassError) |
Set invariant-mass error. | |
void | setVerbose (bool verbose) |
Set whether to be verbose (print Minuit output). | |
BeamParameters | getBeamParameters () const |
Get beam parameters. | |
void | setBeamParameters (const BeamParameters *beamParameters) |
Set beam parameters. | |
void | fit () |
Perform the fit. | |
void | fillVertexData (double covarianceXX, double covarianceYY) |
Fill beam spot (vertex) data. | |
void | importBeamParameters () |
Import beam parameters. | |
Protected Member Functions | |
void | setupDatabase () |
Setup database. | |
Protected Attributes | |
IntervalOfValidity | m_IntervalOfValidity |
Interval of validity. | |
double | m_AngleHER = 0 |
HER angle. | |
double | m_AngleLER = 0 |
LER angle. | |
double | m_AngleError = 0 |
Angle error. | |
double | m_BoostError = 0.0001 |
Boost error (use only if inverse error matrix is not available). | |
double | m_InvariantMassError = 0.0001 |
Invariant-mass error (use only if error is 0). | |
bool | m_Verbose = false |
Whether to be verbose (print Minuit output). | |
BeamParameters | m_BeamParameters |
Beam parameters. | |
DBObjPtr< BeamSpot > | m_BeamSpot |
Beam spot. | |
DBObjPtr< CollisionBoostVector > | m_CollisionBoostVector |
Collision boost vector. | |
DBObjPtr< CollisionInvariantMass > | m_CollisionInvariantMass |
Collision invariant mass. | |
Fitter calculating BeamParameters from CollisionBoostVector and CollisionInvariantMass.
Definition at line 31 of file BeamParametersFitter.h.
|
inline |
|
inline |
void fillVertexData | ( | double | covarianceXX, |
double | covarianceYY | ||
) |
Fill beam spot (vertex) data.
The covariance matrix is rescaled to nominal XX and YY covariances. If covariances are negative, then no rescaling is performed.
[in] | covarianceXX | Covariance-matrix XX element. |
[in] | covarianceYY | Covariance-matrix YY element. |
Definition at line 296 of file BeamParametersFitter.cc.
void fit | ( | ) |
Perform the fit.
Definition at line 190 of file BeamParametersFitter.cc.
|
inline |
Get beam parameters.
Definition at line 108 of file BeamParametersFitter.h.
void importBeamParameters | ( | ) |
Import beam parameters.
Definition at line 320 of file BeamParametersFitter.cc.
|
inline |
Set angle error.
Definition at line 76 of file BeamParametersFitter.h.
|
inline |
Set HER angle.
Definition at line 60 of file BeamParametersFitter.h.
|
inline |
Set LER angle.
Definition at line 68 of file BeamParametersFitter.h.
|
inline |
Set beam parameters.
Definition at line 116 of file BeamParametersFitter.h.
|
inline |
Set boost error.
Definition at line 84 of file BeamParametersFitter.h.
|
inline |
Set interval of validity.
Definition at line 52 of file BeamParametersFitter.h.
|
inline |
Set invariant-mass error.
Definition at line 92 of file BeamParametersFitter.h.
|
protected |
Setup database.
Definition at line 97 of file BeamParametersFitter.cc.
|
inline |
Set whether to be verbose (print Minuit output).
Definition at line 100 of file BeamParametersFitter.h.
|
protected |
Angle error.
Definition at line 157 of file BeamParametersFitter.h.
|
protected |
HER angle.
Definition at line 151 of file BeamParametersFitter.h.
|
protected |
LER angle.
Definition at line 154 of file BeamParametersFitter.h.
|
protected |
Beam parameters.
Definition at line 169 of file BeamParametersFitter.h.
Beam spot.
Definition at line 172 of file BeamParametersFitter.h.
|
protected |
Boost error (use only if inverse error matrix is not available).
Definition at line 160 of file BeamParametersFitter.h.
|
protected |
Collision boost vector.
Definition at line 175 of file BeamParametersFitter.h.
|
protected |
Collision invariant mass.
Definition at line 178 of file BeamParametersFitter.h.
|
protected |
Interval of validity.
Definition at line 148 of file BeamParametersFitter.h.
|
protected |
Invariant-mass error (use only if error is 0).
Definition at line 163 of file BeamParametersFitter.h.
|
protected |
Whether to be verbose (print Minuit output).
Definition at line 166 of file BeamParametersFitter.h.