Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Be_libraries
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vratislav Chudoba
Be_libraries
Commits
d17c82b1
Commit
d17c82b1
authored
Jul 17, 2017
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation errors and some warnings solved.
parent
73b3f26e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
10 deletions
+20
-10
BeEvent.cpp
Be/BeEvent.cpp
+4
-2
BeReaction.cpp
Be/BeReaction.cpp
+12
-6
BinaryReaction.cpp
Be/BinaryReaction.cpp
+4
-2
No files found.
Be/BeEvent.cpp
View file @
d17c82b1
...
...
@@ -757,7 +757,8 @@ Double_t BeEvent::CsIcorrectedEnergy(Int_t _address, Int_t _subaddress,
//
// c1 = (a*x0+b)/( (x0-p)^c2 )
Double_t
energy
;
// Double_t energy;
Double_t
energy
=
0.
;
Double_t
cp1
;
Double_t
cp2
;
...
...
@@ -2728,7 +2729,8 @@ void BeEvent::HitIdentification(const Int_t tel, const Int_t hit,
///
////////////////////////////////////////////////////////////////////////////
Double_t
x
;
// Double_t x;
Double_t
x
=
0.
;
Double_t
econ
;
//case when there is no signal in CsI
...
...
Be/BeReaction.cpp
View file @
d17c82b1
...
...
@@ -158,12 +158,18 @@ void BeReaction::FillProcess(Double_t _LiT, Double_t _LiThetaIn,
//physical generator based on theoretical calculations
//set masses for 6Li + p --> 6Be + n: mass of 6Be taken from generator
TLorentzVector
pa
(
_p_alpha
[
0
],
_p_alpha
[
1
],
_p_alpha
[
2
]);
//alpha in the a-p-p CM
pa
.
SetE
(
E
(
Power
(
pa
.
P
(),
2
),
BeDecayM
[
3
]
)
);
TLorentzVector
pp1
(
_p_p1
[
0
],
_p_p1
[
1
],
_p_p1
[
2
]);
//proton in the a-p-p CM
pp1
.
SetE
(
E
(
Power
(
pp1
.
P
(),
2
),
LipM
[
1
]
)
);
TLorentzVector
pp2
(
_p_p2
[
0
],
_p_p2
[
1
],
_p_p2
[
2
]);
//proton in the a-p-p CM
pp2
.
SetE
(
E
(
Power
(
pp2
.
P
(),
2
),
LipM
[
1
]
)
);
// TLorentzVector pa(_p_alpha[0], _p_alpha[1], _p_alpha[2]); //alpha in the a-p-p CM
// pa.SetE( E( Power(pa.P(), 2), BeDecayM[3] ) );
TLorentzVector
pa
(
_p_alpha
[
0
],
_p_alpha
[
1
],
_p_alpha
[
2
],
E
(
Power
(
pa
.
P
(),
2
),
BeDecayM
[
3
]
));
//alpha in the a-p-p CM
// TLorentzVector pp1(_p_p1[0], _p_p1[1], _p_p1[2]); //proton in the a-p-p CM
// pp1.SetE( E( Power(pp1.P(), 2), LipM[1] ) );
TLorentzVector
pp1
(
_p_p1
[
0
],
_p_p1
[
1
],
_p_p1
[
2
],
E
(
Power
(
pp1
.
P
(),
2
),
LipM
[
1
]
));
//proton in the a-p-p CM
// TLorentzVector pp2(_p_p2[0], _p_p2[1], _p_p2[2]); //proton in the a-p-p CM
// pp2.SetE( E( Power(pp2.P(), 2), LipM[1] ) );
TLorentzVector
pp2
(
_p_p2
[
0
],
_p_p2
[
1
],
_p_p2
[
2
],
E
(
Power
(
pp2
.
P
(),
2
),
LipM
[
1
]
));
//proton in the a-p-p CM
TLorentzVector
pbe
;
//6Be in the a-p-p CM
pbe
=
pa
+
pp1
+
pp2
;
...
...
Be/BinaryReaction.cpp
View file @
d17c82b1
...
...
@@ -192,12 +192,14 @@ void BinaryReaction::SetOrientationV()
rdirection
.
SetPhi
(
fPhiIn
);
//rdirection.SetMag(1.);
TVector3
a
(
1
);
// TVector3 a(1);
TVector3
a
(
1.
,
1.
,
1.
);
a
.
SetTheta
(
fThetaA
);
a
.
SetPhi
(
fPhiA
);
//a.SetMag(1.);
TVector3
b
(
1
);
// TVector3 b(1);
TVector3
b
(
1.
,
1.
,
1.
);
b
.
SetTheta
(
fThetaB
);
b
.
SetPhi
(
fPhiB
);
//b.SetMag(1.);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment