Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
np
nptool
Commits
ac10b293
Commit
ac10b293
authored
1 year ago
by
GIRARD ALCINDOR Valérian
Browse files
Options
Downloads
Patches
Plain Diff
Updating e870
parent
bbcaa4f7
No related branches found
No related tags found
1 merge request
!27
Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Pipeline
#284695
passed
1 year ago
Stage: build-NPLib
Stage: build-NPSimulation
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Projects/e870/macros/DrawELab10Be.cxx
+15
-13
15 additions, 13 deletions
Projects/e870/macros/DrawELab10Be.cxx
Projects/e870/reaction/10Bepalpha.reaction
+14
-5
14 additions, 5 deletions
Projects/e870/reaction/10Bepalpha.reaction
with
29 additions
and
18 deletions
Projects/e870/macros/DrawELab10Be.cxx
+
15
−
13
View file @
ac10b293
void
DrawELab10Be
()
{
TCanvas
*
c1
=
new
TCanvas
;
TCanvas
*
c1
=
new
TCanvas
;
c1
->
cd
();
TFile
*
f3
=
new
TFile
(
"/Users/valerian/Software/nptool_gitlab/nptool/Outputs/Analysis/AnaMugastAtLise10Bepalpha.root"
);
TFile
*
f3
=
new
TFile
(
"/Users/valerian/Software/nptool_gitlab/nptool/Outputs/Analysis/test.root"
);
//
new TFile("/Users/valerian/Software/nptool_gitlab/nptool/Outputs/Analysis/AnaMugastAtLise10Bepalpha.root");
TTree
*
t3
=
(
TTree
*
)
f3
->
FindObjectAny
(
"PhysicsTree"
);
t3
->
Draw
(
"ELab:ThetaLab>>hET10Bepalpha(1000,0,50,1000,0,500)"
,
"CsI_E>0"
,
""
);
TH2F
*
hBe1
=
(
TH2F
*
)
gDirectory
->
FindObject
(
"hET10Bepalpha"
);
TH2F
*
hBe1
=
(
TH2F
*
)
gDirectory
->
FindObject
(
"hET10Bepalpha"
);
hBe1
->
SetMarkerStyle
(
1
);
hBe1
->
SetMarkerColor
(
kRed
);
hBe1
->
Draw
();
NPL
::
Reaction
r3
(
"10Be(p,4He)7Li@360MeV"
);
r3
.
GetKinematicLine3
()
->
Draw
(
"same"
);
r3
.
GetKinematicLine4
()
->
Draw
(
"same"
);
TFile
*
fa
=
new
TFile
(
"ha.root"
,
"open"
);
TH2F
*
ha
=
(
TH2F
*
)
fa
->
FindObjectAny
(
"h"
);
ha
->
SetMarkerColor
(
kBlack
);
TFile
*
fli
=
new
TFile
(
"hli.root"
,
"open"
);
TH2F
*
hli
=
(
TH2F
*
)
fli
->
FindObjectAny
(
"h2"
);
hli
->
SetMarkerColor
(
kBlue
);
ha
->
Draw
(
"same"
);
hli
->
Draw
(
"same"
);
// TFile* fa = new TFile("ha.root", "open");
// TH2F* ha = (TH2F*)fa->FindObjectAny("h");
// ha->SetMarkerColor(kBlack);
// TFile* fli = new TFile("hli.root", "open");
// TH2F* hli = (TH2F*)fli->FindObjectAny("h2");
// hli->SetMarkerColor(kBlue);
// ha->Draw("same");
// hli->Draw("same");
/*
TCanvas *c2 = new TCanvas;
c2->cd();
TFile* f1 = new TFile("/Users/valerian/Software/nptool_gitlab/nptool/Outputs/Analysis/AnaMugastAtLise10Bed6Li.root");
...
...
@@ -43,4 +44,5 @@ void DrawELab10Be() {
ha2->Draw("same");
hli2->Draw("same");
*/
}
This diff is collapsed.
Click to expand it.
Projects/e870/reaction/10Bepalpha.reaction
+
14
−
5
View file @
ac10b293
...
...
@@ -2,23 +2,32 @@
Beam
Particle= 10Be
Energy= 380 MeV
%SigmaEnergy= 22.8 MeV
% Stuff to try and test:
% Perfect case:
SigmaEnergy= 0 MeV
SigmaX= 0 mm
SigmaY= 0 mm
% Realistic case?
%SigmaEnergy= 22.8 MeV
%SigmaX= 6.216 mm
%SigmaY= 6.109 mm
% Playground:
%SigmaEnergy= ?? MeV
%SigmaX= ?? mm
%SigmaY= ?? mm
MeanThetaX= 0 deg
MeanPhiY= 0 deg
MeanX= 0 mm
MeanY= 0 mm
%SigmaThetaX= 0.6138 deg
%SigmaPhiY= 0.3812 deg
%SigmaX= 6.216 mm
%SigmaY= 6.109 mm
%SigmaEnergy= 0 MeV
%ExcitationEnergy= 0 MeV
SigmaThetaX= 0 mrad
SigmaPhiY= 0 mrad
SigmaX= 0 mm
SigmaY= 0 mm
%MeanThetaX= 0 mrad
%MeanPhiY= 0 mrad
%MeanX= 0 mm
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment