Loading [MathJax]/jax/input/TeX/config.js
ROOT
6.12/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
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
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All 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
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related 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
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
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
+
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
n
o
p
r
s
v
w
+
Macros
1
2
3
4
5
6
7
8
9
_
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
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
montecarlo
eg
src
TDecayChannel.cxx
Go to the documentation of this file.
1
// @(#)root/eg:$Id$
2
// Author: P.Murat 15/02/2001
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
/** \class TDecayChannel
13
\ingroup eg
14
15
Description of the decay channel
16
17
Feb 16 2001 P.Murat
18
*/
19
20
#include "
TDecayChannel.h
"
21
22
ClassImp
(
TDecayChannel
);
23
24
////////////////////////////////////////////////////////////////////////////////
25
///default constructor
26
27
TDecayChannel::TDecayChannel
()
28
{
29
fNumber
= 0;
30
fMatrixElementCode
= 0;
31
fBranchingRatio
= 0;
32
}
33
34
////////////////////////////////////////////////////////////////////////////////
35
///constructor
36
37
TDecayChannel::TDecayChannel
(
Int_t
NumberD,
38
Int_t
MatrixElementType,
39
Double_t
BRatio,
40
Int_t
NumberDaughters,
41
Int_t
* DaughterCode)
42
{
43
fNumber
= NumberD;
44
fMatrixElementCode
= MatrixElementType;
45
fBranchingRatio
= BRatio;
46
fDaughters
.
Set
(NumberDaughters,DaughterCode);
47
}
48
49
////////////////////////////////////////////////////////////////////////////////
50
///destructor
51
TDecayChannel::~TDecayChannel
() {
52
}
53
TDecayChannel
Description of the decay channel.
Definition:
TDecayChannel.h:24
TDecayChannel::fDaughters
TArrayI fDaughters
Definition:
TDecayChannel.h:29
TDecayChannel::fMatrixElementCode
Int_t fMatrixElementCode
Definition:
TDecayChannel.h:27
Int_t
int Int_t
Definition:
RtypesCore.h:41
TDecayChannel::fBranchingRatio
Double_t fBranchingRatio
Definition:
TDecayChannel.h:28
TArrayI::Set
void Set(Int_t n)
Set size of this array to n ints.
Definition:
TArrayI.cxx:105
TDecayChannel.h
TDecayChannel::TDecayChannel
TDecayChannel()
default constructor
Definition:
TDecayChannel.cxx:27
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:359
Double_t
double Double_t
Definition:
RtypesCore.h:55
TDecayChannel::~TDecayChannel
virtual ~TDecayChannel()
destructor
Definition:
TDecayChannel.cxx:51
TDecayChannel::fNumber
Int_t fNumber
Definition:
TDecayChannel.h:26