24 #ifndef genfit_AbsFitterInfo_h
25 #define genfit_AbsFitterInfo_h
27 #include "MeasurementOnPlane.h"
28 #include "FitStatus.h"
57 void setTrackPoint(
const TrackPoint *tp) {
trackPoint_ = tp;}
58 virtual void setRep(
const AbsTrackRep* rep) {
rep_ = rep;}
60 virtual bool hasMeasurements()
const = 0;
61 virtual bool hasReferenceState()
const = 0;
62 virtual bool hasForwardPrediction()
const = 0;
63 virtual bool hasBackwardPrediction()
const = 0;
64 virtual bool hasPrediction(
int direction)
const {
if (direction >=0)
return hasForwardPrediction();
return hasBackwardPrediction();}
65 virtual bool hasForwardUpdate()
const = 0;
66 virtual bool hasBackwardUpdate()
const = 0;
67 virtual bool hasUpdate(
int direction)
const {
if (direction >=0)
return hasForwardUpdate();
return hasBackwardUpdate();}
69 virtual void deleteForwardInfo() = 0;
70 virtual void deleteBackwardInfo() = 0;
71 virtual void deleteReferenceInfo() = 0;
72 virtual void deleteMeasurementInfo() = 0;
75 virtual const MeasuredStateOnPlane& getFittedState(
bool biased =
true)
const = 0;
76 virtual MeasurementOnPlane getResidual(
unsigned int iMeasurement = 0,
bool biased =
true,
bool onlyMeasurementErrors =
false)
const = 0;
80 virtual void Print(
const Option_t* =
"")
const {;}
82 virtual bool checkConsistency(
const PruneFlags* =
nullptr)
const = 0;
This class collects all information needed and produced by a specific AbsFitter and is specific to on...
AbsFitterInfo(const AbsFitterInfo &)
Shared ownership. '!' shuts up ROOT.
SharedPlanePtr sharedPlane_
No ownership.
const AbsTrackRep * rep_
No ownership.
virtual AbsFitterInfo * clone() const =0
Deep copy ctor for polymorphic class.
const TrackPoint * trackPoint_
Pointer to TrackPoint where the FitterInfo belongs to.
Abstract base class for a track representation.
Object containing AbsMeasurement and AbsFitterInfo objects.
Defines for I/O streams used for error and debug printing.
AbsFitterInfo * new_clone(const AbsFitterInfo &a)
Needed for boost cloneability:
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.