BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
CriteriaItemValue.h
Go to the documentation of this file.
1
#ifndef CRITERIA_ITEM_VALUE_H
2
#define CRITERIA_ITEM_VALUE_H
3
4
class
CriteriaItemValue
{
5
public
:
6
// Standard constructor and destructor
7
CriteriaItemValue
();
8
virtual
~CriteriaItemValue
();
9
10
// Reset CriteriaItemValue status
11
void
reset
() { m_stat =
false
; }
12
// Set the value available
13
void
setValue
(
float
value) {
14
m_value = value;
15
m_stat =
true
;
16
}
17
// Retrieve the value
18
bool
getValue
(
float
& value)
const
{
19
if
(m_stat) value = m_value;
20
return
m_stat;
21
}
22
23
private
:
24
float
m_value;
25
bool
m_stat;
26
};
27
#endif
CriteriaItemValue
Definition:
CriteriaItemValue.h:4
CriteriaItemValue::CriteriaItemValue
CriteriaItemValue()
Definition:
CriteriaItemValue.cxx:3
CriteriaItemValue::setValue
void setValue(float value)
Definition:
CriteriaItemValue.h:13
CriteriaItemValue::reset
void reset()
Definition:
CriteriaItemValue.h:11
CriteriaItemValue::getValue
bool getValue(float &value) const
Definition:
CriteriaItemValue.h:18
CriteriaItemValue::~CriteriaItemValue
virtual ~CriteriaItemValue()
Definition:
CriteriaItemValue.cxx:6
source
EventFilter
HltUtilities
HltDataTypes
HltDataTypes-01-01-03
HltDataTypes
CriteriaItemValue.h
Generated by
1.9.6