Belle II Software development
ECLClusteringParameters.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#pragma once
10
11#include <TObject.h>
12#include <array>
13
14namespace Belle2 {
19
21 class ECLClusteringParameters: public TObject {
22
23
24 //---------------------------------------------------
25 public:
26
35
36
37 //---------------------------------------------------
38 //..Getters for the parameters
39
41 double getLMEnergyCut() const {return m_LM_energyCut;}
42
44 const std::array<double, 3>& getCRFEnergyCut() const {return m_CRF_energyCut;}
45
47 const std::array<double, 3>& getCRFTimeCut() const {return m_CRF_timeCut;}
48
50 const std::array<double, 3>& getCRFTimeCutMaxEnergy() const {return m_CRF_timeCutMaxEnergy;}
51
54
55
56 //---------------------------------------------------
57 //..Setters for the parmeters
58
60 void setLMEnergyCut(const double LM_energy_cut) {m_LM_energyCut = LM_energy_cut;}
61
63 void setCRFEnergyCut(const std::array<double, 3>& CRF_energy_cut) {m_CRF_energyCut = CRF_energy_cut;}
64
66 void setCRFTimeCut(const std::array<double, 3>& CRF_time_cut) {m_CRF_timeCut = CRF_time_cut;}
67
69 void setCRFTimeCutMaxEnergy(const std::array<double, 3>& CRF_timeCutMaxEnergy) {m_CRF_timeCutMaxEnergy = CRF_timeCutMaxEnergy;}
70
72 void setFClusterEnergyCutMin(const double F_clusterEnergyCutMin)
73 {
74 m_F_clusterEnergyCutMin = F_clusterEnergyCutMin;
75 }
76
77
78 //---------------------------------------------------
79 private:
81 std::array<double, 3> m_CRF_energyCut;
82 std::array<double, 3> m_CRF_timeCut;
83 std::array<double, 3> m_CRF_timeCutMaxEnergy;
85
87 };
88
89}
double getLMEnergyCut() const
Get the energy threshold for seeds in ECLLocalMaximumFinder [GeV].
double getFClusterEnergyCutMin() const
Get the energy threshold for clusters in ECLFinalizer [GeV].
const std::array< double, 3 > & getCRFTimeCutMaxEnergy() const
Get the three max energies for time cuts for ECLCRFinder [GeV].
std::array< double, 3 > m_CRF_timeCut
time cuts for ECLCRFinder [ns]
double m_F_clusterEnergyCutMin
minimum cluster energy in ECLFinalizer [GeV]
const std::array< double, 3 > & getCRFEnergyCut() const
Get the three energy thresholds for ECLCRFinder [GeV].
void setLMEnergyCut(const double LM_energy_cut)
Set the energy threshold in ECLLocalMaximumFinder [GeV].
const std::array< double, 3 > & getCRFTimeCut() const
Get the three time cuts for ECLCRFinder [ns].
void setCRFEnergyCut(const std::array< double, 3 > &CRF_energy_cut)
Set the three energy thresholds in ECLCRFinder [GeV].
std::array< double, 3 > m_CRF_timeCutMaxEnergy
time cuts are only applied below these energies [GeV]
void setCRFTimeCutMaxEnergy(const std::array< double, 3 > &CRF_timeCutMaxEnergy)
Set the three time cuts in ECLCRFinder [ns].
ClassDef(ECLClusteringParameters, 2)
ClassDef.
std::array< double, 3 > m_CRF_energyCut
energy cuts for ECLCRFinder [GeV]
double m_LM_energyCut
energy cut for ECLLocalMaximumFinder seed [GeV]
void setFClusterEnergyCutMin(const double F_clusterEnergyCutMin)
Set the minimum cluster energy in ECLFinalizer [GeV].
void setCRFTimeCut(const std::array< double, 3 > &CRF_time_cut)
Set the three time cuts in ECLCRFinder [ns].
Abstract base class for different kinds of events.