Abstract parent for all (track-based) alignment algorithms. More...
#include <AlignmentAlgorithm.h>
Public Member Functions | |
AlignmentAlgorithm () | |
dummy constructor (not to be used) More... | |
AlignmentAlgorithm (const edm::ParameterSet &ps, AlignmentTask *_t) | |
normal constructor More... | |
virtual void | analyze ()=0 |
analyzes the data collected More... | |
virtual void | begin (const CTPPSGeometry *geometryReal, const CTPPSGeometry *geometryMisaligned)=0 |
prepare for processing More... | |
virtual void | end ()=0 |
cleans up after processing More... | |
virtual void | feed (const HitCollection &, const LocalTrackFit &)=0 |
process one track More... | |
virtual std::string | getName () |
virtual bool | hasErrorEstimate ()=0 |
returns whether this algorithm is capable of estimating result uncertainties More... | |
virtual void | saveDiagnostics (TDirectory *)=0 |
saves diagnostic histograms/plots More... | |
virtual unsigned int | solve (const std::vector< AlignmentConstraint > &, std::map< unsigned int, AlignmentResult > &results, TDirectory *dir=nullptr)=0 |
virtual | ~AlignmentAlgorithm () |
Protected Attributes | |
double | singularLimit |
eigenvalues in (-singularLimit, singularLimit) are treated as singular More... | |
AlignmentTask * | task |
the tasked to be completed More... | |
unsigned int | verbosity |
Abstract parent for all (track-based) alignment algorithms.
Definition at line 31 of file AlignmentAlgorithm.h.
|
inline |
AlignmentAlgorithm::AlignmentAlgorithm | ( | const edm::ParameterSet & | ps, |
AlignmentTask * | _t | ||
) |
normal constructor
Definition at line 13 of file AlignmentAlgorithm.cc.
|
inlinevirtual |
Definition at line 48 of file AlignmentAlgorithm.h.
|
pure virtual |
analyzes the data collected
Implemented in JanAlignmentAlgorithm, and IdealResult.
|
pure virtual |
prepare for processing
Implemented in JanAlignmentAlgorithm, and IdealResult.
|
pure virtual |
cleans up after processing
Implemented in JanAlignmentAlgorithm, and IdealResult.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
pure virtual |
process one track
Implemented in JanAlignmentAlgorithm, and IdealResult.
|
inlinevirtual |
Reimplemented in JanAlignmentAlgorithm, and IdealResult.
Definition at line 50 of file AlignmentAlgorithm.h.
Referenced by plotting.Plot::draw().
|
pure virtual |
returns whether this algorithm is capable of estimating result uncertainties
Implemented in JanAlignmentAlgorithm, and IdealResult.
|
pure virtual |
saves diagnostic histograms/plots
Implemented in JanAlignmentAlgorithm, and IdealResult.
|
pure virtual |
solves the alignment problem with the given constraints
dir | a directory (in StraightTrackAlignment::taskDataFileName) where intermediate results can be stored |
Implemented in JanAlignmentAlgorithm, and IdealResult.
|
protected |
eigenvalues in (-singularLimit, singularLimit) are treated as singular
Definition at line 39 of file AlignmentAlgorithm.h.
Referenced by JanAlignmentAlgorithm::analyze(), and JanAlignmentAlgorithm::solve().
|
protected |
the tasked to be completed
Definition at line 36 of file AlignmentAlgorithm.h.
Referenced by JanAlignmentAlgorithm::analyze(), JanAlignmentAlgorithm::begin(), JanAlignmentAlgorithm::end(), JanAlignmentAlgorithm::feed(), JanAlignmentAlgorithm::saveDiagnostics(), IdealResult::solve(), and JanAlignmentAlgorithm::solve().
|
protected |
Definition at line 33 of file AlignmentAlgorithm.h.
Referenced by JanAlignmentAlgorithm::analyze(), JanAlignmentAlgorithm::feed(), and JanAlignmentAlgorithm::solve().