From cda9682c6ffb7aa4d264f571c1ee9f339c535227 Mon Sep 17 00:00:00 2001
From: Morfouace <pierre.morfouace@gmail.com>
Date: Sun, 15 Nov 2020 22:04:57 +0100
Subject: [PATCH] * updating sofia project

---
 Inputs/CrossSection/sofia.txt         | 24 ++++++++++++------------
 Inputs/EventGenerator/sofia.reaction  |  4 ++--
 NPSimulation/Detectors/Sofia/Sofia.cc |  2 +-
 Projects/Sofia/PhysicsListOption.txt  |  2 +-
 Projects/Sofia/sofia.detector         | 12 ++++--------
 5 files changed, 20 insertions(+), 24 deletions(-)

diff --git a/Inputs/CrossSection/sofia.txt b/Inputs/CrossSection/sofia.txt
index 80814500b..f746adbf9 100644
--- a/Inputs/CrossSection/sofia.txt
+++ b/Inputs/CrossSection/sofia.txt
@@ -39,15 +39,15 @@
 3.8	1
 3.9	1
 4	1
-4.1	1
-4.2	1
-4.3	1
-4.4	1
-4.5	1
-4.6	1
-4.7	1
-4.8	1
-4.9	1
-5.0 1
-5.1 0
-180 0
+4.1	0
+4.2	0
+4.3	0
+4.4	0
+4.5	0
+4.6	0
+4.7	0
+4.8	0
+4.9	0
+5	0
+5.1	0
+180	0
diff --git a/Inputs/EventGenerator/sofia.reaction b/Inputs/EventGenerator/sofia.reaction
index 38b111f6a..c7c54e908 100644
--- a/Inputs/EventGenerator/sofia.reaction
+++ b/Inputs/EventGenerator/sofia.reaction
@@ -4,8 +4,8 @@
 %%Beam energy given in MeV ; Excitation in MeV ; emmitance in rad
 Beam
  Particle= 238U
- Energy= 166600
- SigmaEnergy= 1e-5
+ Energy= 166000
+ SigmaEnergy= 2
  SigmaX= 1 cm
  SigmaY= 1 cm
  SigmaThetaX= 0 
diff --git a/NPSimulation/Detectors/Sofia/Sofia.cc b/NPSimulation/Detectors/Sofia/Sofia.cc
index d1de47497..d727204f7 100644
--- a/NPSimulation/Detectors/Sofia/Sofia.cc
+++ b/NPSimulation/Detectors/Sofia/Sofia.cc
@@ -63,7 +63,7 @@ namespace Sofia_NS{
   const double EnergyThreshold       = 0.1*MeV;
   const double ResoTime              = 0.007*ns;
   const double ResoEnergy            = 1.0*MeV;
-  const double tof_plastic_height    = 600*mm;
+  const double tof_plastic_height    = 660*mm;
   const double tof_plastic_width     = 32*mm;
   const double tof_plastic_thickness = 0.5*mm;
   const string Material              = "BC400";
diff --git a/Projects/Sofia/PhysicsListOption.txt b/Projects/Sofia/PhysicsListOption.txt
index dd27df16d..997b53714 100644
--- a/Projects/Sofia/PhysicsListOption.txt
+++ b/Projects/Sofia/PhysicsListOption.txt
@@ -1,5 +1,5 @@
 EmPhysicsList Option4
-DefaultCutOff 1000
+DefaultCutOff 100
 IonBinaryCascadePhysics 0
 NPIonInelasticPhysics 0
 EmExtraPhysics 0
diff --git a/Projects/Sofia/sofia.detector b/Projects/Sofia/sofia.detector
index 9e6eaa4d6..269ef8b5b 100644
--- a/Projects/Sofia/sofia.detector
+++ b/Projects/Sofia/sofia.detector
@@ -1,23 +1,19 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 Target
- THICKNESS= 10 micrometer
- RADIUS=	1 mm
- MATERIAL= CD2
+ THICKNESS= 2 mm
+ RADIUS=	40 mm
+ MATERIAL= Pb
  ANGLE= 0 deg
  X= 0 mm
  Y= 0 mm
  Z= 0 m
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%Sofia
-% POS= 0 0 350 mm
-% Shape= Square
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 Sofia
  R= 8 m
  THETA= -9 deg
  PHI= 0 deg
  Build_GLAD= 1
  GLAD_DistanceFromTarget= 3.5 m
- GLAD_MagField= 1.9 T 
+ GLAD_MagField= 1.4 T 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-- 
GitLab