adding a branch for ROOT 6.x. This needs some minor adaptations due to the new rootcint/rootclang and the stricter c++11.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
## $Id$
|
||||
|
||||
h_sources = MuSR_td_PSI_bin.h
|
||||
cpp_sources = MuSR_td_PSI_bin.cpp
|
||||
|
||||
@@ -205,7 +205,7 @@ typedef long int Int32;
|
||||
#else /* other operating system */
|
||||
|
||||
/* 32 bit word length */
|
||||
#if (defined(_WIN32) || defined(__linux__) || defined(_WIN32GCC))
|
||||
#if (defined(_WIN32) || defined(__linux__) || defined(_Darwin_) || defined(_WIN32GCC))
|
||||
typedef short Int16;
|
||||
typedef int Int32;
|
||||
#else
|
||||
|
||||
@@ -57,8 +57,8 @@ class PPhotoMeissner : public PUserFcnBase
|
||||
|
||||
Bool_t fValid; ///< flag indicating if initialization went through smoothly
|
||||
|
||||
static const Double_t fDegToRad = 0.0174532925199432955;
|
||||
static const Double_t fTwoPi = 6.28318530717958623;
|
||||
constexpr static const Double_t fDegToRad = 0.0174532925199432955;
|
||||
constexpr static const Double_t fTwoPi = 6.28318530717958623;
|
||||
|
||||
Double_t InuMinus(const Double_t nu, const Double_t x) const;
|
||||
Double_t FieldFilm(const Double_t z, const vector<Double_t> &par) const;
|
||||
|
||||
@@ -59,8 +59,8 @@ class PSkewedLorentzian : public PUserFcnBase
|
||||
UInt_t fNoOfFields; ///< number of sampling points in field around the Lorentzian peak
|
||||
Double_t fRange; ///< range in which the sampling points are placed, given in units of \beta(1\pm\Delta)
|
||||
|
||||
static const Double_t fDegToRad = 0.0174532925199432955;
|
||||
static const Double_t fTwoPi = 6.28318530717958623;
|
||||
constexpr static const Double_t fDegToRad = 0.0174532925199432955;
|
||||
constexpr static const Double_t fTwoPi = 6.28318530717958623;
|
||||
|
||||
// definition of the class for the ROOT dictionary
|
||||
ClassDef(PSkewedLorentzian, 1)
|
||||
|
||||
Reference in New Issue
Block a user