RivetBoost.hh
Go to the documentation of this file.
00001 #ifndef RIVET_RIVETBOOST_HH 00002 #define RIVET_RIVETBOOST_HH 00003 00004 #include "boost/smart_ptr.hpp" 00005 #include "boost/lexical_cast.hpp" 00006 #include "boost/assign.hpp" 00007 00008 #include "boost/foreach.hpp" 00009 #define foreach BOOST_FOREACH 00010 00011 //#include <boost/random.hpp> 00012 #include <boost/algorithm/string.hpp> 00013 00014 namespace Rivet { 00015 00016 00017 // Smart pointers 00018 using boost::shared_ptr; 00019 00020 // Clever casts 00021 using boost::lexical_cast; 00022 using boost::bad_lexical_cast; 00023 00024 // Clever assignment shortcuts 00025 using namespace boost::assign; 00026 00027 // Strings 00028 using namespace boost; 00029 00030 // Random numbers 00031 // typedef boost::minstd_rand RngBase; 00032 // typedef boost::uniform_real<> UniformRealDist; 00033 // typedef boost::variate_generator<RngBase&, UniformRealDist> UniformRealRNG; 00034 // typedef boost::uniform_int<> UniformIntDist; 00035 // typedef boost::variate_generator<RngBase&, UniformIntDist> UniformIntRNG; 00036 00037 00038 } 00039 00040 #endif Generated on Fri Dec 21 2012 15:03:42 for The Rivet MC analysis system by ![]() |