Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Sherpa Team
sherpa
Commits
ac28f378
Commit
ac28f378
authored
Sep 26, 2012
by
Hendrik Hoeth
Browse files
Fix sorting criterion in particle map, to make results reproducible (merge -c19516 from trunk)
parent
345caa51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
CSSHOWER++/Main/CS_Shower.C
CSSHOWER++/Main/CS_Shower.C
+1
-1
CSSHOWER++/Main/CS_Shower.H
CSSHOWER++/Main/CS_Shower.H
+10
-0
No files found.
CSSHOWER++/Main/CS_Shower.C
View file @
ac28f378
...
...
@@ -366,7 +366,7 @@ bool CS_Shower::PrepareShowerFromSoft(Cluster_Amplitude *const ampl)
p_ms
=
ampl
->
MS
();
p_next
->
clear
();
//msg_Tracking()<<*ampl<<"\n";
std
::
map
<
Parton
*
,
Cluster_Leg
*>
lmap
;
std
::
map
<
Parton
*
,
Cluster_Leg
*
,
partcomp
>
lmap
;
std
::
map
<
Cluster_Leg
*
,
Parton
*>
pmap
;
Parton
*
parton
;
...
...
CSSHOWER++/Main/CS_Shower.H
View file @
ac28f378
...
...
@@ -8,6 +8,16 @@
namespace
CSSHOWER
{
struct
partcomp
{
bool
operator
()
(
const
Parton
*
part1
,
const
Parton
*
part2
)
const
{
if
(
part1
->
Id
()
<
part2
->
Id
())
return
true
;
else
return
false
;
}
};
class
Splitting_Function_Base
;
typedef
std
::
map
<
size_t
,
std
::
pair
<
double
,
double
>
>
KT2X_Map
;
...
...
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