Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
+24
View File
@@ -0,0 +1,24 @@
// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.
#ifndef tools_mnmx
#define tools_mnmx
namespace tools {
template <class T>
inline T mn(const T& a,const T& b) {return (a<b?a:b);}
template <class T>
inline T mx(const T& a,const T& b) {return (a>b?a:b);}
// long name :
template <class T>
inline T min_of(const T& a,const T& b) {return (a<b?a:b);}
template <class T>
inline T max_of(const T& a,const T& b) {return (a>b?a:b);}
}
#endif