Ignore:
Timestamp:
06/02/08 09:52:26 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mdata/MDataPhrase.cc

    r8719 r8907  
    1818!   Author(s): Thomas Bretz, 04/2004 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2006
     20!   Copyright: MAGIC Software Development, 2000-2008
    2121!
    2222!
     
    111111#include "MDataPhrase.h"
    112112
     113#include <TMath.h>
    113114#include <TArrayI.h>
    114115#include <TPRegexp.h>
     
    677678}
    678679
     680// --------------------------------------------------------------------------
     681//
     682// Return the value converted to a Bool_t
     683//
     684Bool_t MDataPhrase::GetBool() const
     685{
     686    return TMath::Nint(GetValue())!=0;
     687}
     688
    679689/*
    680690// --------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.