JSFSpring


class description - source file - inheritance tree

class JSFSpring : public JSFModule


    public:
JSFSpring(const char* name = "JSFSpring", const char* title = "JSF Spring", JSFBases* bases = NULL) JSFSpring(const JSFSpring&) virtual ~JSFSpring() virtual Bool_t BeginRun(Int_t nrun) static TClass* Class() void DoBases() virtual Bool_t EndRun() virtual JSFBases* GetBases() virtual Bool_t GetLastRunInfo() virtual TClass* IsA() const virtual void PrintInfo() void PrintRandomSeed(Int_t num = 8) virtual Bool_t Process(Int_t event) void ReadBases(const char* name) void ReadRandomSeed(Char_t* fr) void SetBases(JSFBases* bases) void SetPrintHist(Bool_t flag) void SetPrintInfo(Bool_t flag) virtual void ShowMembers(TMemberInspector& insp, char* parent) void Spring() void Spring(Int_t maxtry) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Bool_t Terminate() void WriteRandomSeed(Char_t* fw)

Data Members


    protected:
JSFBases* fBases ! Pointer to bases class Bool_t fDoBases ! Do bases at beginrun, or read bases data TString fBasesClassName TString fBasesObjectName TString fBasesObjectTitle Int_t fMXTRY Max number of try in the Spring step. Int_t fioNTAB Long_t fSeed Long_t fSeedIY Long_t* fSeedIV [fioNTAB] Bool_t fSetSeed ! true to copy fSeedRdm and fSeedIa1 to bases common. Bool_t fPrintHist ! Print histogram Bool_t fPrintInfo ! Print information


See also

DebugWGenerator, JSFReadParton

Class Description

 JSFSpring

   Create parton lists

  For example of how to use JSFSpring and JSFBases, please see
   html   or  postscript  documents.

 (Update)
 2-September-1999 A.Miyamoto  Memory leak by fPartons are fixed.
                              Add function, TBGETsSpringPartonList()
 11-Feb-2000 A.Miyamoto Use new C++ Bases/Spring Library

$Id: JSFSpring.cxx,v 1.18 2001/11/12 01:26:16 miyamoto Exp $



JSFSpring(const char *name, const char *title, JSFBases *bases) : JSFModule(name,title)
 Create one JSFSpring object
 User class should set addresses to the event buf here, as follows.
   fEventBuf = new JSFSpringBuf("JSFSpringBuf", "Spring Event buffer", this);

~JSFSpring()

void ReadBases(const char *name)
 Read bases data and bases histogram from a file, name.

Bool_t BeginRun(Int_t nrun)

Bool_t Terminate()

Bool_t EndRun()

Bool_t Process(Int_t ev)

void Spring(Int_t maxtry)

void Spring()

Bool_t GetLastRunInfo()
 Read seed of previous run

void WriteRandomSeed(Char_t *fw)

void ReadRandomSeed(Char_t *fr)

void PrintRandomSeed(Int_t num)

void Streamer(TBuffer &R__b)
 Stream an object of class JSFSpring.

void Streamer(TBuffer &R__b)
 Stream an object of class JSFSpring.



Inline Functions


               void PrintInfo()
          JSFBases* GetBases()
               void SetBases(JSFBases* bases)
               void DoBases()
               void SetPrintInfo(Bool_t flag)
               void SetPrintHist(Bool_t flag)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
          JSFSpring JSFSpring(const JSFSpring&)


Last update: Tue Jan 20 15:54:03 2004


ROOT page - Home 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.