ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
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
//-----------------------------------------------------------------------------
13
// Feb 16 2001 P.Murat: description of the decay channel
14
////////////////////////////////////////////////////////////////////////////////
15
16
#include "
TDecayChannel.h
"
17
18
ClassImp
(
TDecayChannel
)
19
20
////////////////////////////////////////////////////////////////////////////////
21
///default constructor
22
23
TDecayChannel
::
TDecayChannel
()
24
{
25
fNumber = 0;
26
fMatrixElementCode = 0;
27
fBranchingRatio = 0;
28
}
29
30
////////////////////////////////////////////////////////////////////////////////
31
///constructor
32
33
TDecayChannel::TDecayChannel
(
Int_t
NumberD,
34
Int_t
MatrixElementType,
35
Double_t
BRatio,
36
Int_t
NumberDaughters,
37
Int_t
* DaughterCode)
38
{
39
fNumber
= NumberD;
40
fMatrixElementCode
= MatrixElementType;
41
fBranchingRatio
= BRatio;
42
fDaughters
.
Set
(NumberDaughters,DaughterCode);
43
}
44
45
////////////////////////////////////////////////////////////////////////////////
46
47
TDecayChannel::~TDecayChannel
() {
48
}
49
TDecayChannel
Definition:
TDecayChannel.h:28
TDecayChannel::fDaughters
TArrayI fDaughters
Definition:
TDecayChannel.h:33
TDecayChannel::fMatrixElementCode
Int_t fMatrixElementCode
Definition:
TDecayChannel.h:31
ClassImp
ClassImp(TDecayChannel) TDecayChannel
default constructor
Definition:
TDecayChannel.cxx:18
Int_t
int Int_t
Definition:
RtypesCore.h:41
TDecayChannel::fBranchingRatio
Double_t fBranchingRatio
Definition:
TDecayChannel.h:32
TArrayI::Set
void Set(Int_t n)
Set size of this array to n ints.
Definition:
TArrayI.cxx:104
TDecayChannel.h
TDecayChannel::TDecayChannel
TDecayChannel()
Double_t
double Double_t
Definition:
RtypesCore.h:55
TDecayChannel::~TDecayChannel
virtual ~TDecayChannel()
Definition:
TDecayChannel.cxx:47
TDecayChannel::fNumber
Int_t fNumber
Definition:
TDecayChannel.h:30