Belle II Software  release-08-01-10
TrackFlippingCuts.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 #pragma once
9 
10 #include <TObject.h>
11 
12 namespace Belle2 {
21  class TrackFlippingCuts: public TObject {
22  public:
23 
28 
35  void setCuts(const bool status, const float cutPt, const float cutFirst, const float cutSecond)
36  {
37  m_status = status;
38  m_cutPt = cutPt;
39  m_cutFirst = cutFirst;
40  m_cutSecond = cutSecond;
41  }
42 
43 
45  bool getOnOffInfo() const
46  {
47  return m_status;
48  }
49 
51  float getPtCut() const
52  {
53  return m_cutPt;
54  }
55 
57  float getFirstCut() const
58  {
59  return m_cutFirst;
60  }
61 
63  float getSecondCut() const
64  {
65  return m_cutSecond;
66  }
67 
68  private:
70  bool m_status;
72  float m_cutPt;
74  float m_cutFirst;
76  float m_cutSecond;
77 
79  };
81 }
The payload containing the cuts for 2 mva based filters to decide whether a RecoTrack should be flipp...
TrackFlippingCuts()
Default constructor.
float getFirstCut() const
get the first cuts value
ClassDef(TrackFlippingCuts, 4)
ClassDef, necessary for ROOT.
float getSecondCut() const
get the second cuts value
float m_cutPt
The cuts on Transverse Momentum to do flip&refit.
void setCuts(const bool status, const float cutPt, const float cutFirst, const float cutSecond)
Set the cuts for the two filters.
float getPtCut() const
get the Pt cut for flip&refit
bool m_status
whether to switch on or off the flip&refit.
bool getOnOffInfo() const
get the info about turnning on/off the flip&refit
float m_cutFirst
The cuts for the 1st filter.
float m_cutSecond
The cuts for the 2nd filter.
Abstract base class for different kinds of events.