00001
00002
00003
00004
00005
00006
00008 #ifndef ANTPDEFAULTVALUE_H
00009 #define ANTPDEFAULTVALUE_H
00010
00011
00012 #ifndef ROOT_Rtypes
00013 #if !defined(__CINT__) || defined(__MAKECINT__)
00014 #include "Rtypes.h"
00015 #endif
00016 #endif
00017
00018 #include "TObject.h"
00019 #include "TMath.h"
00020
00021 namespace ANtpDefaultValue
00022 {
00023 Bool_t IsDefault(Float_t intval);
00024 Bool_t IsDefault(Int_t intval);
00025 Bool_t IsDefault(UInt_t intval);
00026 Bool_t IsDefault(Double_t intval);
00027 Bool_t IsDefault(Bool_t intval);
00028
00029 static const Float_t kFloat = -9999.99;
00030 static const Int_t kInt = -9999;
00031 static const UInt_t kUInt = 9999;
00032 static const Double_t kDouble = -9999.99;
00033 static const Bool_t kBool = false;
00034 }
00035
00036 namespace ANtpDefVal = ANtpDefaultValue;
00037
00038 #endif