File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class ICalibrationParametersDerivatives {
87
87
*
88
88
* @return std::vector< int > Vector of integer labels
89
89
*/
90
- virtual std::vector<int > labels () = 0;
90
+ virtual std::vector<int > labels () { return std::vector< int >();}
91
91
92
92
/* *
93
93
* @brief Derivatives of residuals (local measurement coordinates) w.r.t. alignment/calibration parameters
@@ -126,7 +126,7 @@ class ICalibrationParametersDerivatives {
126
126
* @return TMatrixD Matrix with #rows = dimension of residual, #columns = number of parameters.
127
127
* #columns must match labels().size().
128
128
*/
129
- virtual TMatrixD derivatives (const genfit::StateOnPlane* sop) = 0;
129
+ virtual TMatrixD derivatives (const genfit::StateOnPlane* sop) { return TMatrixD ();}
130
130
131
131
/* *
132
132
* @brief Derivatives for additional local parameters to be fitted
Original file line number Diff line number Diff line change @@ -70,14 +70,13 @@ class SpacepointMeasurement : public AbsMeasurement {
70
70
71
71
virtual const AbsHMatrix* constructHMatrix (const AbsTrackRep*) const ;
72
72
73
- // / false: use POCA to construct DetPlane. true: Use metric G to construct POCA
74
- void setWeightedPlaneContruction (bool opt) {weightedPlaneContruction_ = opt;}
75
-
76
73
// / false: project 3D cov onto DetPlane. true: cut 3D cov with DetPlane
77
- void setCutCov (bool opt) {cutCov_ = opt;}
74
+ bool getWeightedPlaneConstruction () const { return weightedPlaneContruction_; }
75
+ void setWeightedPlaneConstruction (bool value) { weightedPlaneContruction_ = value; }
78
76
79
- bool getWeightedPlaneContruction () const {return weightedPlaneContruction_;}
80
- bool getCutCov () const {return cutCov_;}
77
+ // / false: use POCA to construct DetPlane. true: Use metric G to construct POCA
78
+ bool getCutCov () const { return cutCov_; }
79
+ void setCutCov (bool value) { cutCov_ = value; }
81
80
82
81
protected:
83
82
void initG ();
You can’t perform that action at this time.
0 commit comments