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
82943992
Commit
82943992
authored
Oct 21, 2013
by
Marek Schoenherr
Browse files
reverted erroneous commit
parent
00b58452
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
177 deletions
+9
-177
Examples/Models/SM_ZPrime/Run.dat
Examples/Models/SM_ZPrime/Run.dat
+3
-13
Examples/V_plus_Jets/LHC_ZJets/Run.dat
Examples/V_plus_Jets/LHC_ZJets/Run.dat
+1
-1
MODEL/Interaction_Models/Single_Vertex.C
MODEL/Interaction_Models/Single_Vertex.C
+0
-2
PHASIC++/Decays/Decay_Channel.C
PHASIC++/Decays/Decay_Channel.C
+2
-2
PHASIC++/Process/MCatNLO_Process.C
PHASIC++/Process/MCatNLO_Process.C
+2
-4
PHASIC++/Scales/Higgs_Core_Scale.C
PHASIC++/Scales/Higgs_Core_Scale.C
+0
-153
PHASIC++/Scales/Makefile.am
PHASIC++/Scales/Makefile.am
+0
-1
SHERPA/PerturbativePhysics/Hard_Decay_Handler.C
SHERPA/PerturbativePhysics/Hard_Decay_Handler.C
+1
-1
No files found.
Examples/Models/SM_ZPrime/Run.dat
View file @
82943992
(run){
% general settings
EVENTS 100k; ANALYSIS Rivet;
MI_HANDLER None; FRAGMENTATION Off; ME_QED Off; CSS_MAXEM 0;
SCALES VAR{sqr(1000.)};
EVENT_GENERATION_MODE Weighted;
EVENTS 1M;
% load new model library
SHERPA_LDADD SMZprime;
...
...
@@ -11,7 +8,7 @@
% model parameters
MODEL SM+Zprime;
MASS[32] 1000.; WIDTH[32] 50.;
Zp_cpl_L
2
0.; Zp_cpl_R
2
0.;
Zp_cpl_L 0.
3
; Zp_cpl_R 0.
6
;
% collider setup
BEAM_1 = 2212; BEAM_ENERGY_1 = 7000.;
...
...
@@ -21,17 +18,10 @@
(processes){
Process 93 93 -> 11 -11
Order_EW 2;
Enhance_Function VAR{Mass(p[2]+p[3])};
Print_Graphs Graphs;
End process
}(processes)
(selector){
Mass 11 -11
2. 20
00.
Mass 11 -11
500. 15
00.
}(selector)
(analysis){
BEGIN_RIVET {
-a MC_ZINC
} END_RIVET
}(analysis)
Examples/V_plus_Jets/LHC_ZJets/Run.dat
View file @
82943992
...
...
@@ -8,7 +8,7 @@
}(run)
(processes){
Process 93 93 -> 11 -11 93{
0
}
Process 93 93 -> 11 -11 93{
4
}
Order_EW 2;
CKKW sqr(30/E_CMS)
Integration_Error 0.02 {6};
...
...
MODEL/Interaction_Models/Single_Vertex.C
View file @
82943992
...
...
@@ -12,8 +12,6 @@ using namespace std;
// Constructors and Destructors
Single_Vertex
::
Single_Vertex
()
// do not change the default for oew=1 and oqcd=0,
// it is relied upon in every model
{
t
=
0
;
nleg
=
3
;
cpl
.
resize
(
4
);
oew
=
1
;
oqcd
=
0
;
dec
=
0
;
}
Single_Vertex
::
Single_Vertex
(
const
Single_Vertex
&
v
)
:
...
...
PHASIC++/Decays/Decay_Channel.C
View file @
82943992
...
...
@@ -163,8 +163,8 @@ double Decay_Channel::Lambda(const double& a,
if
(
L
>
0
.
0
)
return
sqrt
(
L
)
/
2
/
sqrt
(
a
);
if
(
L
>-
Accu
())
return
0
.
0
;
msg_Error
()
<<
"passed impossible mass combination:"
<<
std
::
endl
;
msg_Error
()
<<
"m_a="
<<
sqrt
(
a
)
<<
" m_b="
<<
sqrt
(
b
)
<<
" m_c="
<<
sqrt
(
c
)
<<
" -> "
<<
"L="
<<
L
<<
endl
;
msg_Error
()
<<
"m_a="
<<
sqrt
(
a
)
<<
" m_b="
<<
sqrt
(
b
)
<<
" m_c="
<<
sqrt
(
c
)
<<
endl
;
msg_Error
()
<<
"L="
<<
L
<<
endl
;
return
0
.;
}
...
...
PHASIC++/Process/MCatNLO_Process.C
View file @
82943992
...
...
@@ -102,11 +102,9 @@ void MCatNLO_Process::Init(const Process_Info &pi,
p_rsproc
->
SetMCMode
(
2
);
}
if
(
p_rsproc
->
Size
()
!=
p_rproc
->
Size
())
THROW
(
fatal_error
,
"R and RS have different size: "
+
ToString
(
p_rproc
->
Size
())
+
" vs. "
+
ToString
(
p_rsproc
->
Size
())
+
"."
);
THROW
(
fatal_error
,
"R and RS have different size"
);
if
(
p_bproc
->
Size
()
!=
p_bviproc
->
Size
())
THROW
(
fatal_error
,
"B and BVI have different size: "
+
ToString
(
p_bproc
->
Size
())
+
" vs. "
+
ToString
(
p_bviproc
->
Size
())
+
"."
);
THROW
(
fatal_error
,
"B and BVI have different size"
);
for
(
size_t
i
(
0
);
i
<
p_rsproc
->
Size
();
++
i
)
if
((
*
p_rsproc
)[
i
]
->
Flavours
()
!=
(
*
p_rproc
)[
i
]
->
Flavours
())
THROW
(
fatal_error
,
"Ordering differs in R and RS"
);
...
...
PHASIC++/Scales/Higgs_Core_Scale.C
deleted
100644 → 0
View file @
00b58452
#include "PHASIC++/Scales/Core_Scale_Setter.H"
#include "PHASIC++/Process/Single_Process.H"
#include "ATOOLS/Org/Exception.H"
#include "ATOOLS/Org/Message.H"
namespace
PHASIC
{
class
Higgs_Core_Scale
:
public
Core_Scale_Setter
{
public:
Higgs_Core_Scale
(
const
Core_Scale_Arguments
&
args
)
:
Core_Scale_Setter
(
args
)
{}
PDF
::
CParam
Calculate
(
ATOOLS
::
Cluster_Amplitude
*
const
ampl
);
ATOOLS
::
Cluster_Amplitude
*
Cluster
(
ATOOLS
::
Cluster_Amplitude
*
const
ampl
)
const
;
};
// end of class Scale_Setter_Base
}
// end of namespace PHASIC
using
namespace
PHASIC
;
using
namespace
ATOOLS
;
PDF
::
CParam
Higgs_Core_Scale
::
Calculate
(
Cluster_Amplitude
*
const
ampl
)
{
DEBUG_FUNC
(
""
);
msg_Debugging
()
<<*
ampl
<<
"
\n
"
;
if
(
ampl
->
Legs
().
size
()
==
3
&&
ampl
->
NIn
()
==
2
)
{
double
kt2cmin
(
ampl
->
Leg
(
2
)
->
Mom
().
Abs2
());
return
PDF
::
CParam
(
kt2cmin
,
kt2cmin
,
0
.
0
,
kt2cmin
,
-
1
);
}
double
muf2
(
0
.
0
),
mur2
(
0
.
0
),
muq2
(
0
.
0
);
Cluster_Amplitude
*
campl
(
Cluster
(
ampl
->
Copy
()));
if
(
campl
->
Legs
().
size
()
!=
ampl
->
Legs
().
size
())
msg_Debugging
()
<<*
campl
<<
"
\n
"
;
if
(
campl
->
Legs
().
size
()
!=
4
)
{
double
q2
((
campl
->
Leg
(
0
)
->
Mom
()
+
campl
->
Leg
(
1
)
->
Mom
()).
Abs2
());
Vec4D
ewsum
;
for
(
size_t
i
(
0
);
i
<
campl
->
Legs
().
size
();
++
i
)
if
(
!
campl
->
Leg
(
i
)
->
Flav
().
Strong
())
ewsum
+=
campl
->
Leg
(
i
)
->
Mom
();
if
(
ewsum
==
Vec4D
())
ewsum
=
campl
->
Leg
(
0
)
->
Mom
()
+
campl
->
Leg
(
1
)
->
Mom
();
if
(
campl
->
NIn
()
==
2
&&
campl
->
Leg
(
0
)
->
Flav
().
Strong
()
&&
campl
->
Leg
(
1
)
->
Flav
().
Strong
())
{
// HThat'/2
q2
=
ewsum
.
PPerp
();
for
(
size_t
i
(
0
);
i
<
campl
->
Legs
().
size
();
++
i
)
if
(
campl
->
Leg
(
i
)
->
Flav
().
Strong
())
q2
+=
campl
->
Leg
(
i
)
->
Mom
().
PPerp
();
q2
=
sqr
(
ewsum
.
Mass
()
+
q2
/
2
.
0
);
}
campl
->
Delete
();
return
PDF
::
CParam
(
q2
,
dabs
(
ewsum
.
Abs2
()),
0
.
0
,
q2
,
-
1
);
}
Flavour
fl
[
4
]
=
{
campl
->
Leg
(
0
)
->
Flav
(),
campl
->
Leg
(
1
)
->
Flav
(),
campl
->
Leg
(
2
)
->
Flav
(),
campl
->
Leg
(
3
)
->
Flav
()};
if
(
fl
[
0
].
Strong
()
&&
fl
[
1
].
Strong
())
{
// hh collision
if
(
fl
[
2
].
Strong
()
&&
fl
[
3
].
Strong
())
{
msg_Debugging
()
<<
"pure QCD like
\n
"
;
double
s
(
2
.
0
*
campl
->
Leg
(
0
)
->
Mom
()
*
campl
->
Leg
(
1
)
->
Mom
());
double
t
(
2
.
0
*
campl
->
Leg
(
0
)
->
Mom
()
*
campl
->
Leg
(
2
)
->
Mom
());
double
u
(
2
.
0
*
campl
->
Leg
(
0
)
->
Mom
()
*
campl
->
Leg
(
3
)
->
Mom
());
muq2
=
muf2
=
mur2
=-
1
.
0
/
(
1
.
0
/
s
+
1
.
0
/
t
+
1
.
0
/
u
);
}
else
if
(
!
fl
[
2
].
Strong
()
&&
!
fl
[
3
].
Strong
())
{
msg_Debugging
()
<<
"DY like
\n
"
;
muq2
=
muf2
=
mur2
=
(
campl
->
Leg
(
0
)
->
Mom
()
+
campl
->
Leg
(
1
)
->
Mom
()).
Abs2
();
}
else
if
(
fl
[
2
].
Strong
()
&&
!
fl
[
3
].
Strong
())
{
msg_Debugging
()
<<
"jV like
\n
"
;
muq2
=
muf2
=
mur2
=
campl
->
Leg
(
3
)
->
Mom
().
MPerp2
();
}
else
if
(
!
fl
[
2
].
Strong
()
&&
fl
[
3
].
Strong
())
{
msg_Debugging
()
<<
"Vj like
\n
"
;
muq2
=
muf2
=
mur2
=
campl
->
Leg
(
2
)
->
Mom
().
MPerp2
();
}
else
THROW
(
not_implemented
,
"Please define your own core scale"
);
}
else
if
(
!
fl
[
0
].
Strong
()
&&
!
fl
[
1
].
Strong
())
{
// ll collision
if
(
fl
[
2
].
Strong
()
&&
fl
[
3
].
Strong
())
{
msg_Debugging
()
<<
"jets like
\n
"
;
muq2
=
muf2
=
mur2
=
(
campl
->
Leg
(
0
)
->
Mom
()
+
campl
->
Leg
(
1
)
->
Mom
()).
Abs2
();
}
}
else
{
// lh collision
THROW
(
not_implemented
,
"Please define your own core scale"
);
}
campl
->
Delete
();
msg_Debugging
()
<<
"
\\
mu_f = "
<<
sqrt
(
muf2
)
<<
"
\n
"
<<
"
\\
mu_r = "
<<
sqrt
(
mur2
)
<<
"
\n
"
<<
"
\\
mu_q = "
<<
sqrt
(
muq2
)
<<
"
\n
"
;
return
PDF
::
CParam
(
muf2
,
muq2
,
0
.
0
,
mur2
,
-
1
);
}
Cluster_Amplitude
*
Higgs_Core_Scale
::
Cluster
(
Cluster_Amplitude
*
const
ampl
)
const
{
if
(
ampl
->
Legs
().
size
()
==
ampl
->
NIn
()
+
2
)
return
ampl
;
Single_Process
*
proc
(
ampl
->
Proc
<
Single_Process
>
());
for
(
size_t
i
(
ampl
->
NIn
());
i
<
ampl
->
Legs
().
size
();
++
i
)
{
Cluster_Leg
*
li
(
ampl
->
Leg
(
i
));
for
(
size_t
j
(
i
+
1
);
j
<
ampl
->
Legs
().
size
();
++
j
)
{
Cluster_Leg
*
lj
(
ampl
->
Leg
(
j
));
if
(
proc
->
Combinable
(
li
->
Id
(),
lj
->
Id
()))
{
Flavour_Vector
fls
(
proc
->
CombinedFlavour
(
li
->
Id
()
|
lj
->
Id
()));
for
(
size_t
k
(
0
);
k
<
fls
.
size
();
++
k
)
{
bool
dec
(
false
);
for
(
size_t
l
(
0
);
l
<
ampl
->
Decays
().
size
();
++
l
)
if
(
ampl
->
Decays
()[
l
]
->
m_id
==
(
li
->
Id
()
|
lj
->
Id
()))
{
dec
=
true
;
break
;
}
if
((
!
li
->
Flav
().
Strong
()
&&
!
lj
->
Flav
().
Strong
()
&&
!
fls
[
k
].
Strong
())
||
dec
)
{
msg_Debugging
()
<<
"combine "
<<
ID
(
li
->
Id
())
<<
"&"
<<
ID
(
lj
->
Id
())
<<
"->"
<<
fls
[
k
]
<<
" ("
<<
dec
<<
")
\n
"
;
li
->
SetFlav
(
fls
[
k
]);
li
->
SetMom
(
li
->
Mom
()
+
lj
->
Mom
());
li
->
SetId
(
li
->
Id
()
|
lj
->
Id
());
lj
->
Delete
();
for
(
ClusterLeg_Vector
::
iterator
lit
(
ampl
->
Legs
().
begin
());
lit
!=
ampl
->
Legs
().
end
();
++
lit
)
if
(
*
lit
==
lj
)
{
ampl
->
Legs
().
erase
(
lit
);
break
;
}
return
Cluster
(
ampl
);
}
}
}
}
}
return
ampl
;
}
DECLARE_ND_GETTER
(
Higgs_Core_Scale
,
"HIGGS"
,
Core_Scale_Setter
,
Core_Scale_Arguments
,
true
);
Core_Scale_Setter
*
ATOOLS
::
Getter
<
Core_Scale_Setter
,
Core_Scale_Arguments
,
Higgs_Core_Scale
>::
operator
()(
const
Core_Scale_Arguments
&
args
)
const
{
return
new
Higgs_Core_Scale
(
args
);
}
void
ATOOLS
::
Getter
<
Core_Scale_Setter
,
Core_Scale_Arguments
,
Higgs_Core_Scale
>::
PrintInfo
(
std
::
ostream
&
str
,
const
size_t
width
)
const
{
str
<<
"Higgs core scale"
;
}
PHASIC++/Scales/Makefile.am
View file @
82943992
...
...
@@ -9,7 +9,6 @@ libPhasicScales_la_SOURCES = \
Scale_Setter_Base.C
\
Core_Scale_Setter.C
\
Default_Core_Scale.C
\
Higgs_Core_Scale.C
\
KFactor_Setter_Base.C
\
Tag_Setter.C
\
Variable_Scale_Setter.C
\
...
...
SHERPA/PerturbativePhysics/Hard_Decay_Handler.C
View file @
82943992
...
...
@@ -150,7 +150,7 @@ Hard_Decay_Handler::Hard_Decay_Handler(std::string path, std::string file) :
dmit
->
second
.
at
(
0
)
->
Flav
().
SetWidth
(
dmit
->
second
.
at
(
0
)
->
TotalWidth
());
}
if
(
p_decaymap
->
size
())
msg_
Info
()
<<
endl
<<*
p_decaymap
<<
endl
;
if
(
p_decaymap
->
size
())
msg_
Tracking
()
<<
endl
<<*
p_decaymap
<<
endl
;
WriteDecayTables
();
}
...
...
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