00001 
00002 
00003 
00012 #ifndef ATHLINKS_TOOLS_SELECTION_NS
00013 #define ATHLINKS_TOOLS_SELECTION_NS
00014 
00015 
00016 #include "RVersion.h"
00017 
00018 
00019 #if ROOT_VERSION_CODE < ROOT_VERSION( 5, 99, 00 )
00020 #   include <Reflex/Builder/DictSelection.h>
00021 #else
00022 #   include <RootMetaSelection.h>
00023 #endif // ROOT 5
00024 
00025 #if ROOT_VERSION_CODE < ROOT_VERSION( 5, 19, 0 )
00026 
00027 
00028 
00029 
00030 
00031 #ifndef ROOT_SELECTION_NS
00032 #   define ROOT_SELECTION_NS ROOT::Reflex::Selection
00033 #endif
00034 
00035 #ifndef ENTER_ROOT_SELECTION_NS
00036 #   define ENTER_ROOT_SELECTION_NS                             \
00037    namespace ROOT { namespace Reflex { namespace Selection {
00038 #endif
00039 
00040 #ifndef EXIT_ROOT_SELECTION_NS
00041 #   define EXIT_ROOT_SELECTION_NS }}}
00042 #endif
00043 
00044 #elif ROOT_VERSION_CODE < ROOT_VERSION( 5, 99, 0 )
00045 
00046 
00047 
00048 
00049 
00050 #ifndef ROOT_SELECTION_NS
00051 #   define ROOT_SELECTION_NS Reflex::Selection
00052 #endif
00053 
00054 #ifndef ENTER_ROOT_SELECTION_NS
00055 #   define ENTER_ROOT_SELECTION_NS              \
00056    namespace Reflex { namespace Selection {
00057 #endif
00058 
00059 #ifndef EXIT_ROOT_SELECTION_NS
00060 #   define EXIT_ROOT_SELECTION_NS }}
00061 #endif
00062 
00063 #else
00064 
00065 
00066 
00067 
00068 
00069 #ifndef ROOT_SELECTION_NS
00070 #   define ROOT_SELECTION_NS ROOT::Meta::Selection
00071 #endif
00072 
00073 #ifndef ENTER_ROOT_SELECTION_NS
00074 #   define ENTER_ROOT_SELECTION_NS                          \
00075    namespace ROOT { namespace Meta { namespace Selection {
00076 #endif
00077 
00078 #ifndef EXIT_ROOT_SELECTION_NS
00079 #   define EXIT_ROOT_SELECTION_NS }}}
00080 #endif
00081 
00082 #endif // ROOT_VERSION
00083 
00084 #endif // not ATHLINKS_TOOLS_SELECTION_NS