diff --git a/Benchmarks/gaspard/ShowResults.C b/Benchmarks/gaspard/ShowResults.C index 78d970325d6cee73e8184770a9b832cd6f7fcc17..9735b282e1dc9b163f45a6873011ee99d102cbfd 100644 --- a/Benchmarks/gaspard/ShowResults.C +++ b/Benchmarks/gaspard/ShowResults.C @@ -43,7 +43,7 @@ TCanvas* canvas1 ; TCanvas* canvas2 ; -void ControlSimu(const char * fname = "benchmark_gaspard"){ +void ShowResults(const char * fname = "benchmark_gaspard"){ // for the style gROOT->SetStyle("nptool"); gROOT->ForceStyle(false); diff --git a/NPLib/Physics/CMakeLists.txt b/NPLib/Physics/CMakeLists.txt index 14e342a01729c4a629b133cbf399a858ad4c016c..3d19e9ec7eee031b706cfd7f72eebca2076742e0 100644 --- a/NPLib/Physics/CMakeLists.txt +++ b/NPLib/Physics/CMakeLists.txt @@ -1,7 +1,7 @@ add_custom_command(OUTPUT NPReactionDict.cxx COMMAND ../scripts/build_dict.sh NPReaction.h NPReactionDict.cxx NPReaction.rootmap libNPPhysics.so NPPhysicsLinkDef.h DEPENDS NPReaction.h) add_custom_command(OUTPUT NPEnergyLossDict.cxx COMMAND ../scripts/build_dict.sh NPEnergyLoss.h NPEnergyLossDict.cxx NPEnergyLoss.rootmap libNPPhysics.so NPPhysicsLinkDef.h DEPENDS NPEnergyLoss.h) -add_custom_command(OUTPUT TInitialConditionsDict.cxx COMMAND ../scripts/build_dict.sh TInitialConditions.h TInitialConditionsDict.cxx TInitialConditions.rootmap libNPPhysics.so DEPENDS TInitialConditions.h) -add_custom_command(OUTPUT TInteractionCoordinatesDict.cxx COMMAND ../scripts/build_dict.sh TInteractionCoordinates.h TInteractionCoordinatesDict.cxx TInteractionCoordinates.rootmap libNPPhysics.so DEPENDS TInteractionCoordinates.h) +add_custom_command(OUTPUT TInitialConditionsDict.cxx COMMAND ../scripts/build_dict.sh TInitialConditions.h TInitialConditionsDict.cxx TInitialConditions.rootmap libNPInitialConditions.so DEPENDS TInitialConditions.h) +add_custom_command(OUTPUT TInteractionCoordinatesDict.cxx COMMAND ../scripts/build_dict.sh TInteractionCoordinates.h TInteractionCoordinatesDict.cxx TInteractionCoordinates.rootmap libNPInteractionCoordinates.so DEPENDS TInteractionCoordinates.h) add_library(NPPhysics SHARED NPBeam.cxx NPEnergyLoss.cxx NPFunction.cxx NPNucleus.cxx NPReaction.cxx NPReactionDict.cxx NPEnergyLossDict.cxx ) target_link_libraries(NPPhysics ${ROOT_LIBRARIES} MathMore NPCore) diff --git a/Projects/Nana/NIM.cxx b/Projects/Nana/NIM.cxx index cc991ebabc870d1998575210444daf5e2499b7c5..f9a6190241f5b6fe476abde4e3524668e10b4380 100644 --- a/Projects/Nana/NIM.cxx +++ b/Projects/Nana/NIM.cxx @@ -1,5 +1,5 @@ void NIM(){ - TCanvas* c = new TCanvas("c","c",900,900); + TCanvas* c = new TCanvas("c","c",2*900,900); // TFile* fexp = new TFile("Nana_exp.root","READ"); @@ -40,10 +40,11 @@ void NIM(){ hexp->Draw(); hexp->GetXaxis()->SetTitle("LaBr3 Energy (keV)"); hexp->GetYaxis()->SetTitle("Counts per 4 keV"); + hexp->GetXaxis()->SetRangeUser(0,1600); hsim->Draw("same"); hbgd->SetFillColor(kRed); hbgd->SetLineColor(kRed); - hbgd->Draw("same"); +// hbgd->Draw("same"); // hexp_o->SetFillColor(kGreen); // hexp_o->SetLineColor(kGreen); //hexp_o->Draw("same");