Skip to content
Snippets Groups Projects
Commit f7f1af11 authored by adrien-matta's avatar adrien-matta
Browse files

Merge branch 'NPTool.2.dev' of https://github.com/adrien-matta/nptool into NPTool.2.dev

parents 4926a859 ddf87570
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${root_cflags}") ...@@ -38,7 +38,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${root_cflags}")
# If the compiler is Clang, silence the unrecognised flags # If the compiler is Clang, silence the unrecognised flags
if(${CMAKE_CXX_COMPILER_ID} MATCHES ".*Clang.*") if(${CMAKE_CXX_COMPILER_ID} MATCHES ".*Clang.*")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Qunused-arguments -fcolor-diagnostics") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Qunused-arguments -Wno-undefined-bool-conversion -fcolor-diagnostics")
endif() endif()
set(CMAKE_BINARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin ) set(CMAKE_BINARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
......
...@@ -30,8 +30,6 @@ namespace NPL{ ...@@ -30,8 +30,6 @@ namespace NPL{
// Return distance to pedestal. Use energies in Energies to perform fit and fill coeff with the results // Return distance to pedestal. Use energies in Energies to perform fit and fill coeff with the results
double FitPoints(TGraphErrors* Graph, double* Energies , double* ErrEnergies, vector<double>& coeff , double pedestal = 0 ); double FitPoints(TGraphErrors* Graph, double* Energies , double* ErrEnergies, vector<double>& coeff , double pedestal = 0 );
// return a canvas containning the results
void DisplayResults();
// //
TGraphErrors* FitSpectrum(TH1* histo); TGraphErrors* FitSpectrum(TH1* histo);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment