/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/EventFilter/HltUtilities/HltDataTypes/HltDataTypes-01-01-03/HltDataTypes/CriteriaItemValue.h

Go to the documentation of this file.
00001 #ifndef CRITERIA_ITEM_VALUE_H
00002 #define CRITERIA_ITEM_VALUE_H
00003 
00004 class CriteriaItemValue {
00005   public:
00006     // Standard constructor and destructor
00007     CriteriaItemValue();
00008     virtual ~CriteriaItemValue();
00009 
00010     // Reset CriteriaItemValue status
00011     void reset() { m_stat = false; }
00012     // Set the value available
00013     void setValue(float value) {
00014       m_value = value;
00015       m_stat  = true;
00016     }
00017     // Retrieve the value
00018     bool getValue(float& value) const {
00019       if (m_stat) value = m_value;
00020       return m_stat;
00021     }
00022 
00023   private:
00024     float m_value;
00025     bool  m_stat;
00026 };
00027 #endif

Generated on Tue Nov 29 23:12:07 2016 for BOSS_7.0.2 by  doxygen 1.4.7