TMCFastHepEvt


class description - source file - inheritance tree

class TMCFastHepEvt : public TObject


    public:
TMCFastHepEvt TMCFastHepEvt() TMCFastHepEvt TMCFastHepEvt(hepevt_t* evt) TMCFastHepEvt TMCFastHepEvt(TMCFastHepEvt&) virtual void ~TMCFastHepEvt() void AddHepParticle(heppart_t* part, Int_t index) TClass* Class() void Clear() void Fill(hepevt_t* evt) TMCFastHepParticle GetHepParticle(Int_t HepEvtIndex) TClonesArray* GetHepParticles() Int_t GetNevhep() Int_t GetNhep() virtual TClass* IsA() void Print(ostream* os) void SetNevhep(Int_t n) void SetNhep(Int_t n) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
Int_t fnevhep The event number Int_t fnhep The number of MCFastHepParticles TClonesArray* fHepParticle an array of TMCFastHepParticles objects static TClonesArray* fgParticles dummy needed to init TClonesArray

Class Description

 TMCFastHepEvt

 This class is an object oriented version of StdHep FORTRAN common block.
 The StdHep common block is filled by MCFast routines. An instance of
 TMCFastHepEvt is created using this information and is save to Root
 Tree for I/O.

  TMCFastHepEvt contains a TClonesArray of  TMCFastHepParticle

 More information about StdHep can be found at:

/*

http://www-pat.fnal.gov/stdhep.html 
*/




TMCFastHepEvt(struct hepevt_t *evt)
 Create the object
 and fill it using  FIll(struct hepevt_t *evt)


TMCFastHepEvt()

void AddHepParticle(struct heppart_t *part,Int_t index)
 Create a TMCFastHepParticle instance
 from the c struct heppart_t and add the instance to
 the  TClonesArray fHepParticle


void Fill(struct hepevt_t *evt)
 Fill the object using a c
 struct map of the hepevt FORTRAN common block


void Clear()
 Clear the TClonesArray fHepParticle


TMCFastHepParticle GetHepParticle(Int_t HepEvtIndex)
 return the TMCFastHepParticle which
 has the HepEvtIndex


~TMCFastHepEvt()

void Print(ostream *os)
 Prints TMCFastHepEvt object

 This function is also used
 to  overload  &operator<<

 For example;
 cout << hepevt;

 where hepevt is an instance of TMCFastHepEvt



Inline Functions


                Int_t GetNevhep()
                Int_t GetNhep()
        TClonesArray* GetHepParticles()
                 void SetNevhep(Int_t n)
                 void SetNhep(Int_t n)
              TClass* Class()
              TClass* IsA()
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
        TMCFastHepEvt TMCFastHepEvt(TMCFastHepEvt&)


Author: Paul Eugenio 2-Nov-98


ROOT page - Class index - 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.