TDecayChannel.cxx

Go to the documentation of this file.
00001 // @(#)root/eg:$Id: TDecayChannel.cxx 23479 2008-04-23 14:48:54Z brun $
00002 // Author: P.Murat   15/02/2001
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 //-----------------------------------------------------------------------------
00013 //  Feb 16 2001 P.Murat: description of the decay channel
00014 //-----------------------------------------------------------------------------
00015 #include "TDecayChannel.h"
00016 
00017 ClassImp(TDecayChannel)
00018 
00019 //_____________________________________________________________________________
00020 TDecayChannel::TDecayChannel()
00021 {
00022    //default constructor
00023    fNumber            = 0;
00024    fMatrixElementCode = 0;
00025    fBranchingRatio    = 0;
00026 }
00027 
00028 //_____________________________________________________________________________
00029 TDecayChannel::TDecayChannel(Int_t    NumberD,
00030                              Int_t    MatrixElementType,
00031                              Double_t BRatio,
00032                              Int_t    NumberDaughters,
00033                              Int_t*   DaughterCode)
00034 {
00035    //constructor
00036    fNumber            = NumberD;
00037    fMatrixElementCode = MatrixElementType;
00038    fBranchingRatio    = BRatio;
00039    fDaughters.Set(NumberDaughters,DaughterCode);
00040 }
00041 
00042 //_____________________________________________________________________________
00043 TDecayChannel::~TDecayChannel() {
00044 }
00045 

Generated on Tue Jul 5 14:45:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1