11#include <framework/core/Module.h>
12#include <framework/dbobjects/BeamParameters.h>
13#include <framework/database/DBObjPtr.h>
38 void event()
override;
42 static void printCovMatrix(std::ostream& out,
const TMatrixDSym& cov);
Class for accessing objects in the database.
Print the BeamParameters everytime they change.
static void printCovMatrix(std::ostream &out, const TMatrixDSym &cov)
print a covariance matrix and simplify it to three elements if the off diagonals are zero
DBObjPtr< BeamParameters > m_beamparams
Pointer to the BeamParameters.
void event() override
print the Beam Parameters if they changed
PrintBeamParametersModule()
Constructor: Sets the description, the properties and the parameters of the module.
Abstract base class for different kinds of events.