Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
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
15Description of the decay channel
16
17Feb 16 2001 P.Murat
18*/
19
20#include "TDecayChannel.h"
21
22
23////////////////////////////////////////////////////////////////////////////////
24///default constructor
25
32
33////////////////////////////////////////////////////////////////////////////////
34///constructor
35
37 Int_t MatrixElementType,
38 Double_t BRatio,
39 Int_t NumberDaughters,
40 Int_t* DaughterCode)
41{
42 fNumber = NumberD;
43 fMatrixElementCode = MatrixElementType;
44 fBranchingRatio = BRatio;
45 fDaughters.Set(NumberDaughters,DaughterCode);
46}
47
48////////////////////////////////////////////////////////////////////////////////
49///destructor
52
int Int_t
Signed integer 4 bytes (int).
Definition RtypesCore.h:59
double Double_t
Double 8 bytes.
Definition RtypesCore.h:73
Int_t fMatrixElementCode
Double_t fBranchingRatio
TDecayChannel()
default constructor
~TDecayChannel() override
destructor
TArrayI fDaughters