#include "T49Mixing.h"

T49Mixing


class description - source file - inheritance tree (.pdf)

class T49Mixing : public TObject

Inheritance Chart:
TObject
<-
T49Mixing

    public:
T49Mixing() T49Mixing(Int_t n, Int_t nl = 2) T49Mixing(const T49Mixing&) ~T49Mixing() void AddEvent(TObjArray* P1list, TObjArray* P2list = NULL) Int_t CheckBound(Int_t m) static TClass* Class() void GetEvent(Int_t Evt1 = -1, Int_t Evt2 = -1) Int_t GetEvent1() Int_t GetEvent2() TObjArray* GetPart1List() TObjArray* GetPart2List() virtual TClass* IsA() const Int_t IsReady() T49Mixing& operator=(const T49Mixing&) void Reset() void SetNumList(Int_t n = 2) void SetVerbose(Int_t n = 1) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t nMaxEvents Maximum number of event Int_t nEvent Total Number of events processed Int_t nCurrent Degree of filling ( from 0 to nMaxEvents) Int_t fIsReadyFlag Flag signals nCurrent == nMaxEvents Int_t fNumList Number of diefferent particle lists Int_t fVerbose TObjArray* fPart1Pool Particle 1 Pool TObjArray* fPart2Pool Particle 2 Pool TObjArray* fPart1List Current Pacticle 1 List TObjArray* fPart2List Current Pacticle 2 List Int_t fEvent1 EventNumber for first P. list Int_t fEvent2 EventNumber for second P. list

Class Description

  Mixing tool
///////////////////////  Author R.Ganz April 99 

  You can store lists of Particles (TObjArrays) in this
  mixer. It will organize the memory, and tell you
  when it has collected enough statisic to produce
  mixed events.
  Optional you can have one or two lists(default) of
  particles stored


T49Mixing()

T49Mixing(Int_t n, Int_t nl)
  use this constructor to initialize the mixer
   n    number of events to be stored
   nl   number of lists to be kept (default 2)


void Reset()

void AddEvent(TObjArray *P1list, TObjArray *P2list)
 Add one (2nd left empty) or two lists to the mixer
 If initialize number of events is eceeded
 ReadyFlag is set and first(oldest) list(event)
 will be removed


void GetEvent(Int_t Evt1, Int_t Evt2)
 Sets particle List 1 and 2 to lists of
 Evt1 and Evt2 respectivly

 Eventmixing mode:
 If Evt1<0 Event Number will be assigned randomly to Evt1
 and Part1List is assigned accordingly
 If Evt2<0 Event Number will be assigned randomly to Evt2
 and Part2List is assigned accordingly


TObjArray* GetPart1List()
 Retrieve list 1 from event #Evt1 assigned in GetEvent


TObjArray* GetPart2List()
 Retrieve list 2  from event#Evt2 assigned in GetEvent




Inline Functions


               void ~T49Mixing()
              Int_t CheckBound(Int_t m)
              Int_t IsReady()
               void SetNumList(Int_t n = 2)
               void SetVerbose(Int_t n = 1)
              Int_t GetEvent1()
              Int_t GetEvent2()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          T49Mixing T49Mixing(const T49Mixing&)
         T49Mixing& operator=(const T49Mixing&)


Last update: Thu Aug 17 15:32:12 2006


ROOT page - Class index - Class Hierarchy - Top of the page

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.