#ifndef __S800ROOTGLOBALS_H
#define __S800ROOTGLOBALS_H 1
#endif
#ifndef __TS800TRIGGER_H
#define __TS800TRIGGER_H

#ifndef __S800PACKETS_H
#include "S800Packets.h"
#define __S8000PACKETS_H
#endif
#ifndef __S800DEFINE_H
#include "S800define.h"
#define __S800DEFINE_H
#endif
#ifndef __ROOTDEFINE_H
#include "rootDefine.h"
#define __ROOTDEFINE_H
#endif


#include "TBranch.h"
#include "TObject.h"
#include <TRandom3.h>
#include "TTree.h"

using namespace std;


class TS800Trigger : public TObject{
 private:
  TRandom3     fRandom;                         //! The class's random number generator.
 public:
  Double_t     fRs800;                          //! Current s800 randomizing number.
  Double_t     fRexternal1;                     //! Current external1 ransomizing number.
  Double_t     fRexternal2;                     //! Current external2 randomizing number.
  Double_t     fRsecondary;                     //! Current seconday randomizing number.

 public:
  UShort_t      registr;                        //  
  UShort_t      s800;                           //  S800 trigger.
  UShort_t      external1;                      //  External trigger 1.
  UShort_t      external2;                      //  External trigger 2.
  UShort_t      secondary;                      //  Secondary trigger.
		
  TString       name;                           //!
		
  TBranch      *b_registr;                      //!
  TBranch      *b_s800;                         //! 
  TBranch      *b_external1;                    //! 
  TBranch      *b_external2;                    //!
  TBranch      *b_secondary;                    //!

  TTree        *fChain;                         //!
  Int_t         fCurrent;                       //! Current Tree number in a TChain

 public:
  TS800Trigger() {fRandom.SetSeed(0);}
  virtual ~TS800Trigger() {}
  TS800Trigger(const TS800Trigger &);           // The copy constructor.

  Int_t     Calculate(Long64_t entry);          //
  void      Clear(Option_t *option="");         //
  void      Copy(TObject &trigger) const;       // The copy method.
  void      GetEntry(Int_t i);                  //
  void      InitClass(TString iname);           //
  void      InitTree(TTree *tree);              //
 
  UShort_t* Unpack(UShort_t *p);                //

  ClassDef(TS800Trigger,3)     // S800 Trigger.
};

#endif

Last change: Sun Dec 21 12:38:58 2008
Last generated: 2008-12-21 12:38

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.