Belle II Software development
HLTPrefilterParameters Class Reference

DBObject containing parameters used in HLTprefilter module. More...

#include <HLTPrefilterParameters.h>

Inheritance diagram for HLTPrefilterParameters:

Public Types

enum  HLTPrefilterState {
  TimingCut = 0 ,
  CDCECLCut = 1
}
 Enumeration for HLT prefilter state. More...
 

Public Member Functions

 HLTPrefilterParameters ()
 Default constructor.
 
 HLTPrefilterParameters (double LERtimeSinceLastInjectionMin, double LERtimeSinceLastInjectionMax, double LERtimeInBeamCycleMin, double LERtimeInBeamCycleMax, double HERtimeSinceLastInjectionMin, double HERtimeSinceLastInjectionMax, double HERtimeInBeamCycleMin, double HERtimeInBeamCycleMax, unsigned short State, unsigned int HLTPrefilterPrescale)
 Constructor.
 
 HLTPrefilterParameters (uint32_t cdcHitsMax, uint32_t eclDigitsMax, unsigned short State, unsigned int HLTPrefilterPrescale)
 Constructor.
 
 ~HLTPrefilterParameters ()
 Destructor.
 
void setLERtimeSinceLastInjectionMin (double LERtimeSinceLastInjectionMin)
 Set the minimum threshold of timeSinceLastInjection for LER injection for an event.
 
void setLERtimeSinceLastInjectionMax (double LERtimeSinceLastInjectionMax)
 Set the maximum threshold of timeSinceLastInjection for LER injection for an event.
 
void setHERtimeSinceLastInjectionMin (double HERtimeSinceLastInjectionMin)
 Set the minimum threshold of timeSinceLastInjection for HER injection for an event.
 
void setHERtimeSinceLastInjectionMax (double HERtimeSinceLastInjectionMax)
 Set the maximum threshold of timeSinceLastInjection for HER injection for an event.
 
void setLERtimeInBeamCycleMin (double LERtimeInBeamCycleMin)
 Set the minimum threshold of timeInBeamCycle for LER injection for an event.
 
void setLERtimeInBeamCycleMax (double LERtimeInBeamCycleMax)
 Set the maximum threshold of timeInBeamCycle for LER injection for an event.
 
void setHERtimeInBeamCycleMin (double HERtimeInBeamCycleMin)
 Set the minimum threshold of timeInBeamCycle for HER injection for an event.
 
void setHERtimeInBeamCycleMax (double HERtimeInBeamCycleMax)
 Set the maximum threshold of timeInBeamCycle for HER injection for an event.
 
void setCDCHitsMax (uint32_t cdcHitsMax)
 Set the maximum threshold of CDCHits for an event.
 
void setECLDigitsMax (uint32_t eclDigitsMax)
 Set the maximum threshold of CDCHits for an event.
 
void setHLTPrefilterState (unsigned short State)
 Set the HLTPrefilter state.
 
void setHLTPrefilterPrescale (unsigned int HLTPrefilterPrescale)
 Set the prescale for HLTPrefilter result.
 
double getLERtimeSinceLastInjectionMin () const
 Get the minimum threshold of timeSinceLastInjection for LER injection for an event.
 
double getLERtimeSinceLastInjectionMax () const
 Get the maximum threshold of timeSinceLastInjection for LER injection for an event.
 
double getHERtimeSinceLastInjectionMin () const
 Get the minimum threshold of timeSinceLastInjection for HER injection for an event.
 
double getHERtimeSinceLastInjectionMax () const
 Get the maximum threshold of timeSinceLastInjection for HER injection for an event.
 
double getLERtimeInBeamCycleMin () const
 Get the minimum threshold of timeInBeamCycle for LER injection for an event.
 
double getLERtimeInBeamCycleMax () const
 Get the maximum threshold of timeInBeamCycle for LER injection for an event.
 
double getHERtimeInBeamCycleMin () const
 Get the minimum threshold of timeInBeamCycle for HER injection for an event.
 
double getHERtimeInBeamCycleMax () const
 Get the maximum threshold of timeInBeamCycle for HER injection for an event.
 
uint32_t getCDCHitsMax () const
 Get the maximum threshold of CDCHits for an event.
 
uint32_t getECLDigitsMax () const
 Get the maximum threshold of CDCHits for an event.
 
unsigned short getHLTPrefilterState () const
 Get the HLTPrefilter state.
 
unsigned int getHLTPrefilterPrescale () const
 Get the prescale for HLTPrefilter result.
 

Private Member Functions

 ClassDef (HLTPrefilterParameters, 1)
 Class version.
 

Private Attributes

double m_LERtimeSinceLastInjectionMin
 Minimum threshold of timeSinceLastInjection for LER injection.
 
double m_LERtimeSinceLastInjectionMax
 Maximum threshold of timeSinceLastInjection for LER injection.
 
double m_HERtimeSinceLastInjectionMin
 Minimum threshold of timeSinceLastInjection for HER injection.
 
double m_HERtimeSinceLastInjectionMax
 Maximum threshold of timeSinceLastInjection for HER injection.
 
double m_LERtimeInBeamCycleMin
 Minimum threshold of timeInBeamCycle for LER injection.
 
double m_LERtimeInBeamCycleMax
 Maximum threshold of timeInBeamCycle for LER injection.
 
double m_HERtimeInBeamCycleMin
 Minimum threshold of timeInBeamCycle for HER injection.
 
double m_HERtimeInBeamCycleMax
 Maximum threshold of timeInBeamCycle for HER injection.
 
uint32_t m_cdcHitsMax
 Maximum threshold of CDCHits.
 
uint32_t m_eclDigitsMax
 Maximum threshold of ECLDigits.
 
HLTPrefilterState m_HLTPrefilterState
 HLTPrefilter State.
 
unsigned int m_HLTPrefilterPrescale
 HLTPrefilter prescale.
 

Detailed Description

DBObject containing parameters used in HLTprefilter module.

Definition at line 26 of file HLTPrefilterParameters.h.

Member Enumeration Documentation

◆ HLTPrefilterState

Enumeration for HLT prefilter state.

Definition at line 30 of file HLTPrefilterParameters.h.

30{ TimingCut = 0, CDCECLCut = 1 };

Constructor & Destructor Documentation

◆ HLTPrefilterParameters() [1/3]

Default constructor.

Definition at line 35 of file HLTPrefilterParameters.h.

36 {
37 m_LERtimeSinceLastInjectionMin = 0;
38 m_LERtimeSinceLastInjectionMax = 0;
39 m_HERtimeSinceLastInjectionMin = 0;
40 m_HERtimeSinceLastInjectionMax = 0;
41 m_LERtimeInBeamCycleMin = 0;
42 m_LERtimeInBeamCycleMax = 0;
43 m_HERtimeInBeamCycleMin = 0;
44 m_HERtimeInBeamCycleMax = 0;
45 m_cdcHitsMax = 1e9;
46 m_eclDigitsMax = 1e9;
47 m_HLTPrefilterState = static_cast<HLTPrefilterState>(0);
48 m_HLTPrefilterPrescale = 1000;
49 }

◆ HLTPrefilterParameters() [2/3]

HLTPrefilterParameters ( double LERtimeSinceLastInjectionMin,
double LERtimeSinceLastInjectionMax,
double LERtimeInBeamCycleMin,
double LERtimeInBeamCycleMax,
double HERtimeSinceLastInjectionMin,
double HERtimeSinceLastInjectionMax,
double HERtimeInBeamCycleMin,
double HERtimeInBeamCycleMax,
unsigned short State,
unsigned int HLTPrefilterPrescale )
inline

Constructor.

Parameters
[in]LERtimeSinceLastInjectionMinMinimum threshold of timeSinceLastInjection for LER injection.
[in]LERtimeSinceLastInjectionMaxMaximum threshold of timeSinceLastInjection for LER injection.
[in]HERtimeSinceLastInjectionMinMinimum threshold of timeSinceLastInjection for HER injection.
[in]HERtimeSinceLastInjectionMaxMaximum threshold of timeSinceLastInjection for HER injection.
[in]LERtimeInBeamCycleMinMinimum threshold of timeInBeamCycle for LER injection.
[in]LERtimeInBeamCycleMaxMaximum threshold of timeInBeamCycle for LER injection.
[in]HERtimeInBeamCycleMinMinimum threshold of timeInBeamCycle for HER injection.
[in]HERtimeInBeamCycleMaxMaximum threshold of timeInBeamCycle for HER injection.
[in]StateState of HLTprefilter
[in]HLTPrefilterPrescalePrescale for accepting events rejected by the HLTprefilter result

Definition at line 64 of file HLTPrefilterParameters.h.

68 {
69 m_LERtimeSinceLastInjectionMin = LERtimeSinceLastInjectionMin;
70 m_LERtimeSinceLastInjectionMax = LERtimeSinceLastInjectionMax;
71 m_HERtimeSinceLastInjectionMin = HERtimeSinceLastInjectionMin;
72 m_HERtimeSinceLastInjectionMax = HERtimeSinceLastInjectionMax;
73 m_LERtimeInBeamCycleMin = LERtimeInBeamCycleMin;
74 m_LERtimeInBeamCycleMax = LERtimeInBeamCycleMax;
75 m_HERtimeInBeamCycleMin = HERtimeInBeamCycleMin;
76 m_HERtimeInBeamCycleMax = HERtimeInBeamCycleMax;
77 m_cdcHitsMax = 1e9;
78 m_eclDigitsMax = 1e9;
79 m_HLTPrefilterState = static_cast<HLTPrefilterState>(State);
80 m_HLTPrefilterPrescale = HLTPrefilterPrescale;
81 }

◆ HLTPrefilterParameters() [3/3]

HLTPrefilterParameters ( uint32_t cdcHitsMax,
uint32_t eclDigitsMax,
unsigned short State,
unsigned int HLTPrefilterPrescale )
inline

Constructor.

Parameters
[in]cdcHitsMaxMaximum threshold of CDCHits
[in]eclDigitsMaxMaximum threshold of ECLDigits
[in]StateState of HLTprefilter
[in]HLTPrefilterPrescalePrescale for accepting events rejected by the HLTprefilter result

Definition at line 90 of file HLTPrefilterParameters.h.

91 {
92 m_LERtimeSinceLastInjectionMin = 0;
93 m_LERtimeSinceLastInjectionMax = 0;
94 m_HERtimeSinceLastInjectionMin = 0;
95 m_HERtimeSinceLastInjectionMax = 0;
96 m_LERtimeInBeamCycleMin = 0;
97 m_LERtimeInBeamCycleMax = 0;
98 m_HERtimeInBeamCycleMin = 0;
99 m_HERtimeInBeamCycleMax = 0;
100 m_cdcHitsMax = cdcHitsMax;
101 m_eclDigitsMax = eclDigitsMax;
102 m_HLTPrefilterState = static_cast<HLTPrefilterState>(State);
103 m_HLTPrefilterPrescale = HLTPrefilterPrescale;
104 }

◆ ~HLTPrefilterParameters()

Destructor.

Definition at line 109 of file HLTPrefilterParameters.h.

110 {
111 }

Member Function Documentation

◆ getCDCHitsMax()

uint32_t getCDCHitsMax ( ) const
inline

Get the maximum threshold of CDCHits for an event.

Definition at line 289 of file HLTPrefilterParameters.h.

290 {
291 return m_cdcHitsMax;
292 }

◆ getECLDigitsMax()

uint32_t getECLDigitsMax ( ) const
inline

Get the maximum threshold of CDCHits for an event.

Definition at line 297 of file HLTPrefilterParameters.h.

298 {
299 return m_eclDigitsMax;
300 }

◆ getHERtimeInBeamCycleMax()

double getHERtimeInBeamCycleMax ( ) const
inline

Get the maximum threshold of timeInBeamCycle for HER injection for an event.

Definition at line 281 of file HLTPrefilterParameters.h.

282 {
283 return m_HERtimeInBeamCycleMax;
284 }

◆ getHERtimeInBeamCycleMin()

double getHERtimeInBeamCycleMin ( ) const
inline

Get the minimum threshold of timeInBeamCycle for HER injection for an event.

Definition at line 273 of file HLTPrefilterParameters.h.

274 {
275 return m_HERtimeInBeamCycleMin;
276 }

◆ getHERtimeSinceLastInjectionMax()

double getHERtimeSinceLastInjectionMax ( ) const
inline

Get the maximum threshold of timeSinceLastInjection for HER injection for an event.

Definition at line 249 of file HLTPrefilterParameters.h.

250 {
251 return m_HERtimeSinceLastInjectionMax;
252 }

◆ getHERtimeSinceLastInjectionMin()

double getHERtimeSinceLastInjectionMin ( ) const
inline

Get the minimum threshold of timeSinceLastInjection for HER injection for an event.

Definition at line 241 of file HLTPrefilterParameters.h.

242 {
243 return m_HERtimeSinceLastInjectionMin;
244 }

◆ getHLTPrefilterPrescale()

unsigned int getHLTPrefilterPrescale ( ) const
inline

Get the prescale for HLTPrefilter result.

Definition at line 313 of file HLTPrefilterParameters.h.

314 {
315 return m_HLTPrefilterPrescale;
316 }

◆ getHLTPrefilterState()

unsigned short getHLTPrefilterState ( ) const
inline

Get the HLTPrefilter state.

Definition at line 305 of file HLTPrefilterParameters.h.

306 {
307 return static_cast<unsigned short>(m_HLTPrefilterState);
308 }

◆ getLERtimeInBeamCycleMax()

double getLERtimeInBeamCycleMax ( ) const
inline

Get the maximum threshold of timeInBeamCycle for LER injection for an event.

Definition at line 265 of file HLTPrefilterParameters.h.

266 {
267 return m_LERtimeInBeamCycleMax;
268 }

◆ getLERtimeInBeamCycleMin()

double getLERtimeInBeamCycleMin ( ) const
inline

Get the minimum threshold of timeInBeamCycle for LER injection for an event.

Definition at line 257 of file HLTPrefilterParameters.h.

258 {
259 return m_LERtimeInBeamCycleMin;
260 }

◆ getLERtimeSinceLastInjectionMax()

double getLERtimeSinceLastInjectionMax ( ) const
inline

Get the maximum threshold of timeSinceLastInjection for LER injection for an event.

Definition at line 233 of file HLTPrefilterParameters.h.

234 {
235 return m_LERtimeSinceLastInjectionMax;
236 }

◆ getLERtimeSinceLastInjectionMin()

double getLERtimeSinceLastInjectionMin ( ) const
inline

Get the minimum threshold of timeSinceLastInjection for LER injection for an event.

Definition at line 225 of file HLTPrefilterParameters.h.

226 {
227 return m_LERtimeSinceLastInjectionMin;
228 }

◆ setCDCHitsMax()

void setCDCHitsMax ( uint32_t cdcHitsMax)
inline

Set the maximum threshold of CDCHits for an event.

Parameters
[in]cdcHitsMaxfor an event.

Definition at line 190 of file HLTPrefilterParameters.h.

191 {
192 m_cdcHitsMax = cdcHitsMax;
193 }

◆ setECLDigitsMax()

void setECLDigitsMax ( uint32_t eclDigitsMax)
inline

Set the maximum threshold of CDCHits for an event.

Parameters
[in]eclDigitsMaxfor an event.

Definition at line 199 of file HLTPrefilterParameters.h.

200 {
201 m_eclDigitsMax = eclDigitsMax;
202 }

◆ setHERtimeInBeamCycleMax()

void setHERtimeInBeamCycleMax ( double HERtimeInBeamCycleMax)
inline

Set the maximum threshold of timeInBeamCycle for HER injection for an event.

Parameters
[in]HERtimeInBeamCycleMaxfor an event.

Definition at line 181 of file HLTPrefilterParameters.h.

182 {
183 m_HERtimeInBeamCycleMax = HERtimeInBeamCycleMax;
184 }

◆ setHERtimeInBeamCycleMin()

void setHERtimeInBeamCycleMin ( double HERtimeInBeamCycleMin)
inline

Set the minimum threshold of timeInBeamCycle for HER injection for an event.

Parameters
[in]HERtimeInBeamCycleMinfor an event.

Definition at line 172 of file HLTPrefilterParameters.h.

173 {
174 m_HERtimeInBeamCycleMin = HERtimeInBeamCycleMin;
175 }

◆ setHERtimeSinceLastInjectionMax()

void setHERtimeSinceLastInjectionMax ( double HERtimeSinceLastInjectionMax)
inline

Set the maximum threshold of timeSinceLastInjection for HER injection for an event.

Parameters
[in]HERtimeSinceLastInjectionMaxfor an event.

Definition at line 144 of file HLTPrefilterParameters.h.

145 {
146 m_HERtimeSinceLastInjectionMax = HERtimeSinceLastInjectionMax;
147 }

◆ setHERtimeSinceLastInjectionMin()

void setHERtimeSinceLastInjectionMin ( double HERtimeSinceLastInjectionMin)
inline

Set the minimum threshold of timeSinceLastInjection for HER injection for an event.

Parameters
[in]HERtimeSinceLastInjectionMinfor an event.

Definition at line 135 of file HLTPrefilterParameters.h.

136 {
137 m_HERtimeSinceLastInjectionMin = HERtimeSinceLastInjectionMin;
138 }

◆ setHLTPrefilterPrescale()

void setHLTPrefilterPrescale ( unsigned int HLTPrefilterPrescale)
inline

Set the prescale for HLTPrefilter result.

Parameters
[in]HLTPrefilterPrescale

Definition at line 217 of file HLTPrefilterParameters.h.

218 {
219 m_HLTPrefilterPrescale = HLTPrefilterPrescale;
220 }

◆ setHLTPrefilterState()

void setHLTPrefilterState ( unsigned short State)
inline

Set the HLTPrefilter state.

Parameters
[in]State

Definition at line 208 of file HLTPrefilterParameters.h.

209 {
210 m_HLTPrefilterState = static_cast<HLTPrefilterState>(State);
211 }

◆ setLERtimeInBeamCycleMax()

void setLERtimeInBeamCycleMax ( double LERtimeInBeamCycleMax)
inline

Set the maximum threshold of timeInBeamCycle for LER injection for an event.

Parameters
[in]LERtimeInBeamCycleMaxfor an event.

Definition at line 163 of file HLTPrefilterParameters.h.

164 {
165 m_LERtimeInBeamCycleMax = LERtimeInBeamCycleMax;
166 }

◆ setLERtimeInBeamCycleMin()

void setLERtimeInBeamCycleMin ( double LERtimeInBeamCycleMin)
inline

Set the minimum threshold of timeInBeamCycle for LER injection for an event.

Parameters
[in]LERtimeInBeamCycleMinfor an event.

Definition at line 154 of file HLTPrefilterParameters.h.

155 {
156 m_LERtimeInBeamCycleMin = LERtimeInBeamCycleMin;
157 }

◆ setLERtimeSinceLastInjectionMax()

void setLERtimeSinceLastInjectionMax ( double LERtimeSinceLastInjectionMax)
inline

Set the maximum threshold of timeSinceLastInjection for LER injection for an event.

Parameters
[in]LERtimeSinceLastInjectionMaxfor an event.

Definition at line 126 of file HLTPrefilterParameters.h.

127 {
128 m_LERtimeSinceLastInjectionMax = LERtimeSinceLastInjectionMax;
129 }

◆ setLERtimeSinceLastInjectionMin()

void setLERtimeSinceLastInjectionMin ( double LERtimeSinceLastInjectionMin)
inline

Set the minimum threshold of timeSinceLastInjection for LER injection for an event.

Parameters
[in]LERtimeSinceLastInjectionMinfor an event.

Definition at line 117 of file HLTPrefilterParameters.h.

118 {
119 m_LERtimeSinceLastInjectionMin = LERtimeSinceLastInjectionMin;
120 }

Member Data Documentation

◆ m_cdcHitsMax

uint32_t m_cdcHitsMax
private

Maximum threshold of CDCHits.

Definition at line 355 of file HLTPrefilterParameters.h.

◆ m_eclDigitsMax

uint32_t m_eclDigitsMax
private

Maximum threshold of ECLDigits.

Definition at line 359 of file HLTPrefilterParameters.h.

◆ m_HERtimeInBeamCycleMax

double m_HERtimeInBeamCycleMax
private

Maximum threshold of timeInBeamCycle for HER injection.

Definition at line 351 of file HLTPrefilterParameters.h.

◆ m_HERtimeInBeamCycleMin

double m_HERtimeInBeamCycleMin
private

Minimum threshold of timeInBeamCycle for HER injection.

Definition at line 347 of file HLTPrefilterParameters.h.

◆ m_HERtimeSinceLastInjectionMax

double m_HERtimeSinceLastInjectionMax
private

Maximum threshold of timeSinceLastInjection for HER injection.

Definition at line 335 of file HLTPrefilterParameters.h.

◆ m_HERtimeSinceLastInjectionMin

double m_HERtimeSinceLastInjectionMin
private

Minimum threshold of timeSinceLastInjection for HER injection.

Definition at line 331 of file HLTPrefilterParameters.h.

◆ m_HLTPrefilterPrescale

unsigned int m_HLTPrefilterPrescale
private

HLTPrefilter prescale.

Definition at line 369 of file HLTPrefilterParameters.h.

◆ m_HLTPrefilterState

HLTPrefilterState m_HLTPrefilterState
private

HLTPrefilter State.

Definition at line 364 of file HLTPrefilterParameters.h.

◆ m_LERtimeInBeamCycleMax

double m_LERtimeInBeamCycleMax
private

Maximum threshold of timeInBeamCycle for LER injection.

Definition at line 343 of file HLTPrefilterParameters.h.

◆ m_LERtimeInBeamCycleMin

double m_LERtimeInBeamCycleMin
private

Minimum threshold of timeInBeamCycle for LER injection.

Definition at line 339 of file HLTPrefilterParameters.h.

◆ m_LERtimeSinceLastInjectionMax

double m_LERtimeSinceLastInjectionMax
private

Maximum threshold of timeSinceLastInjection for LER injection.

Definition at line 327 of file HLTPrefilterParameters.h.

◆ m_LERtimeSinceLastInjectionMin

double m_LERtimeSinceLastInjectionMin
private

Minimum threshold of timeSinceLastInjection for LER injection.

Definition at line 323 of file HLTPrefilterParameters.h.


The documentation for this class was generated from the following file: