Belle II Software  release-05-02-19
EKLMHit2d.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Timofey Uglov, Kirill Chilikin *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 /* KLM headers. */
14 #include <klm/dataobjects/eklm/EKLMHitBase.h>
15 #include <klm/dataobjects/eklm/EKLMHitGlobalCoord.h>
16 #include <klm/dataobjects/eklm/EKLMHitMCTime.h>
17 #include <klm/dataobjects/KLMDigit.h>
18 
19 /* Belle 2 headers. */
20 #include <framework/datastore/RelationsObject.h>
21 
22 namespace Belle2 {
31  class EKLMHit2d : public RelationsObject, public EKLMHitBase,
32  public EKLMHitGlobalCoord, public EKLMHitMCTime {
33 
34  public:
35 
40 
45  explicit EKLMHit2d(KLMDigit* s1);
46 
50  ~EKLMHit2d();
51 
56  float getChiSq() const
57  {
58  return m_ChiSq;
59  }
60 
65  void setChiSq(float chisq)
66  {
67  m_ChiSq = chisq;
68  }
69 
70  private:
71 
73  float m_ChiSq;
74 
77 
78  };
79 
81 }
Belle2::EKLMHit2d::m_ChiSq
float m_ChiSq
Chi^2 of the hit.
Definition: EKLMHit2d.h:81
Belle2::EKLMHit2d::ClassDef
ClassDef(Belle2::EKLMHit2d, 5)
Class version.
Belle2::KLMDigit
KLM digit (class representing a digitized hit in RPCs or scintillators).
Definition: KLMDigit.h:40
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::EKLMHit2d::setChiSq
void setChiSq(float chisq)
Set Chi^2 of the crossing point.
Definition: EKLMHit2d.h:73
Belle2::EKLMHit2d::getChiSq
float getChiSq() const
Get Chi^2 of the crossing point.
Definition: EKLMHit2d.h:64
Belle2::EKLMHit2d::~EKLMHit2d
~EKLMHit2d()
Destructor.
Definition: EKLMHit2d.cc:35
Belle2::RelationsObject
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Definition: RelationsObject.h:443
Belle2::EKLMHit2d::EKLMHit2d
EKLMHit2d()
Constructor.
Definition: EKLMHit2d.cc:19
Belle2::EKLMHit2d
Class for 2d hits handling.
Definition: EKLMHit2d.h:39