#ifndef AANET_INCLUDEDHH #define AANET_INCLUDEDHH // There is a conflict between geant4/clhep and aanet in the constants // pi and c_light. We Want to make sure the g4 values are used, so we // include the AANET stuff like this: #define c_light xaanet_c_light #define pi xaanet_pi #define deg xaanet_deg #include "xconstants.hh" #include "Evt.hh" #include "Det.hh" #include "Mat.hh" #include "JsonDumper.hh" #include "rootutil.hh" #undef pi #undef c_light #undef deg // include the offending clhep file to make so that errors will // be generated if someone tries to include the aanet values // later on. ...But not when making dictiononary, since rootcint // can not handle it for some reason... //#ifndef __CINT__ //#include "CLHEP/Units/PhysicalConstants.h" //#endif #endif