#ifndef ROOT_THaRun
#define ROOT_THaRun

// THaRun

#include "THaCodaRun.h"

class THaRun : public THaCodaRun {
  THaRun( const char* filename="", const char* description="" );
  THaRun( const THaRun& run );
  virtual THaRun& operator=( const THaRunBase& rhs );
  virtual ~THaRun();
  virtual void         Clear( Option_t* opt="" );
  virtual Int_t        Compare( const TObject* obj ) const;
          const char*  GetFilename() const { return fFilename.Data(); }
          Int_t        GetSegment()  const { return fSegment; }
  virtual Int_t        Open();
  virtual void         Print( Option_t* opt="" ) const;
  virtual Int_t        SetFilename( const char* name );
          void         SetNscan( UInt_t n );


  TString       fFilename;     //  File name
  UInt_t        fMaxScan;      //  Max. no. of events to prescan (0=don't scan)
  Int_t         fSegment;      //  Segment number (for split runs)

          Int_t FindSegmentNumber();
  virtual Int_t ReadInitInfo();

  ClassDef(THaRun,6)           // A run based on a CODA data file on disk


Last change: Sat Nov 7 21:26:50 2009
Last generated: 2009-11-07 21:26

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.