Belle II Software development
CDCECLCutState Class Reference

Helper for CDCECLCut state. More...

#include <HLTPrefilter.h>

Public Member Functions

bool computeDecision ()
 

Public Attributes

uint32_t nCDCHitsMax = 0.0
 Define thresholds for variables.
 
uint32_t nECLDigitsMax = 0.0
 Maximum threshold for ECL Digits.
 
unsigned int prescale = 1000
 Prescale for accepting HLTPrefilter lines, by default we randomly accept 1 out of every 1000 events.
 

Private Attributes

StoreArray< CDCHitm_cdcHits
 CDChits StoreArray.
 
StoreArray< ECLDigitm_eclDigits
 ECLDigits StoreArray.
 

Detailed Description

Helper for CDCECLCut state.

Definition at line 99 of file HLTPrefilter.h.

Member Function Documentation

◆ computeDecision()

bool computeDecision ( )
inline

Get NCDCHits for the event

Get NECLDigits for the event

Definition at line 117 of file HLTPrefilter.h.

118 {
120 const uint32_t nCDCHits = m_cdcHits.isOptional() ? m_cdcHits.getEntries() : 0;
122 const uint32_t nECLDigits = m_eclDigits.isOptional() ? m_eclDigits.getEntries() : 0;
123
124 // Tag events having a large CDC and ECL occupancy with a prescale
125 return (nCDCHits > nCDCHitsMax && nECLDigits > nECLDigitsMax) && !SoftwareTrigger::makePreScale(prescale);
126 }

Member Data Documentation

◆ m_cdcHits

StoreArray<CDCHit> m_cdcHits
private

CDChits StoreArray.

Definition at line 103 of file HLTPrefilter.h.

◆ m_eclDigits

StoreArray<ECLDigit> m_eclDigits
private

ECLDigits StoreArray.

Definition at line 106 of file HLTPrefilter.h.

◆ nCDCHitsMax

uint32_t nCDCHitsMax = 0.0

Define thresholds for variables.

By default, no events are skipped based upon these requirements. Maximum threshold for CDC Hits

Definition at line 111 of file HLTPrefilter.h.

◆ nECLDigitsMax

uint32_t nECLDigitsMax = 0.0

Maximum threshold for ECL Digits.

Definition at line 113 of file HLTPrefilter.h.

◆ prescale

unsigned int prescale = 1000

Prescale for accepting HLTPrefilter lines, by default we randomly accept 1 out of every 1000 events.

Definition at line 115 of file HLTPrefilter.h.


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