Skip to content
Snippets Groups Projects
Commit 374f4ce6 authored by flavigny's avatar flavigny
Browse files

* Update some script macro for Strasse benchmark tests

parent fa6bcf96
No related branches found
No related tags found
Loading
TTreeName
SimulatedTree
RootFileName
./root/simulation/configlast.root
npanalysis -E ./reaction/17Fp2p.reaction -D ./geometry/strasse_July2021.detector -R RunToTreat.txt -O configJuly2021_ana.root npanalysis -E ./reaction/12C_p2p_perfect.reaction -D ./geometry/strasse_last.detector -R RunToTreat.txt -O configlast_ana.root
{ {
gStyle->SetPalette(1); gStyle->SetPalette(1);
// TFile *file= new TFile("../../Outputs/Analysis/PhysicsTree.root"); // TFile *file= new TFile("../../Outputs/Analysis/PhysicsTree.root");
// TFile *file= new TFile("../../Outputs/Analysis/configJuly2021_ana_1MeV_perfect_Decay.root");
// TFile* file = new TFile("../../Outputs/Analysis/configJuly2021_ana_1MeV.root");
// TFile* file = new TFile("../../Outputs/Analysis/configJune2022_ana_0MeV_real_100MeVc_50um.root");
// TFile* file = new TFile("../../Outputs/Analysis/configJune2022_ana_0MeV_real_100MeVc_I200um_O300um.root");
// TFile* file = new TFile("../../Outputs/Analysis/configJune2022_ana_0MeV_real_100MeVc_I200um_O300um_newtar.root");
TFile* file = new TFile("../../Outputs/Analysis/test_newtar_ana.root");
// TFile* file = new TFile("../../Outputs/Analysis/test_oldtar_ana.root");
TTree* tree = (TTree*)file->Get("PhysicsTree"); TTree* tree = (TTree*)gDirectory->Get("PhysicsTree");
TCanvas* c1 = new TCanvas("c1", "c1", 1000, 1000); TCanvas* c1 = new TCanvas("c1", "c1", 1000, 1000);
c1->Divide(3, 4); c1->Divide(3, 4);
......
{ {
gStyle->SetPalette(1); gStyle->SetPalette(1);
// TFile *file= new TFile("../../Outputs/Simulation/SimulatedTree.root"); // TFile *file= new TFile("../../Outputs/Simulation/SimulatedTree.root");
// TFile *file= new TFile("../../Outputs/Simulation/configJuly2021_1MeV.root");
// TFile* file = new TFile("../../Outputs/Simulation/configJune2022_0MeV_real_100MeVc_50um.root");
/// TFile* file = new TFile("../../Outputs/Simulation/configJune2022_0MeV_real_100MeVc_I200um_O300um.root");
// TFile* file = new TFile("../../Outputs/Simulation/configJune2022_0MeV_real_100MeVc_Ip50um_Op50um.root");
// TFile* file = new TFile("../../Outputs/Simulation/configJune2022_partial_0MeV_pencil_100MeVc_I200um_O300um.root");
// TFile* file = new TFile("../../Outputs/Simulation/configJune2022_0MeV_pencil.root");
// TFile* file = new TFile("../../Outputs/Simulation/configJune2022_50MeV_pencil.root");
// TFile* file = new TFile("../../Outputs/Simulation/configJune2022_100MeV_pencil.root");
//
// TFile* file = new TFile("../../Outputs/Simulation/test_newtar.root");
// TFile* file = new TFile("../../Outputs/Simulation/test_oldtar.root");
// TTree* tree = (TTree*)file->Get("SimulatedTree");
TTree* tree = (TTree*)gDirectory->Get("SimulatedTree"); TTree* tree = (TTree*)gDirectory->Get("SimulatedTree");
TCanvas* c1 = new TCanvas("c1", "c1", 1000, 1000); TCanvas* c1 = new TCanvas("c1", "c1", 1000, 1000);
......
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Beam Beam
Particle= 12C Particle= 12C
Energy= 3200 MeV Energy= 4400 MeV
SigmaEnergy= 0 MeV SigmaEnergy= 0 MeV
SigmaThetaX= 0.1 deg SigmaThetaX= 0 deg
SigmaPhiY= 0.1 deg SigmaPhiY= 0 deg
SigmaX= 5 mm SigmaX= 0 mm
SigmaY= 5 mm SigmaY= 0 mm
MeanThetaX= 0 deg MeanThetaX= 0 deg
MeanPhiY= 0 deg MeanPhiY= 0 deg
MeanX= 0 mm MeanX= 0 mm
MeanY= 0 mm MeanY= 0 mm
ZEmission= 0mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
QFSReaction QFSReaction
Beam= 12C Beam= 12C
...@@ -20,9 +19,10 @@ QFSReaction ...@@ -20,9 +19,10 @@ QFSReaction
KnockedOut= 1H KnockedOut= 1H
Heavy= 11B Heavy= 11B
ExcitationEnergyBeam= 0.0 MeV ExcitationEnergyBeam= 0.0 MeV
ExcitationEnergyHeavy= 1.0 MeV ExcitationEnergyHeavy= 0.0 MeV
MomentumSigma= 50.0 MomentumSigma= 0.0
ShootHeavy= 1 ShootHeavy= 1
ShootLight= 1 ShootLight1= 1
ShootLight2= 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/run/beamOn 50000
npsimulation -E ./reaction/17Fp2p.reaction -D ./geometry/strasse_July2021.detector -O configJuly2021.root -B run.mac npsimulation -E ./reaction/12C_p2p_perfect.reaction -D ./geometry/strasse_last.detector -O configlast.root -B run.mac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment