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_HLTPrefilterState = static_cast<HLTPrefilterState>(State);
78 m_HLTPrefilterPrescale = HLTPrefilterPrescale;
79 }

◆ 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 88 of file HLTPrefilterParameters.h.

89 {
90 m_cdcHitsMax = cdcHitsMax;
91 m_eclDigitsMax = eclDigitsMax;
92 m_HLTPrefilterState = static_cast<HLTPrefilterState>(State);
93 m_HLTPrefilterPrescale = HLTPrefilterPrescale;
94 }

◆ ~HLTPrefilterParameters()

Destructor.

Definition at line 99 of file HLTPrefilterParameters.h.

100 {
101 }

Member Function Documentation

◆ getCDCHitsMax()

uint32_t getCDCHitsMax ( ) const
inline

Get the maximum threshold of CDCHits for an event.

Definition at line 279 of file HLTPrefilterParameters.h.

280 {
281 return m_cdcHitsMax;
282 }

◆ getECLDigitsMax()

uint32_t getECLDigitsMax ( ) const
inline

Get the maximum threshold of CDCHits for an event.

Definition at line 287 of file HLTPrefilterParameters.h.

288 {
289 return m_eclDigitsMax;
290 }

◆ getHERtimeInBeamCycleMax()

double getHERtimeInBeamCycleMax ( ) const
inline

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

Definition at line 271 of file HLTPrefilterParameters.h.

272 {
273 return m_HERtimeInBeamCycleMax;
274 }

◆ getHERtimeInBeamCycleMin()

double getHERtimeInBeamCycleMin ( ) const
inline

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

Definition at line 263 of file HLTPrefilterParameters.h.

264 {
265 return m_HERtimeInBeamCycleMin;
266 }

◆ getHERtimeSinceLastInjectionMax()

double getHERtimeSinceLastInjectionMax ( ) const
inline

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

Definition at line 239 of file HLTPrefilterParameters.h.

240 {
241 return m_HERtimeSinceLastInjectionMax;
242 }

◆ getHERtimeSinceLastInjectionMin()

double getHERtimeSinceLastInjectionMin ( ) const
inline

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

Definition at line 231 of file HLTPrefilterParameters.h.

232 {
233 return m_HERtimeSinceLastInjectionMin;
234 }

◆ getHLTPrefilterPrescale()

unsigned int getHLTPrefilterPrescale ( ) const
inline

Get the prescale for HLTPrefilter result.

Definition at line 303 of file HLTPrefilterParameters.h.

304 {
305 return m_HLTPrefilterPrescale;
306 }

◆ getHLTPrefilterState()

unsigned short getHLTPrefilterState ( ) const
inline

Get the HLTPrefilter state.

Definition at line 295 of file HLTPrefilterParameters.h.

296 {
297 return static_cast<unsigned short>(m_HLTPrefilterState);
298 }

◆ getLERtimeInBeamCycleMax()

double getLERtimeInBeamCycleMax ( ) const
inline

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

Definition at line 255 of file HLTPrefilterParameters.h.

256 {
257 return m_LERtimeInBeamCycleMax;
258 }

◆ getLERtimeInBeamCycleMin()

double getLERtimeInBeamCycleMin ( ) const
inline

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

Definition at line 247 of file HLTPrefilterParameters.h.

248 {
249 return m_LERtimeInBeamCycleMin;
250 }

◆ getLERtimeSinceLastInjectionMax()

double getLERtimeSinceLastInjectionMax ( ) const
inline

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

Definition at line 223 of file HLTPrefilterParameters.h.

224 {
225 return m_LERtimeSinceLastInjectionMax;
226 }

◆ getLERtimeSinceLastInjectionMin()

double getLERtimeSinceLastInjectionMin ( ) const
inline

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

Definition at line 215 of file HLTPrefilterParameters.h.

216 {
217 return m_LERtimeSinceLastInjectionMin;
218 }

◆ setCDCHitsMax()

void setCDCHitsMax ( uint32_t cdcHitsMax)
inline

Set the maximum threshold of CDCHits for an event.

Parameters
[in]cdcHitsMaxfor an event.

Definition at line 180 of file HLTPrefilterParameters.h.

181 {
182 m_cdcHitsMax = cdcHitsMax;
183 }

◆ setECLDigitsMax()

void setECLDigitsMax ( uint32_t eclDigitsMax)
inline

Set the maximum threshold of CDCHits for an event.

Parameters
[in]eclDigitsMaxfor an event.

Definition at line 189 of file HLTPrefilterParameters.h.

190 {
191 m_eclDigitsMax = eclDigitsMax;
192 }

◆ 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 171 of file HLTPrefilterParameters.h.

172 {
173 m_HERtimeInBeamCycleMax = HERtimeInBeamCycleMax;
174 }

◆ 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 162 of file HLTPrefilterParameters.h.

163 {
164 m_HERtimeInBeamCycleMin = HERtimeInBeamCycleMin;
165 }

◆ 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 134 of file HLTPrefilterParameters.h.

135 {
136 m_HERtimeSinceLastInjectionMax = HERtimeSinceLastInjectionMax;
137 }

◆ 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 125 of file HLTPrefilterParameters.h.

126 {
127 m_HERtimeSinceLastInjectionMin = HERtimeSinceLastInjectionMin;
128 }

◆ setHLTPrefilterPrescale()

void setHLTPrefilterPrescale ( unsigned int HLTPrefilterPrescale)
inline

Set the prescale for HLTPrefilter result.

Parameters
[in]HLTPrefilterPrescale

Definition at line 207 of file HLTPrefilterParameters.h.

208 {
209 m_HLTPrefilterPrescale = HLTPrefilterPrescale;
210 }

◆ setHLTPrefilterState()

void setHLTPrefilterState ( unsigned short State)
inline

Set the HLTPrefilter state.

Parameters
[in]State

Definition at line 198 of file HLTPrefilterParameters.h.

199 {
200 m_HLTPrefilterState = static_cast<HLTPrefilterState>(State);
201 }

◆ 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 153 of file HLTPrefilterParameters.h.

154 {
155 m_LERtimeInBeamCycleMax = LERtimeInBeamCycleMax;
156 }

◆ 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 144 of file HLTPrefilterParameters.h.

145 {
146 m_LERtimeInBeamCycleMin = LERtimeInBeamCycleMin;
147 }

◆ 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 116 of file HLTPrefilterParameters.h.

117 {
118 m_LERtimeSinceLastInjectionMax = LERtimeSinceLastInjectionMax;
119 }

◆ 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 107 of file HLTPrefilterParameters.h.

108 {
109 m_LERtimeSinceLastInjectionMin = LERtimeSinceLastInjectionMin;
110 }

Member Data Documentation

◆ m_cdcHitsMax

uint32_t m_cdcHitsMax
private

Maximum threshold of CDCHits.

Definition at line 345 of file HLTPrefilterParameters.h.

◆ m_eclDigitsMax

uint32_t m_eclDigitsMax
private

Maximum threshold of ECLDigits.

Definition at line 349 of file HLTPrefilterParameters.h.

◆ m_HERtimeInBeamCycleMax

double m_HERtimeInBeamCycleMax
private

Maximum threshold of timeInBeamCycle for HER injection.

Definition at line 341 of file HLTPrefilterParameters.h.

◆ m_HERtimeInBeamCycleMin

double m_HERtimeInBeamCycleMin
private

Minimum threshold of timeInBeamCycle for HER injection.

Definition at line 337 of file HLTPrefilterParameters.h.

◆ m_HERtimeSinceLastInjectionMax

double m_HERtimeSinceLastInjectionMax
private

Maximum threshold of timeSinceLastInjection for HER injection.

Definition at line 325 of file HLTPrefilterParameters.h.

◆ m_HERtimeSinceLastInjectionMin

double m_HERtimeSinceLastInjectionMin
private

Minimum threshold of timeSinceLastInjection for HER injection.

Definition at line 321 of file HLTPrefilterParameters.h.

◆ m_HLTPrefilterPrescale

unsigned int m_HLTPrefilterPrescale
private

HLTPrefilter prescale.

Definition at line 359 of file HLTPrefilterParameters.h.

◆ m_HLTPrefilterState

HLTPrefilterState m_HLTPrefilterState
private

HLTPrefilter State.

Definition at line 354 of file HLTPrefilterParameters.h.

◆ m_LERtimeInBeamCycleMax

double m_LERtimeInBeamCycleMax
private

Maximum threshold of timeInBeamCycle for LER injection.

Definition at line 333 of file HLTPrefilterParameters.h.

◆ m_LERtimeInBeamCycleMin

double m_LERtimeInBeamCycleMin
private

Minimum threshold of timeInBeamCycle for LER injection.

Definition at line 329 of file HLTPrefilterParameters.h.

◆ m_LERtimeSinceLastInjectionMax

double m_LERtimeSinceLastInjectionMax
private

Maximum threshold of timeSinceLastInjection for LER injection.

Definition at line 317 of file HLTPrefilterParameters.h.

◆ m_LERtimeSinceLastInjectionMin

double m_LERtimeSinceLastInjectionMin
private

Minimum threshold of timeSinceLastInjection for LER injection.

Definition at line 313 of file HLTPrefilterParameters.h.


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