Belle II Software development
AlignableSVDRecoHit2D.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <svd/reconstruction/SVDRecoHit2D.h>
12
13#include <genfit/ICalibrationParametersDerivatives.h>
14
15#include <TMatrix.h>
16
17namespace genfit {
18 class AbsMeasurement;
19 class StateOnPlane;
20}
21
22namespace Belle2 {
28 class AlignableSVDRecoHit2D : public SVDRecoHit2D, public genfit::ICalibrationParametersDerivatives {
29 friend class SVDRecoHit2D;
30 public:
33
36
39
41 genfit::AbsMeasurement* clone() const override
42 {
43 return new AlignableSVDRecoHit2D(*this);
44 }
45
78 virtual std::pair<std::vector<int>, TMatrixD> globalDerivatives(const genfit::StateOnPlane* sop) override;
79
80 private:
81
84 };
86}
This class is used to transfer SVD information to the track fit.
ClassDefOverride(AlignableSVDRecoHit2D, 4)
ROOT Macro.
static bool s_enableLorentzGlobalDerivatives
Static enabling(true) or disabling(false) addition of global derivatives for Lorentz shift.
virtual ~AlignableSVDRecoHit2D()
Destructor.
virtual std::pair< std::vector< int >, TMatrixD > globalDerivatives(const genfit::StateOnPlane *sop) override
Labels and derivatives of residuals (local measurement coordinates) w.r.t.
genfit::AbsMeasurement * clone() const override
Creating a deep copy of this hit.
SVDRecoHit - an extended form of SVDHit containing geometry information.
Definition: SVDRecoHit2D.h:46
SVDRecoHit2D()
Default constructor for ROOT IO.
Definition: SVDRecoHit2D.cc:23
Abstract base class for different kinds of events.