Belle II Software  release-05-02-19
ECLTrackClusterMatchingThresholds.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Frank Meier *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <TObject.h>
13 
14 namespace Belle2 {
23  class ECLTrackClusterMatchingThresholds: public TObject {
24 
25  public:
26 
29 
31  ECLTrackClusterMatchingThresholds(const std::vector<std::pair<double, double>>& matchingThresholdsFWD,
32  const std::vector<std::pair<double, double>>& matchingThresholdsBWD,
33  const std::vector<std::pair<double, std::pair<double, double>>>& matchingThresholdsBRL):
34  m_matchingThresholdsFWD(matchingThresholdsFWD),
35  m_matchingThresholdsBWD(matchingThresholdsBWD),
36  m_matchingThresholdsBRL(matchingThresholdsBRL)
37  {
38  }
39 
42 
44  const std::vector<std::pair<double, double>>& getFWDMatchingThresholdValues() const {return m_matchingThresholdsFWD;};
45 
47  const std::vector<std::pair<double, double>>& getBWDMatchingThresholdValues() const {return m_matchingThresholdsBWD;};
48 
50  const std::vector<std::pair<double, std::pair<double, double>>>& getBRLMatchingThresholdValues() const {return m_matchingThresholdsBRL;};
51 
52  private:
53 
54  std::vector<std::pair<double, double>> m_matchingThresholdsFWD;
55  std::vector<std::pair<double, double>> m_matchingThresholdsBWD;
56  std::vector<std::pair<double, std::pair<double, double>>> m_matchingThresholdsBRL;
59  };
61 } // namespace Belle2
Belle2::ECLTrackClusterMatchingThresholds::ECLTrackClusterMatchingThresholds
ECLTrackClusterMatchingThresholds()
Default constructor.
Definition: ECLTrackClusterMatchingThresholds.h:36
Belle2::ECLTrackClusterMatchingThresholds::m_matchingThresholdsBWD
std::vector< std::pair< double, double > > m_matchingThresholdsBWD
Matching threshold values for BWD.
Definition: ECLTrackClusterMatchingThresholds.h:63
Belle2::ECLTrackClusterMatchingThresholds::getBWDMatchingThresholdValues
const std::vector< std::pair< double, double > > & getBWDMatchingThresholdValues() const
Get matching thresholds for BWD.
Definition: ECLTrackClusterMatchingThresholds.h:55
Belle2::ECLTrackClusterMatchingThresholds::ClassDef
ClassDef(ECLTrackClusterMatchingThresholds, 1)
ClassDef.
Belle2::ECLTrackClusterMatchingThresholds
Class to hold the matching thresholds for the track-ECLCluster matching.
Definition: ECLTrackClusterMatchingThresholds.h:31
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECLTrackClusterMatchingThresholds::getFWDMatchingThresholdValues
const std::vector< std::pair< double, double > > & getFWDMatchingThresholdValues() const
Get matching thresholds for FWD.
Definition: ECLTrackClusterMatchingThresholds.h:52
Belle2::ECLTrackClusterMatchingThresholds::~ECLTrackClusterMatchingThresholds
~ECLTrackClusterMatchingThresholds()
Destructor.
Definition: ECLTrackClusterMatchingThresholds.h:49
Belle2::ECLTrackClusterMatchingThresholds::m_matchingThresholdsFWD
std::vector< std::pair< double, double > > m_matchingThresholdsFWD
Matching threshold values for FWD.
Definition: ECLTrackClusterMatchingThresholds.h:58
Belle2::ECLTrackClusterMatchingThresholds::getBRLMatchingThresholdValues
const std::vector< std::pair< double, std::pair< double, double > > > & getBRLMatchingThresholdValues() const
Get matching thresholds for BRL.
Definition: ECLTrackClusterMatchingThresholds.h:58
Belle2::ECLTrackClusterMatchingThresholds::m_matchingThresholdsBRL
std::vector< std::pair< double, std::pair< double, double > > > m_matchingThresholdsBRL
Matching threshold values for BRL.
Definition: ECLTrackClusterMatchingThresholds.h:64