Belle II Software  release-08-01-10
ECLTrackClusterMatchingThresholds.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 ECLTrackClusterMatchingThresholds: public TObject {
22 
23  public:
24 
27 
29  ECLTrackClusterMatchingThresholds(const std::vector<std::pair<double, double>>& matchingThresholdsFWD,
30  const std::vector<std::pair<double, double>>& matchingThresholdsBWD,
31  const std::vector<std::pair<double, std::pair<double, double>>>& matchingThresholdsBRL):
32  m_matchingThresholdsFWD(matchingThresholdsFWD),
33  m_matchingThresholdsBWD(matchingThresholdsBWD),
34  m_matchingThresholdsBRL(matchingThresholdsBRL)
35  {
36  }
37 
40 
42  const std::vector<std::pair<double, double>>& getFWDMatchingThresholdValues() const {return m_matchingThresholdsFWD;};
43 
45  const std::vector<std::pair<double, double>>& getBWDMatchingThresholdValues() const {return m_matchingThresholdsBWD;};
46 
48  const std::vector<std::pair<double, std::pair<double, double>>>& getBRLMatchingThresholdValues() const {return m_matchingThresholdsBRL;};
49 
50  private:
51 
52  std::vector<std::pair<double, double>> m_matchingThresholdsFWD;
53  std::vector<std::pair<double, double>> m_matchingThresholdsBWD;
54  std::vector<std::pair<double, std::pair<double, double>>> m_matchingThresholdsBRL;
57  };
59 } // namespace Belle2
Class to hold the matching thresholds for the track-ECLCluster matching.
std::vector< std::pair< double, double > > m_matchingThresholdsFWD
Matching threshold values for FWD.
ClassDef(ECLTrackClusterMatchingThresholds, 1)
ClassDef.
const std::vector< std::pair< double, double > > & getBWDMatchingThresholdValues() const
Get matching thresholds for BWD.
std::vector< std::pair< double, double > > m_matchingThresholdsBWD
Matching threshold values for BWD.
const std::vector< std::pair< double, double > > & getFWDMatchingThresholdValues() const
Get matching thresholds for FWD.
std::vector< std::pair< double, std::pair< double, double > > > m_matchingThresholdsBRL
Matching threshold values for BRL.
const std::vector< std::pair< double, std::pair< double, double > > > & getBRLMatchingThresholdValues() const
Get matching thresholds for BRL.
ECLTrackClusterMatchingThresholds(const std::vector< std::pair< double, double >> &matchingThresholdsFWD, const std::vector< std::pair< double, double >> &matchingThresholdsBWD, const std::vector< std::pair< double, std::pair< double, double >>> &matchingThresholdsBRL)
Constructor.
Abstract base class for different kinds of events.