Logo ROOT  
Reference Guide
TDecayChannel.h
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 15 2001 P.Murat: description of the decay channel
14 // --------------------
15 // - matrix element for the decay is not defined yet
16 //-----------------------------------------------------------------------------
17 #ifndef ROOT_TDecayChannel
18 #define ROOT_TDecayChannel
19 
20 #include "TObject.h"
21 #include "TArrayI.h"
22 
23 
24 class TDecayChannel: public TObject{
25 protected:
26  Int_t fNumber; // channel number
27  Int_t fMatrixElementCode; // matrix element for this decay mode
28  Double_t fBranchingRatio; // branching ratio ( < 1)
29  TArrayI fDaughters; // PDG codes of the daughters
30 public:
31  // ****** constructors and destructor
38 
39  virtual ~TDecayChannel();
40  // ****** accessors
41 
42  Int_t Number () { return fNumber; }
44  Int_t NDaughters () { return fDaughters.fN; }
46  Int_t DaughterPdgCode(Int_t i) { return fDaughters.fArray[i]; }
47 
48  ClassDef(TDecayChannel,1) // Class describing a particle decay channel
49 };
50 
51 #endif
TDecayChannel::TDecayChannel
TDecayChannel()
default constructor
Definition: TDecayChannel.cxx:27
TDecayChannel::MatrixElementCode
Int_t MatrixElementCode()
Definition: TDecayChannel.h:49
Int_t
int Int_t
Definition: RtypesCore.h:45
TArrayI::fArray
Int_t * fArray
Definition: TArrayI.h:36
TArray::fN
Int_t fN
Definition: TArray.h:38
TDecayChannel::fBranchingRatio
Double_t fBranchingRatio
Definition: TDecayChannel.h:34
TDecayChannel::fNumber
Int_t fNumber
Definition: TDecayChannel.h:32
TDecayChannel::fMatrixElementCode
Int_t fMatrixElementCode
Definition: TDecayChannel.h:33
TDecayChannel::BranchingRatio
Double_t BranchingRatio()
Definition: TDecayChannel.h:51
TDecayChannel
Definition: TDecayChannel.h:24
TArrayI.h
TDecayChannel::fDaughters
TArrayI fDaughters
Definition: TDecayChannel.h:35
Double_t
double Double_t
Definition: RtypesCore.h:59
TObject.h
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TDecayChannel::Number
Int_t Number()
Definition: TDecayChannel.h:48
TDecayChannel::NDaughters
Int_t NDaughters()
Definition: TDecayChannel.h:50
TDecayChannel::DaughterPdgCode
Int_t DaughterPdgCode(Int_t i)
Definition: TDecayChannel.h:52
TArrayI
Definition: TArrayI.h:27
int
TDecayChannel::~TDecayChannel
virtual ~TDecayChannel()
destructor
Definition: TDecayChannel.cxx:51