Belle II Software  release-06-01-15
EKLMHit2d.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 /* KLM headers. */
12 #include <klm/dataobjects/eklm/EKLMHitBase.h>
13 #include <klm/dataobjects/eklm/EKLMHitGlobalCoord.h>
14 #include <klm/dataobjects/eklm/EKLMHitMCTime.h>
15 #include <klm/dataobjects/KLMDigit.h>
16 
17 /* Belle 2 headers. */
18 #include <framework/datastore/RelationsObject.h>
19 
20 namespace Belle2 {
29  class EKLMHit2d : public RelationsObject, public EKLMHitBase,
30  public EKLMHitGlobalCoord, public EKLMHitMCTime {
31 
32  public:
33 
37  EKLMHit2d();
38 
43  explicit EKLMHit2d(KLMDigit* s1);
44 
48  ~EKLMHit2d();
49 
54  float getChiSq() const
55  {
56  return m_ChiSq;
57  }
58 
63  void setChiSq(float chisq)
64  {
65  m_ChiSq = chisq;
66  }
67 
68  private:
69 
71  float m_ChiSq;
72 
75 
76  };
77 
79 }
Class for 2d hits handling.
Definition: EKLMHit2d.h:30
float m_ChiSq
Chi^2 of the hit.
Definition: EKLMHit2d.h:71
float getChiSq() const
Get Chi^2 of the crossing point.
Definition: EKLMHit2d.h:54
void setChiSq(float chisq)
Set Chi^2 of the crossing point.
Definition: EKLMHit2d.h:63
ClassDef(Belle2::EKLMHit2d, 5)
Class version.
~EKLMHit2d()
Destructor.
Definition: EKLMHit2d.cc:33
EKLMHit2d()
Constructor.
Definition: EKLMHit2d.cc:17
Base hit class.
Definition: EKLMHitBase.h:23
KLM digit (class representing a digitized hit in RPCs or scintillators).
Definition: KLMDigit.h:30
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.