// @(#)root/eg:$Id: TDecayChannel.cxx 23479 2008-04-23 14:48:54Z brun $
// Author: P.Murat   15/02/2001

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

//-----------------------------------------------------------------------------
//  Feb 16 2001 P.Murat: description of the decay channel
//-----------------------------------------------------------------------------
#include "TDecayChannel.h"

ClassImp(TDecayChannel)

//_____________________________________________________________________________
TDecayChannel::TDecayChannel()
{
   //default constructor
   fNumber            = 0;
   fMatrixElementCode = 0;
   fBranchingRatio    = 0;
}

//_____________________________________________________________________________
TDecayChannel::TDecayChannel(Int_t    NumberD,
                             Int_t    MatrixElementType,
                             Double_t BRatio,
                             Int_t    NumberDaughters,
                             Int_t*   DaughterCode)
{
   //constructor
   fNumber            = NumberD;
   fMatrixElementCode = MatrixElementType;
   fBranchingRatio    = BRatio;
   fDaughters.Set(NumberDaughters,DaughterCode);
}

//_____________________________________________________________________________
TDecayChannel::~TDecayChannel() {
}


Last change: Wed Jun 25 08:36:05 2008
Last generated: 2008-06-25 08:36

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.