Belle II Software  release-08-01-10
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 
17 namespace genfit {
18  class AbsMeasurement;
19  class StateOnPlane;
20 }
21 
22 namespace Belle2 {
29  friend class PXDRecoHit;
30  public:
33 
36 
38  virtual ~AlignablePXDRecoHit() {}
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.
genfit::AbsMeasurement * clone() const override
Creating a deep copy of this hit.
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.
PXDRecoHit - an extended form of PXDCluster containing geometry information.
Definition: PXDRecoHit.h:49
PXDRecoHit()
Default constructor for ROOT IO.
Definition: PXDRecoHit.cc:27
Contains the measurement and covariance in raw detector coordinates.
Abstract base class to establish an interface between physical representation of the detector for ali...
A state with arbitrary dimension defined in a DetPlane.
Definition: StateOnPlane.h:47
Abstract base class for different kinds of events.
Defines for I/O streams used for error and debug printing.