Changeset 8907 for trunk/MagicSoft/Mars/mdata
- Timestamp:
- 06/02/08 09:52:26 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mdata
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdata/MDataChain.cc
r7784 r8907 168 168 #include <stdlib.h> // strtod, ... 169 169 170 #include <TMath.h> 171 #include <TClass.h> 170 172 #include <TRegexp.h> 171 173 #include <TRandom.h> -
trunk/MagicSoft/Mars/mdata/MDataList.cc
r8073 r8907 31 31 #include "MDataList.h" 32 32 33 #include <math.h> 34 33 35 #include "MLog.h" 34 36 #include "MLogManip.h" -
trunk/MagicSoft/Mars/mdata/MDataPhrase.cc
r8719 r8907 18 18 ! Author(s): Thomas Bretz, 04/2004 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 620 ! Copyright: MAGIC Software Development, 2000-2008 21 21 ! 22 22 ! … … 111 111 #include "MDataPhrase.h" 112 112 113 #include <TMath.h> 113 114 #include <TArrayI.h> 114 115 #include <TPRegexp.h> … … 677 678 } 678 679 680 // -------------------------------------------------------------------------- 681 // 682 // Return the value converted to a Bool_t 683 // 684 Bool_t MDataPhrase::GetBool() const 685 { 686 return TMath::Nint(GetValue())!=0; 687 } 688 679 689 /* 680 690 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mdata/MDataPhrase.h
r8704 r8907 16 16 class TFormula; 17 17 class MParList; 18 19 18 20 19 class MDataPhrase : public MData … … 60 59 61 60 // MDataPhrase 62 Bool_t GetBool() const { return TMath::Nint(GetValue())!=0; }61 Bool_t GetBool() const; 63 62 Bool_t SetRule(const TString &phrase); 64 63
Note:
See TracChangeset
for help on using the changeset viewer.