LContainer


class description - source file - inheritance tree

class LContainer : public TObject


    public:
LContainer LContainer() LContainer LContainer(const Long_t jobID, const Int_t bins, const Int_t ntracks) LContainer LContainer(const LDataHeader* header) LContainer LContainer(const LContainer&) virtual void ~LContainer() Int_t Add(const Int_t n, const Float_t* track, const Float_t* tracke, const Float_t ttime, Double_t cputime) static TClass* Class() Double_t GetCPUtime(Int_t i) const Int_t GetCurrent() const Float_t* GetEnergyTrack(Int_t i) const Long_t GetJobID() const const char* GetLog() const Int_t GetN() const Float_t* GetPositionTrack(Int_t i) const Int_t GetTrackN(Int_t i) const Float_t GetTTime(Int_t i) const virtual TClass* IsA() const LContainer* Prepare() virtual void Print(Option_t* option) const void SetJobID(const Long_t id) void SetLog(const char* bla) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t cur ! current empty track index(where to store) protected:
Long_t fjobID identification of job Int_t fmax max number of bins Int_t fN number of tracks Float_t** fp pointers to position tracks Float_t** fe pointer to energy tracks Float_t* fttime pointer to ttime Int_t* ftrackn pointer to ttime Double_t* fcpu_time pointer to cputime TString* flog log field

Class Description

  This is data tracks container class
  to transfer montecarlo simulation data
  over network

 before sending around call Prepare()!

 Note: indexes are 1-based!


 Logs:

  $Log: LContainer.cc,v $
  Revision 1.9  2004/04/13 14:13:33  cvs
  hopping is client, that can comunicate only throuth stdin/out

  Revision 1.8  2004/04/09 13:21:05  cvs
  added cputime logging...

  Revision 1.7  2003/11/15 17:17:26  cvs
  new scheme is working...
  Clients (hoppclient) are connected as kLC_AMAX and free socket is given
  TLServer (lserver) is multithreading
  LServer (hoppserver) has a file which is always in memory - faster but needs more memory

  Revision 1.6  2003/09/25 10:57:40  cvs
  added force member to LDataHeader class

  Revision 1.5  2003/07/25 11:36:26  cvs
  simulation of IV measurements is done with iv program
  some minority fixes to LDisorder - corrected ft to match the recorded position

  Revision 1.4  2003/07/09 10:53:13  cvs
  added some verbosity and changed LContainer class. The LData isnt changed. Corrected daemon mode of hoppserv, since network connection is dependend on process pid. So the connection should be opened by child processes.

  Revision 1.3  2003/07/01 12:17:18  cvs
  New LData organization. data is stored in TH2F histograms. This enables easier manipulation. Found a bug in drawing averaged velocity vs time. The average number was calcuated over whole times.

  Revision 1.2  2003/06/26 09:27:11  cvs
  added log fields...


LContainer()
default constructor

LContainer(const Long_t jobID,const Int_t bins,const Int_t ntracks)
another constructor

LContainer(const LDataHeader* header)
same as other constructor

~LContainer()
default destructor

Add(const Int_t n,const Float_t* track,const Float_t* tracke,const Float_t ttime,Double_t cputime)
use this to adding data from LDisorder
return 1 if successful and 0 if not
this add track, tracke and ttime to fp, fe and fttime arrays and
moves cur++

Prepare()
control if all places are full
then returns itself
if some place is empty, then creates new class and returns that
but that is time consuming!!

Print(Option_t* option)const
this is for debuging
it prints the contents of container

SetLog(const char* bla)
copy bla to log field

GetLog()
return log field

Streamer(TBuffer &R__b)
special streamer for LContainer



Inline Functions


              Int_t GetN() const
           Float_t* GetPositionTrack(Int_t i) const
           Float_t* GetEnergyTrack(Int_t i) const
            Float_t GetTTime(Int_t i) const
           Double_t GetCPUtime(Int_t i) const
              Int_t GetTrackN(Int_t i) const
               void SetJobID(const Long_t id)
             Long_t GetJobID() const
              Int_t GetCurrent() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
         LContainer LContainer(const LContainer&)


Author: Egon Pavlica
Last update: Sat Oct 16 19:10:32 2004


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.