Belle II Software development
TrackFlippingCuts Class Reference

The payload containing the cuts for 2 mva based filters to decide whether a RecoTrack should be flipped or not. More...

#include <TrackFlippingCuts.h>

Inheritance diagram for TrackFlippingCuts:

Public Member Functions

 TrackFlippingCuts ()
 Default constructor.
 
 ~TrackFlippingCuts ()
 Destructor.
 
void setCuts (const bool status, const float cutPt, const float cutFirst, const float cutSecond)
 Set the cuts for the two filters.
 
bool getOnOffInfo () const
 get the info about turning on/off the flip&refit
 
float getPtCut () const
 get the Pt cut for flip&refit
 
float getFirstCut () const
 get the first cuts value
 
float getSecondCut () const
 get the second cuts value
 

Private Member Functions

 ClassDef (TrackFlippingCuts, 4)
 ClassDef, necessary for ROOT.
 

Private Attributes

bool m_status
 whether to switch on or off the flip&refit.
 
float m_cutPt
 The cuts on Transverse Momentum to do flip&refit.
 
float m_cutFirst
 The cuts for the 1st filter.
 
float m_cutSecond
 The cuts for the 2nd filter.
 

Detailed Description

The payload containing the cuts for 2 mva based filters to decide whether a RecoTrack should be flipped or not.

Definition at line 21 of file TrackFlippingCuts.h.

Constructor & Destructor Documentation

◆ TrackFlippingCuts()

TrackFlippingCuts ( )
inline

Default constructor.

Definition at line 25 of file TrackFlippingCuts.h.

25{}

◆ ~TrackFlippingCuts()

~TrackFlippingCuts ( )
inline

Destructor.

Definition at line 27 of file TrackFlippingCuts.h.

27{}

Member Function Documentation

◆ getFirstCut()

float getFirstCut ( ) const
inline

get the first cuts value

Definition at line 57 of file TrackFlippingCuts.h.

58 {
59 return m_cutFirst;
60 }
float m_cutFirst
The cuts for the 1st filter.

◆ getOnOffInfo()

bool getOnOffInfo ( ) const
inline

get the info about turning on/off the flip&refit

Definition at line 45 of file TrackFlippingCuts.h.

46 {
47 return m_status;
48 }
bool m_status
whether to switch on or off the flip&refit.

◆ getPtCut()

float getPtCut ( ) const
inline

get the Pt cut for flip&refit

Definition at line 51 of file TrackFlippingCuts.h.

52 {
53 return m_cutPt;
54 }
float m_cutPt
The cuts on Transverse Momentum to do flip&refit.

◆ getSecondCut()

float getSecondCut ( ) const
inline

get the second cuts value

Definition at line 63 of file TrackFlippingCuts.h.

64 {
65 return m_cutSecond;
66 }
float m_cutSecond
The cuts for the 2nd filter.

◆ setCuts()

void setCuts ( const bool  status,
const float  cutPt,
const float  cutFirst,
const float  cutSecond 
)
inline

Set the cuts for the two filters.

Parameters
statusthe option to turn on/off flip&refit
cutPtthe cut on Pt to do flip&refit
cutFirstthe cut for the 1st MVA
cutSecondthe cut for the 2nd MVA

Definition at line 35 of file TrackFlippingCuts.h.

36 {
37 m_status = status;
38 m_cutPt = cutPt;
39 m_cutFirst = cutFirst;
40 m_cutSecond = cutSecond;
41 }

Member Data Documentation

◆ m_cutFirst

float m_cutFirst
private

The cuts for the 1st filter.

Definition at line 74 of file TrackFlippingCuts.h.

◆ m_cutPt

float m_cutPt
private

The cuts on Transverse Momentum to do flip&refit.

tracks with Pt higher than this value will not be flip&refitted

Definition at line 72 of file TrackFlippingCuts.h.

◆ m_cutSecond

float m_cutSecond
private

The cuts for the 2nd filter.

Definition at line 76 of file TrackFlippingCuts.h.

◆ m_status

bool m_status
private

whether to switch on or off the flip&refit.

Should be True or False

Definition at line 70 of file TrackFlippingCuts.h.


The documentation for this class was generated from the following file: