// Author: Andrew M. Rogers, NSCL 07/01/2006
//* Copyright (C) 2006-2010 Andrew M. Rogers

#ifndef __TBUFFERHEADER_H
#define __TBUFFERHEADER_H

#ifndef __ROOTDEFINE_H
#define __ROOTDEFINE_H
#include "rootDefine.h"
#endif

#include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include <TBranch.h>

using namespace std;


////////////////////////////////////////////////////////////////////////////
//                                                                        //
// TBufferHeader                                                          //
//                                                                        //
//                                                                        //
////////////////////////////////////////////////////////////////////////////

class TBufferHeader : public TObject {

 private:
  

 public:
  UShort_t     nwds;                // Number of used words in the buffer.
  UShort_t     type;                // Type of data in the buffer.
  Long64_t     sequence;            // Buffer sequence number.
  UShort_t     nEntities;           // Number of entities in the buffer.

  TBranch      *b_nwds;             //! nwds branch.
  TBranch      *b_type;             //! type branch.
  TBranch      *b_sequence;         //! sequence branch.
  TBranch      *b_nEntities;        //! nEntities branch.

  TTree          *fChain;           //! pointer to the analyzed TTree or TChain
  Int_t           fCurrent;         //! current Tree number in a TChain
  
 public:
  TBufferHeader() {}
  ~TBufferHeader() {}

  void         Clear(Option_t *option="");
  void         InitClass();                                       // Calls all InitClass methods.
  void         InitTree(TTree *itree);
  
  ClassDef(TBufferHeader,1)

};


#endif

Last change: Tue Dec 16 22:01:05 2008
Last generated: 2008-12-16 22:01

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.