JSFSIMDSTBuf


class description - source file - inheritance tree

class JSFSIMDSTBuf : public JSFEventBuf


    protected:
void SetClonesArray() public:
JSFSIMDSTBuf() JSFSIMDSTBuf(const char* name, const char* title = "JSF SimDST event buffer", JSFModule* module = NULL) JSFSIMDSTBuf(const JSFSIMDSTBuf&) virtual ~JSFSIMDSTBuf() void AddVTXHit(Double_t r, Double_t phi, Double_t z, Double_t dphi, Double_t dz, Int_t layer, Int_t trackid = 0, Int_t gentrack = 0) static TClass* Class() virtual void Clear(Option_t* opt) TClonesArray* GetCDCTracks() Float_t GetEcm() TClonesArray* GetEMCHits() Int_t GetEndian() Float_t GetEventNumber() TClonesArray* GetGeneratorParticles() TClonesArray* GetHDCHits() TObjArray* GetLTKCLTracks() Int_t GetNCDCTracks() Int_t GetNEMCHits() Int_t GetNGeneratorParticles() Int_t GetNHDCHits() Int_t GetNLTKCLTracks() Int_t GetNSMHits() Int_t GetNVTXHits() Char_t* GetProducer() TClonesArray* GetSMHits() Int_t GetVersion() TClonesArray* GetVTXHits() virtual TClass* IsA() const virtual Bool_t PackDST(Int_t nev) virtual void SetClassData(Int_t nev) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Bool_t UnpackDST(Int_t nev)

Data Members


    protected:
Int_t fEndian ! Endian data Int_t fVersion ! version Char_t fProduc[5] ! Name of the program Float_t fHead[2] ! Int_t fNGeneratorParticles ! Number of generator particle TClonesArray* fGeneratorParticles ! Pointer to the generator particle buffer. Int_t fNCombinedTracks ! Number of combined tracks. TObjArray* fCombinedTracks ! Pointer to the Combined track Int_t fNCDCTracks ! Number of CDC Tracks. TClonesArray* fCDCTracks ! Pointer to the CDC tracks. Int_t fNvtx[500] ! Number of VTX hits of each track Int_t fNPvtx ! Total number of VTX Hits. Int_t fNVTXHits ! Number of VTX hits TClonesArray* fVTXHits ! VTXHits Hits Int_t fNEMCHits ! Number of EMC Hits. TClonesArray* fEMCHits ! EMC Hits Int_t fNHDCHits ! Number of HDC Hits. TClonesArray* fHDCHits ! HDC Hits Int_t fNSMHits ! Number hits of Shower Max counter. TClonesArray* fSMHits ! Shower max counter hits.

Class Description

 JSFSIMDST

 Purpose of this class is
 (1) Output SIMDST record as a Fortran binary record.
 (2) Read SIMDST format fortran record.
 (3) For user program which uses SIMDST format data,
     provide interface with JSFQuickSim class
 Thus this class does not output ROOT event tree.

 For the data format of SIMDST data, pelase see   postscript , or   html  document.

 Three void functions are prepared to control write/read fortran data.
   If WriteData() function is called, fortran data is written.
   If ReadData() function is called, fortran data is read in.
   If NoReadWrite() function is called, no read/write of fortran record.
  When WriteData() or NoReadWrite() is called, JSFQuickSim module must be
  executed before this class.

 (Parameters)
 Following parameters can be specified in the configuration file,
 jsf.conf is default. They can be set by Set functions, too.
     parameter name       (Default)      Set functions
 JSFSIMDST.DataFile       simdst.dat    SetDataFileName()
 JSFSIMDST.ParameterFile  simdst.parm   SetParamFileName()
 JSFSIMDST.fUnit          21            SetUnut()
 JSFSIMDST.DataReadWrite   1            WriteData()/ReadData()/NoReadWrite()

 (Limitation)
   Maximum size of tracks, etc are limited as follows.
     GEN  : max 500 tracks
     TRKF, TRKD, VTX : Max. 500 tracks.
     EMH, HDH        : Max. 1000 hits.


 (Update)

  30-March-1999  A.Miyamoto
    SIMDST Format is changed.  EMH(2,i), HDH(2,i) is increased to
    EMH(3,i), and HDH(3,i), to store EM and HD responce separately.
  17-May-1999  A.Miyamoto   igendat is changed from Short to Int
  27-May-1999  A.Miyamoto   kVTXHmax is increased from 10 to 22.
  30-July-1999  A.Miyamoto   Does not use global variable to store particle information
   2-Feb-2000   A.Miyamoto   kVTXHmax is increased to 52 ( curled track is produced by JIM)
   7-Jul-2000   A.Miyamoto  Follow change of CAL part.

$Id: JSFSIMDST.cxx,v 1.21 2003/08/09 09:00:22 miyamoto Exp $



void SetClassData(Int_t nev)

Bool_t PackDST(Int_t nev)
 Output Quick Simulator results

void SetClonesArray()
 Set pointers for TClonesArray;

Bool_t UnpackDST(Int_t nev)
 Read SIMDST data from a file.

JSFSIMDSTBuf()

JSFSIMDSTBuf(const char *name, const char *title, JSFModule *module) : JSFEventBuf(name, title, module)

~JSFSIMDSTBuf()

void Clear(const Option_t *opt)

void AddVTXHit(Double_t r, Double_t phi, Double_t z, Double_t dphi, Double_t dz, Int_t layer, Int_t trackid, Int_t gentrack)



Inline Functions


                Int_t GetEndian()
                Int_t GetVersion()
              Char_t* GetProducer()
              Float_t GetEventNumber()
              Float_t GetEcm()
                Int_t GetNGeneratorParticles()
        TClonesArray* GetGeneratorParticles()
                Int_t GetNLTKCLTracks()
           TObjArray* GetLTKCLTracks()
                Int_t GetNCDCTracks()
        TClonesArray* GetCDCTracks()
                Int_t GetNVTXHits()
        TClonesArray* GetVTXHits()
                Int_t GetNEMCHits()
        TClonesArray* GetEMCHits()
                Int_t GetNHDCHits()
        TClonesArray* GetHDCHits()
                Int_t GetNSMHits()
        TClonesArray* GetSMHits()
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
         JSFSIMDSTBuf JSFSIMDSTBuf(const JSFSIMDSTBuf&)


Last update: Tue Jan 20 15:54:57 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.