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
34
35
36 //---------------------------------------------------
37 //..Getters for the parameters
38
40 double getLMEnergyCut() const {return m_LM_energyCut;}
41
43 const std::array<double, 3>& getCRFEnergyCut() const {return m_CRF_energyCut;}
44
46 const std::array<double, 3>& getCRFTimeCut() const {return m_CRF_timeCut;}
47
49 const std::array<double, 3>& getCRFTimeCutMaxEnergy() const {return m_CRF_timeCutMaxEnergy;}
50
51
52 //---------------------------------------------------
53 //..Setters for the parmeters
54
56 void setLMEnergyCut(const double LM_energy_cut) {m_LM_energyCut = LM_energy_cut;}
57
59 void setCRFEnergyCut(const std::array<double, 3>& CRF_energy_cut) {m_CRF_energyCut = CRF_energy_cut;}
60
62 void setCRFTimeCut(const std::array<double, 3>& CRF_time_cut) {m_CRF_timeCut = CRF_time_cut;}
63
65 void setCRFTimeCutMaxEnergy(const std::array<double, 3>& CRF_timeCutMaxEnergy) {m_CRF_timeCutMaxEnergy = CRF_timeCutMaxEnergy;}
66
67
68 //---------------------------------------------------
69 private:
71 std::array<double, 3> m_CRF_energyCut;
72 std::array<double, 3> m_CRF_timeCut;
73 std::array<double, 3> m_CRF_timeCutMaxEnergy;
74
76 };
77
78}
double getLMEnergyCut() const
Get the energy threshold for seeds in ECLLocalMaximumFinder [MeV].
const std::array< double, 3 > & getCRFTimeCutMaxEnergy() const
Get the three max energies for time cuts for ECLCRFinder [MeV].
std::array< double, 3 > m_CRF_timeCut
time cuts for ECLCRFinder [ns]
const std::array< double, 3 > & getCRFEnergyCut() const
Get the three energy thresholds for ECLCRFinder [MeV].
void setLMEnergyCut(const double LM_energy_cut)
Set the energy threshold in ECLLocalMaximumFinder [MeV].
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 [MeV].
std::array< double, 3 > m_CRF_timeCutMaxEnergy
time cuts are only applied below these energies [MeV]
void setCRFTimeCutMaxEnergy(const std::array< double, 3 > &CRF_timeCutMaxEnergy)
Set the three time cuts in ECLCRFinder [ns].
std::array< double, 3 > m_CRF_energyCut
energy cuts for ECLCRFinder [MeV]
double m_LM_energyCut
energy cut for ECLLocalMaximumFinder seed [MeV]
ClassDef(ECLClusteringParameters, 1)
ClassDef.
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.