Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4SubEventHeader10.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4SUBEVENTHEADER10_H
00017 #define TGO4SUBEVENTHEADER10_H
00018 
00019 #include "TObject.h"
00020 
00021 #include "TGo4GSIEventHeader.h"
00022 
00023 #include "typedefs.h"
00024 
00031 class TGo4SubEventHeader10 : public TObject {
00032   public:
00033 
00035     virtual void Clear(Option_t* opt="")
00036      {
00037         fxGSIHeader.Clear();
00038         fxGSIHeader.fsType=10;
00039         //fsProcid=0; // these three values are all unique identifiers
00040         //fcSubcrate=0;
00041         //fcControl=0;
00042      }
00043 
00045     TGo4GSIEventHeader fxGSIHeader;
00046 
00047 
00049     union
00050         {
00052             Int_t fiFullid;
00053         struct
00054             {
00055             #if MBS_ENDIAN == 1     
00056 
00058             Char_t fcControl;
00059 
00061             Char_t fcSubcrate;
00062 
00064             Short_t fsProcid;
00065     
00066             #else
00067                 
00069             Short_t fsProcid;
00070 
00072             Char_t fcSubcrate;
00073 
00075             Char_t fcControl;
00076             
00077             #endif
00078             
00079             };
00080         };
00081 
00082     TGo4SubEventHeader10() : TObject(), fxGSIHeader(), fsProcid(0), fcSubcrate(0), fcControl(0) { }
00083 
00084     virtual ~TGo4SubEventHeader10() { }
00085 
00086   ClassDef(TGo4SubEventHeader10,2)
00087 };
00088 
00089 #endif // TGO4SUBEVENTHEADER10_H
00090 
00091 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:09 2008 for Go4-v3.04-1 by  doxygen 1.4.2