Belle II Software development
AlignablePXDRecoHit.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 <pxd/reconstruction/PXDRecoHit.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 AlignablePXDRecoHit : public PXDRecoHit, public genfit::ICalibrationParametersDerivatives {
29 friend class PXDRecoHit;
30 public:
33
36
39
41 genfit::AbsMeasurement* clone() const override
42 {
43 return new AlignablePXDRecoHit(*this);
44 }
45
78 virtual std::pair<std::vector<int>, TMatrixD> globalDerivatives(const genfit::StateOnPlane* sop) override;
79
80 private:
81
83 };
85}
This class is used to transfer PXD information to the track fit.
ClassDefOverride(AlignablePXDRecoHit, 3)
PXD RecoHit extended for alignment/calibration.
virtual ~AlignablePXDRecoHit()
Destructor.
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.
PXDRecoHit - an extended form of PXDCluster containing geometry information.
Definition: PXDRecoHit.h:49
PXDRecoHit()
Default constructor for ROOT IO.
Definition: PXDRecoHit.cc:26
Abstract base class for different kinds of events.