Belle II Software  release-08-01-10
TRGGRLMATCHKLM.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 #ifndef TRGGRLMATCHKLM_H
10 #define TRGGRLMATCHKLM_H
11 
12 #include <framework/datastore/RelationsObject.h>
13 
14 namespace Belle2 {
22  public:
23 
25  TRGGRLMATCHKLM(): m_dphi(-999.) {}
28 
30  double get_dphi() const {return m_dphi;}
31 
33  void set_dphi(double dphi) { m_dphi = dphi; }
34 
36  double get_sector() const {return m_sector;}
37 
39  void set_sector(int sector) { m_sector = sector; }
40 
41 
42  private:
43 
46  double m_dphi;
47 
49  double m_sector{ -1};
50 
52  ClassDef(TRGGRLMATCHKLM, 3); /*< the class title */
53 
54  };
55 
57 } // end namespace Belle2
58 
59 #endif
Defines interface for accessing relations of objects in StoreArray.
a class for CDC2D-KLM Matching in TRGGRL
double get_sector() const
Get klm sector id.
TRGGRLMATCHKLM()
Constructor.
ClassDef(TRGGRLMATCHKLM, 3)
! The Class title
double m_sector
KLM sector id used for the matching.
double m_dphi
Phi angle difference between the 2D track's extrapolated hit on superconucting coil and the KLM track...
~TRGGRLMATCHKLM()
Destructor.
void set_sector(int sector)
set the klm sector id
void set_dphi(double dphi)
set the dphi
double get_dphi() const
Get dphi.
Abstract base class for different kinds of events.