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
9b857100
Commit
9b857100
authored
15 years ago
by
matta
Browse files
Options
Downloads
Patches
Plain Diff
* Fixing bug in MUST2 Geometry
- No strip inversion...
parent
ac7148f3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Inputs/EventGenerator/10He.reaction
+1
-1
1 addition, 1 deletion
Inputs/EventGenerator/10He.reaction
NPLib/MUST2/TMust2Physics.cxx
+1
-2
1 addition, 2 deletions
NPLib/MUST2/TMust2Physics.cxx
NPSimulation/src/MUST2Array.cc
+2
-2
2 additions, 2 deletions
NPSimulation/src/MUST2Array.cc
with
4 additions
and
5 deletions
Inputs/EventGenerator/10He.reaction
+
1
−
1
View file @
9b857100
...
@@ -19,7 +19,7 @@ TransfertToResonance
...
@@ -19,7 +19,7 @@ TransfertToResonance
ResonanceDecayA= 8
ResonanceDecayA= 8
CrossSectionPath= 11Li(d,3He)10He.txt
CrossSectionPath= 11Li(d,3He)10He.txt
ShootLight= 1
ShootLight= 1
ShootHeavy=
0
ShootHeavy=
1
ShootDecayProduct= 0
ShootDecayProduct= 0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This diff is collapsed.
Click to expand it.
NPLib/MUST2/TMust2Physics.cxx
+
1
−
2
View file @
9b857100
...
@@ -799,9 +799,8 @@ void TMust2Physics::AddTelescope( TVector3 C_X1_Y1 ,
...
@@ -799,9 +799,8 @@ void TMust2Physics::AddTelescope( TVector3 C_X1_Y1 ,
for
(
int
j
=
0
;
j
<
128
;
j
++
)
for
(
int
j
=
0
;
j
<
128
;
j
++
)
{
{
StripCenter
=
Strip_1_1
+
StripPitch
*
(
j
*
U
+
i
*
V
)
;
StripCenter
=
Strip_1_1
+
StripPitch
*
(
i
*
U
+
j
*
V
)
;
//StripCenter += -TargetPosition ;
//StripCenter += -TargetPosition ;
lineX
.
push_back
(
StripCenter
.
X
()
)
;
lineX
.
push_back
(
StripCenter
.
X
()
)
;
lineY
.
push_back
(
StripCenter
.
Y
()
)
;
lineY
.
push_back
(
StripCenter
.
Y
()
)
;
lineZ
.
push_back
(
StripCenter
.
Z
()
)
;
lineZ
.
push_back
(
StripCenter
.
Z
()
)
;
...
...
This diff is collapsed.
Click to expand it.
NPSimulation/src/MUST2Array.cc
+
2
−
2
View file @
9b857100
...
@@ -879,10 +879,10 @@ void MUST2Array::ConstructDetector(G4LogicalVolume* world)
...
@@ -879,10 +879,10 @@ void MUST2Array::ConstructDetector(G4LogicalVolume* world)
// (u,v) // to silicon plan
// (u,v) // to silicon plan
// w perpendicular to (u,v) plan and pointing CsI
// w perpendicular to (u,v) plan and pointing CsI
MMu
=
m_X128_Y1
[
i
]
-
m_X1_Y1
[
i
]
;
MMu
=
m_X128_Y1
[
i
]
-
m_X1_Y1
[
i
]
;
MMu
=
MMu
.
unit
()
;
MMu
=
-
MMu
.
unit
()
;
MMv
=
m_X1_Y128
[
i
]
-
m_X1_Y1
[
i
]
;
MMv
=
m_X1_Y128
[
i
]
-
m_X1_Y1
[
i
]
;
MMv
=
MMv
.
unit
()
;
MMv
=
-
MMv
.
unit
()
;
MMw
=
MMv
.
cross
(
MMu
)
;
MMw
=
MMv
.
cross
(
MMu
)
;
// if (MMw.z() > 0)MMw = MMv.cross(MMu) ;
// if (MMw.z() > 0)MMw = MMv.cross(MMu) ;
...
...
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