Belle II Software development
AlignableSVDRecoHit.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/SVDRecoHit.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 AlignableSVDRecoHit : public SVDRecoHit, public genfit::ICalibrationParametersDerivatives {
29 friend class SVDRecoHit;
30 public:
33
36
39
41 genfit::AbsMeasurement* clone() const override
42 {
43 return new AlignableSVDRecoHit(*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.
static bool s_enableLorentzGlobalDerivatives
Static enabling(true) or disabling(false) addition of global derivatives for Lorentz shift.
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.
ClassDefOverride(AlignableSVDRecoHit, 2)
ROOT Macro.
virtual ~AlignableSVDRecoHit()
Destructor.
SVDRecoHit - an extended form of SVDHit containing geometry information.
Definition: SVDRecoHit.h:47
SVDRecoHit()
Default constructor for ROOT IO.
Definition: SVDRecoHit.cc:23
Abstract base class for different kinds of events.