(UNKNOWN PRODUCT) » INCLUDE » PDecayChannel

class PDecayChannel: public TObject

  PDecayChannel

  Author:   Volker Hejny
  Written:  27.08.99
  Revised:  30.06.00 MK
  Revised:  23.07.07 IF (adaption for new framework)

  PDecayChannel implements a linked list of decay modes.


Function Members (Methods)

public:
virtual~PDecayChannel()
voidTObject::AbstractMethod(const char* method) const
voidAddChannel(PDecayChannel* n)
voidAddChannel(Double_t w, Int_t d1)
voidAddChannel(Double_t w, PParticle* d1)
voidAddChannel(Double_t w, const char* d1)
voidAddChannel(Double_t w, Int_t d1, Int_t d2)
voidAddChannel(Double_t w, Int_t nd, Int_t* ld)
voidAddChannel(Double_t w, PParticle* d1, PParticle* d2)
voidAddChannel(Double_t w, Int_t nd, PParticle** ld)
voidAddChannel(Double_t w, const char* d1, const char* d2)
voidAddChannel(Double_t w, Int_t nd, char** ld)
voidAddChannel(Double_t w, Int_t d1, Int_t d2, Int_t d3)
voidAddChannel(Double_t w, PParticle* d1, PParticle* d2, PParticle* d3)
voidAddChannel(Double_t w, const char* d1, const char* d2, const char* d3)
voidAddChannel(Double_t w, Int_t d1, Int_t d2, Int_t d3, Int_t d4)
voidAddChannel(Double_t w, PParticle* d1, PParticle* d2, PParticle* d3, PParticle* d4)
voidAddChannel(Double_t w, const char* d1, const char* d2, const char* d3, const char* d4)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_t*GetDaughters(int& n)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
PDecayChannel*GetLast()
virtual const char*TObject::GetName() const
PDecayChannel*GetNext()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Double_tGetWeight()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
PDecayChannel&operator=(const PDecayChannel&)
virtual voidTObject::Paint(Option_t* option = "")
PDecayChannel()
PDecayChannel(const PDecayChannel&)
virtual voidTObject::Pop()
virtual voidPrint(const Option_t* delme = __null) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidsetAngleFunction(TF1*)
voidsetAngleFunction(TF2*)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
PDecayChannel*Unlink()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
private:
TArrayIDaughtersparticle ids of decay products
PDecayChannel*Nextpointer to an alternative channel
Int_tNumOfDaughtersnumber of decay products
Double_tWeightbranching ratio

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

PDecayChannel()
 Contructs an 'empty' channel (indicated by 'Daughters' containing
 a NULL pointer).

~PDecayChannel()
PDecayChannel * Unlink()
 The 'Next' element is set to NULL. The old value (i.e. the pointer
 to the next possible decay mode) is returned.

void AddChannel(PDecayChannel* n)
 If the current channel is empty, it is filled with the contents of
 'newchannel'. The object pointed to by 'newchannel' is deleted and
 the value of 'newchannel' is replaced by a pointer to the current
 channel.
 If the current channel is not empty, but has no successor in 'Next',
 'Next' will point to 'newchannel'.
 If the current channel contains a 'Next' object, the add request
 is passed to this one.
 The other AddChannel functions work in the same way. The channel is
 filled in the order current channel, 'Next' pointer and 'Next' object.
void AddChannel(Double_t w, Int_t d1)
 The channel describes a decay into 1 daughter particle with particle id
 d1 and branching ratio w.
 (This strange case is implemented only for completeness.)
void AddChannel(Double_t w, Int_t d1, Int_t d2)
 The channel describes a decay into 2 daughter particles with particle
 ids d1, d2 and branching ratio w.
void AddChannel(Double_t w, Int_t nd, Int_t* ld)
 The channel describes a decay into nd daughter particles with particle
 ids stored in the integer array ld and branching ratio w.
void AddChannel(Double_t w, PParticle* d1)
 The channel describes a decay into 1 daughter particle represented by
 a pointer to PParticle d1 and branching ratio w.
 (This strange case is implemented only for completeness.)
void AddChannel(Double_t w, PParticle* d1, PParticle* d2)
 The channel describes a decay into 2 daughter particles represented by
 pointers to PParticle d1, d2 and branching ratio w.
void AddChannel(Double_t w, PParticle* d1, PParticle* d2, PParticle* d3)
 The channel describes a decay into 3 daughter particles represented by
 pointers to PParticle d1, d2, d3 and branching ratio w.
void AddChannel(Double_t w, PParticle* d1, PParticle* d2, PParticle* d3, PParticle* d4)
 The channel describes a decay into 4 daughter particles represented by
 pointers to PParticle d1, d2, d3, d4 and branching ratio w.
void AddChannel(Double_t w, Int_t nd, PParticle** ld)
 The channel describes a decay into nd daughter particles represented by
 pointers to PParticle stored in the array ld and branching ratio w.
void AddChannel(Double_t w, const char* d1)
 The channel describes a decay into 1 daughter particle represented by
 its name d1 and branching ratio w.
 (This strange case is implemented only for completeness.)
void AddChannel(Double_t w, const char* d1, const char* d2)
 The channel describes a decay into 2 daughter particles represented by
 their names d1, d2 and branching ratio w.
void AddChannel(Double_t w, const char* d1, const char* d2, const char* d3)
 The channel describes a decay into 3 daughter particles represented by
 their names d1, d2, d3 and branching ratio w.
void AddChannel(Double_t w, const char* d1, const char* d2, const char* d3, const char* d4)
 The channel describes a decay into 4 daughter particles represented by
 their names d1, d2, d3, d4 and branching ratio w.
void AddChannel(Double_t w, Int_t nd, char** ld)
 The channel describes a decay into nd daughter particles represented by
 an array of their names ld and branching ratio w.
Double_t GetWeight()
 Returns the branching ratio.
Int_t * GetDaughters(int& n)
 The contents of 'number' is replaced by the number of daughter particles
 and the pointer to the daughter array is returned.
PDecayChannel * GetNext()
 Returns the 'Next' element, i.e. the succeeding channel.
PDecayChannel * GetLast()
 Returns the 'last' element in the list.
void Print(const Option_t* delme = __null) const
 Prints the channel information.

PDecayChannel()
void AddChannel(PDecayChannel* n)
 Add one decay channel by referencing an existing one.
void AddChannel(Double_t w, Int_t d1)
 Add one decay channel by giving the weight and the particle ids. In
 case of more than four particles one could also use a array of ids
 together with its length.
void setAngleFunction(TF1* )
{Warning("setAngleFunction", "setAngleFunction is obsolete");}
void setAngleFunction(TF2* )
{Warning("setAngleFunction", "setAngleFunction is obsolete");}