Belle II Software development
EventsOfDoomParameters.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/* ROOT headers. */
12#include <TObject.h>
13
14/* C++ headers. */
15#include <cstdint>
16
17namespace Belle2 {
26 class EventsOfDoomParameters : public TObject {
27
28 public:
29
34 {
35 m_nCDCHitsMax = 0;
37 }
38
44 EventsOfDoomParameters(uint32_t nCDCHitsMax, uint32_t nSVDShaperDigitsMax)
45 {
46 m_nCDCHitsMax = nCDCHitsMax;
47 m_nSVDShaperDigitsMax = nSVDShaperDigitsMax;
48 }
49
54 {
55 }
56
61 void setNCDCHitsMax(uint32_t nCDCHitsMax)
62 {
63 m_nCDCHitsMax = nCDCHitsMax;
64 }
65
70 void setNSVDShaperDigitsMax(uint32_t nSVDShaperDigitsMax)
71 {
72 m_nSVDShaperDigitsMax = nSVDShaperDigitsMax;
73 }
74
78 uint32_t getNCDCHitsMax() const
79 {
80 return m_nCDCHitsMax;
81 }
82
86 uint32_t getNSVDShaperDigitsMax() const
87 {
89 }
90
91 private:
92
96 uint32_t m_nCDCHitsMax;
97
102
107
108 };
109
111}
DBObject containing parameters used in EventsOfDoomBuster module.
uint32_t getNCDCHitsMax() const
Get the max number of CDC hits for an event.
uint32_t getNSVDShaperDigitsMax() const
Get the max number of SVD shaper digits for an event.
uint32_t m_nCDCHitsMax
Max number of CDC hits for an event to be kept for reconstruction.
uint32_t m_nSVDShaperDigitsMax
Max number of SVD shaper digits for an event to be kept for reconstruction.
ClassDef(EventsOfDoomParameters, 1)
Class version.
EventsOfDoomParameters(uint32_t nCDCHitsMax, uint32_t nSVDShaperDigitsMax)
Constructor.
void setNCDCHitsMax(uint32_t nCDCHitsMax)
Set the max number of CDC hits for an event.
EventsOfDoomParameters()
Default constructor.
void setNSVDShaperDigitsMax(uint32_t nSVDShaperDigitsMax)
Set the max number of SVD shaper digits for an event.
Abstract base class for different kinds of events.