Belle II Software development
CDCTrigger2DConfig.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
12namespace Belle2 {
17
18
19
25
26
27 class CDCTrigger2DConfig: public TObject {
28 public:
29
32
34 int getnTS() const
35 {
36 return m_nTS;
37 }
38
39 void setnTS(int i)
40 {
41 m_nTS = i;
42 }
43
45 bool getfullhit() const
46 {
47 return m_fullhit;
48 }
49
50 void setfullhit(bool i)
51 {
52 m_fullhit = i;
53 }
54
56 int gethitthreshold() const
57 {
58 return m_hitthreshold;
59 }
60
61 void sethitthreshold(int i)
62 {
64 }
65
67 bool getADC() const
68 {
69 return m_ADC;
70 }
71
72 void setADC(bool i)
73 {
74 m_ADC = i;
75 }
76
77 private:
78
80 int m_nTS;
86 bool m_ADC;
87
89 };
90
92} // end of namespace Belle2
bool getADC() const
Get ADC enable flag.
void setnTS(int i)
Set the number of TS.
CDCTrigger2DConfig()
Default constructor.
bool getfullhit() const
Get full wire hit enable flag.
int getnTS() const
Get the number of TS.
ClassDef(CDCTrigger2DConfig, 2)
ClassDef, must be the last term before the closing {}.
void setADC(bool i)
Set ADC enable flag.
void setfullhit(bool i)
Set full wire hit enable flag.
int m_hitthreshold
required number of TS or wire hits for 2D track finding
int gethitthreshold() const
Get the hit threshold.
bool m_fullhit
use full wirehit or not
void sethitthreshold(int i)
Set the hit threshold.
Abstract base class for different kinds of events.