From 3e6ed1483ae1ce602d6daf0331510725d5e10b6e Mon Sep 17 00:00:00 2001 From: adrien matta <matta@lpccaen.in2p3.fr> Date: Mon, 21 Jun 2021 10:13:05 +0200 Subject: [PATCH] * Adding gamma_test macro --- Projects/S034/Analysis.cxx | 3 +++ Projects/S034/script/gamma_test.sh | 5 +++++ 2 files changed, 8 insertions(+) create mode 100755 Projects/S034/script/gamma_test.sh diff --git a/Projects/S034/Analysis.cxx b/Projects/S034/Analysis.cxx index 694a27dc3..b3ab208c7 100644 --- a/Projects/S034/Analysis.cxx +++ b/Projects/S034/Analysis.cxx @@ -48,6 +48,9 @@ void Analysis::Init(){ FDC2 = (TSamuraiFDC2Physics*) m_DetectorManager->GetDetector("SAMURAIFDC2"); Hodo = (TSamuraiHodoscopePhysics*) m_DetectorManager->GetDetector("SAMURAIHOD"); + Nebula->SetQThreshold(0); + Nebula->SetVThreshold(0); + FragmentTarget = NPL::EnergyLoss("He6_LH2.G4table","G4Table",1000 ); m_field.LoadMap(30*deg,"field_map/180702-2,40T-3000.table.bin",10); m_field.SetFDC2Angle((59.930-90.0)*deg); diff --git a/Projects/S034/script/gamma_test.sh b/Projects/S034/script/gamma_test.sh new file mode 100755 index 000000000..dd2372816 --- /dev/null +++ b/Projects/S034/script/gamma_test.sh @@ -0,0 +1,5 @@ +#!/bin/bash +for i in {418..441} +do + npanalysis -D s034.detector -C calibration.txt -T root/mrdc/gamma/run$i.root RawTree -O gamma/test_run$i +done -- GitLab