Skip to content

Commit 1cf2d60

Browse files
committed
add doxy
2 parents 94b8d0f + 516a515 commit 1cf2d60

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

GBL/include/ICalibrationParametersDerivatives.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class ICalibrationParametersDerivatives {
8787
*
8888
* @return std::vector< int > Vector of integer labels
8989
*/
90-
virtual std::vector<int> labels() = 0;
90+
virtual std::vector<int> labels() {return std::vector<int>();}
9191

9292
/**
9393
* @brief Derivatives of residuals (local measurement coordinates) w.r.t. alignment/calibration parameters
@@ -126,7 +126,7 @@ class ICalibrationParametersDerivatives {
126126
* @return TMatrixD Matrix with #rows = dimension of residual, #columns = number of parameters.
127127
* #columns must match labels().size().
128128
*/
129-
virtual TMatrixD derivatives(const genfit::StateOnPlane* sop) = 0;
129+
virtual TMatrixD derivatives(const genfit::StateOnPlane* sop) {return TMatrixD();}
130130

131131
/**
132132
* @brief Derivatives for additional local parameters to be fitted

measurements/include/SpacepointMeasurement.h

+5-6
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,13 @@ class SpacepointMeasurement : public AbsMeasurement {
7070

7171
virtual const AbsHMatrix* constructHMatrix(const AbsTrackRep*) const;
7272

73-
/// false: use POCA to construct DetPlane. true: Use metric G to construct POCA
74-
void setWeightedPlaneContruction(bool opt) {weightedPlaneContruction_ = opt;}
75-
7673
/// 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; }
7876

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; }
8180

8281
protected:
8382
void initG();

0 commit comments

Comments
 (0)