BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
CriteriaItemValue Class Reference

#include <CriteriaItemValue.h>

Public Member Functions

 CriteriaItemValue ()
 
virtual ~CriteriaItemValue ()
 
void reset ()
 
void setValue (float value)
 
bool getValue (float &value) const
 

Detailed Description

Definition at line 4 of file CriteriaItemValue.h.

Constructor & Destructor Documentation

◆ CriteriaItemValue()

CriteriaItemValue::CriteriaItemValue ( )

Definition at line 3 of file CriteriaItemValue.cxx.

4 : m_stat(false) {}

◆ ~CriteriaItemValue()

CriteriaItemValue::~CriteriaItemValue ( )
virtual

Definition at line 6 of file CriteriaItemValue.cxx.

6{}

Member Function Documentation

◆ getValue()

bool CriteriaItemValue::getValue ( float &  value) const
inline

Definition at line 18 of file CriteriaItemValue.h.

18 {
19 if (m_stat) value = m_value;
20 return m_stat;
21 }

Referenced by CheckEFResult::execute(), EFSectorHits::execute(), and HltProcessor::HltCriteria::satisfyCriteria().

◆ reset()

void CriteriaItemValue::reset ( )
inline

◆ setValue()

void CriteriaItemValue::setValue ( float  value)
inline

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