 |
Belle II Software
release-05-02-19
|
13 #include <alignment/dataobjects/PedeSteering.h>
14 #include <alignment/GlobalTimeLine.h>
15 #include <alignment/PedeResult.h>
16 #include <alignment/PedeApplication.h>
17 #include <calibration/CalibrationAlgorithm.h>
43 alignment::PedeApplication&
pede() {
return m_pede;}
100 void setTimedepConfig(std::vector< std::tuple< std::vector<int>, std::vector< std::tuple<int, int, int> > > >& config)
102 setEvents(alignment::timeline::setupTimedepGlobalLabels(config));
125 std::vector<EventMetaData>
m_events{};
Class implementing Millepede calibration algorithm.
alignment::PedeApplication m_pede
The Pede application (unsuccesfull until execution)
void setEvents(const std::vector< EventMetaData > &events)
Set the events at which payloads can change for time-dep calibration (translation from time IDs (aka ...
void setMinEntries(int minEntries)
Set minimum entries - for less algo will not run, but report NotEnoughData.
int m_minEntries
Minimum entries collected - report NotEnoughData for less.
virtual ~MillepedeAlgorithm()
Destructor.
void setComponents(const std::vector< std::string > &components)
Set components (BeamSpot...) to calibrate or empty for all available in data.
bool m_invertSign
Add (true) or subtract (false) corrections?
std::vector< EventMetaData > m_events
The events at which payloads can change for time-dep calibration (translation from time IDs (aka cont...
void invertSign(bool use_subtraction=true)
Add (false) or subtract (true) corrections to previous values?
MillepedeAlgorithm()
Constructor set the prefix to MillepedeCalibration.
alignment::PedeResult m_result
The result (invalid until execution)
virtual EResult calibrate() override
Run algo on data.
alignment::PedeResult & result()
Get the result (invalid until executed) to get parameters etc.
PedeSteering m_steering
The steering with commands.
Abstract base class for different kinds of events.
Class representing Millepede steering.
Class to process Pede result file(s)
void ignoreUndeterminedParams(bool ignore=true)
Report failure(false) or success (true) even if some parameters could not be determined.
void prepareMilleBinary()
Write out binary files from data in tree with GBL data to be used by Millepede and add them to steeri...
Class interfacing Millepede solver (Pede)
void setTimedepConfig(PyObject *config)
Setup the complete time dependence of parameters at once (ensures consistency) (Python version)
EResult
The result of calibration.
PedeSteering & steering()
Get the steering to set commands etc.
bool m_ignoreUndeterminedParams
Report failure(false) or success (true) even if some parameters could not be determined.
std::vector< std::string > m_components
Components (BeamSpot...) to calibrate or empty for all available in data.
Base class for calibration algorithms.
alignment::PedeApplication & pede()
Get the Pede application (for status etc.)