#include "hphysicsmixedevent.h"

HPhysicsMixedEvent


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

class HPhysicsMixedEvent : public HPhysicsEvent

Inheritance Chart:
TObject
<-
HPhysicsEvent
<-
HPhysicsMixedEvent

    public:
HPhysicsMixedEvent() HPhysicsMixedEvent(HCategory* cat) HPhysicsMixedEvent(TClonesArray* array) HPhysicsMixedEvent(const HPhysicsMixedEvent&) ~HPhysicsMixedEvent() static TClass* Class() TObjArray* getParticles(Int_t pid = -1) TObjArray* getParticles(Char_t* pid) virtual TClass* IsA() const void makeMixedEvent() Int_t mult(Int_t pid = -1) Int_t mult(Char_t* pid) HPhysicsMixedEvent& operator=(const HPhysicsMixedEvent&) void printEvent() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Float_t sumEt(Int_t pid = -1) Float_t sumEt(Char_t* pid) Float_t sumMt(Int_t pid = -1) Float_t sumMt(Char_t* pid) Float_t sumPt(Int_t pid = -1) Float_t sumPt(Char_t* pid)

Data Members

    private:
TRandom ran ! Random number generator TObjArray* mixedEvent ! Mixed event TIterator* iterMixed ! Mixed event iterator TObjArray* event[10] ! Array of events TObjArray* sumArray ! Array of particles from 10 events Int_t evtCount !

Class Description


 HPhysicsMixedEvent

  This class calculates event-wise variables or builds TObjArray's of
  a 'mixed' event's particles (or subset of particles).  A mixed event
  is constructed using an event-mixing algorithm which combines particles
  from a sample of 10 consecutive events.

 
For more information, see the PhyAna documentation.



HPhysicsMixedEvent(void) : HPhysicsEvent()
 Default constructor

HPhysicsMixedEvent(HCategory *cat) : HPhysicsEvent(cat)
 Default constructor

HPhysicsMixedEvent(TClonesArray *array) : HPhysicsEvent(array)

void makeMixedEvent()
 Build a TObjArray of HParticles sampled from 10 events.  Each time this
 function is called, the current event replaces the oldest event in the
 event[] array of events.

TObjArray* getParticles(Int_t pid)
 Returns an array of particles indicated by particle i.d.

void printEvent()
 Print out particles (identified and not identified) in a mixed event

TObjArray* getParticles(Char_t *name)
 Returns an array of particles indicated by particle name or particle
 type (hadrons, noId, etc.).  It is also used internally by HPhysicsMixedEvent
 functions to 'decode' the input string.



Inline Functions


                       void ~HPhysicsMixedEvent()
                    Float_t sumPt(Int_t pid = -1)
                    Float_t sumPt(Char_t* pid)
                    Float_t sumEt(Int_t pid = -1)
                    Float_t sumEt(Char_t* pid)
                    Float_t sumMt(Int_t pid = -1)
                    Float_t sumMt(Char_t* pid)
                      Int_t mult(Int_t pid = -1)
                      Int_t mult(Char_t* pid)
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
         HPhysicsMixedEvent HPhysicsMixedEvent(const HPhysicsMixedEvent&)
        HPhysicsMixedEvent& operator=(const HPhysicsMixedEvent&)


Author: Dan Magestro
Last update: Fri Jan 26 12:21:13 2007


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.