Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Simulation
G4Extensions
Sleptons
src
G4STau1Plus.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "G4STau1Plus.hh"
6
// ######################################################################
7
// ### STau1Plus ###
8
// ######################################################################
9
10
11
G4STau1Plus* G4STau1Plus::theInstance = NULL;
12
13
G4STau1Plus* G4STau1Plus::Definition(G4double
mass
, G4double
width
, G4double
charge
, G4double
PDG
, G4bool
stable
, G4double lifetime, G4bool shortlived)
14
{
15
16
if
(theInstance !=0 && (
mass
>=0. ||
width
>=0. || lifetime>=0.) )
17
{
18
G4ExceptionDescription
description
;
19
description
<<
"Trying to redefine the G4STau1 Plus properties after it has been constructed is not allowed"
;
20
G4Exception(
"G4STau1Plus"
,
"FailedRedefinition"
, FatalException,
description
);
21
abort();
22
}
23
24
if
(theInstance != 0)
25
{
26
return
theInstance;
27
}
28
29
30
// Arguments for constructor are as follows
31
// name mass width charge
32
// 2*spin parity C-conjugation
33
// 2*Isospin 2*Isospin3 G-parity
34
// type lepton number baryon number PDG encoding
35
// stable lifetime decay table
36
// shortlived subType anti_encoding
37
if
(
mass
>= 0) {
38
39
G4ParticleDefinition* anInstance =
40
new
G4ParticleDefinition(
"s_tau_plus_1"
,
mass
,
width
,
charge
,
41
0, 0, 0,
42
0, 0, 0,
43
"slepton"
, 1, 0,
PDG
,
44
stable
, lifetime, NULL,
45
shortlived,
"STau1Plus"
);
46
47
theInstance =
reinterpret_cast<
G4STau1Plus*
>
(anInstance);
48
return
theInstance;
49
}
50
else
51
{
52
G4ExceptionDescription
description
;
53
description
<<
"Trying to create a particle with default constructor is not allowed"
;
54
G4Exception(
"G4STau1Plus"
,
"DefaultConstructorCalled"
, FatalException,
description
);
55
abort();
56
}
57
}
Base_Fragment.mass
mass
Definition:
Sherpa_i/share/common/Base_Fragment.py:59
PDG20
Definition:
Trigger/TrigHypothesis/TrigBphysHypo/src/Constants.h:9
MCTruthPartClassifier::stable
@ stable
Definition:
TruthClassifiers.h:148
charge
double charge(const T &p)
Definition:
AtlasPID.h:931
Base_Fragment.width
width
Definition:
Sherpa_i/share/common/Base_Fragment.py:59
description
std::string description
glabal timer - how long have I taken so far?
Definition:
hcg.cxx:88
Generated on Thu May 8 2025 21:10:00 for ATLAS Offline Software by
1.8.18