#include "hphysicsevent.h"

HPhysicsEvent


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

class HPhysicsEvent : public TObject

Inheritance Chart:
TObject
<-
HPhysicsEvent
<-
HPhysicsMixedEvent

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

Data Members


    protected:
HCategory* fPartCat ! Pointer to Particle data category TClonesArray* fPartArray ! Pointer to Particle data TClonesArray TIterator* iterPart ! Iterator over Particle category TObjArray* data[50] ! Utility TObjArray array of pointers Int_t count ! Counter for utility TObjArray's

Class Description


  HPhysicsEvent

  This class calculates event-wise variables or builds TObjArray's of
  an event's particles (or subset of particles).  All of the class's
  functions support Geant particle i.d.'s, particle names (such as "e+")
  and the particle types: "hadrons", "leptons", "pions", and "noId".

 
For more information, see the PhyAna documentation.



HPhysicsEvent(void)
 Default constructor

HPhysicsEvent(HCategory *cat)
 Takes category as input

HPhysicsEvent(TClonesArray *array)
 Takes TClonesArray as input

Float_t sumPt(TObjArray *array)
 Sum transverse momentum for array of particles

Float_t sumEt(TObjArray *array)
 Sum transverse energy for array of particles

Float_t sumMt(TObjArray *array)
 Sum transverse mass for array of particles

Int_t mult(TObjArray *array)
 Multiplicity of array of particles

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

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

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 HPhysicsEvent
 functions to 'decode' the input string.



Inline Functions


                  void ~HPhysicsEvent()
                 Int_t execute()
               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)
         HPhysicsEvent HPhysicsEvent(const HPhysicsEvent&)
        HPhysicsEvent& operator=(const HPhysicsEvent&)


Last update: Fri Jan 26 12:21:04 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.