ROOT  6.06/09
Reference Guide
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 
19 
20 ////////////////////////////////////////////////////////////////////////////////
21 ///default constructor
22 
24 {
25  fNumber = 0;
26  fMatrixElementCode = 0;
27  fBranchingRatio = 0;
28 }
29 
30 ////////////////////////////////////////////////////////////////////////////////
31 ///constructor
32 
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 
48 }
49 
TArrayI fDaughters
Definition: TDecayChannel.h:33
Int_t fMatrixElementCode
Definition: TDecayChannel.h:31
ClassImp(TDecayChannel) TDecayChannel
default constructor
int Int_t
Definition: RtypesCore.h:41
Double_t fBranchingRatio
Definition: TDecayChannel.h:32
void Set(Int_t n)
Set size of this array to n ints.
Definition: TArrayI.cxx:104
double Double_t
Definition: RtypesCore.h:55
virtual ~TDecayChannel()