GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4SubEventHeader10.h
Go to the documentation of this file.
1 // $Id: TGo4SubEventHeader10.h 2627 2019-10-01 08:02:45Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4SUBEVENTHEADER10_H
15 #define TGO4SUBEVENTHEADER10_H
16 
17 #include "TObject.h"
18 
19 #include "TGo4GSIEventHeader.h"
20 
21 #include "typedefs.h"
22 
29 class TGo4SubEventHeader10 : public TObject {
30  public:
31 
33  virtual void Clear(Option_t* opt="")
34  {
37  //fsProcid=0; // these three values are all unique identifiers
38  //fcSubcrate=0;
39  //fcControl=0;
40  }
41 
44 
45 
47  union
48  {
50  Int_t fiFullid;
51  struct
52  {
53  #if MBS_ENDIAN == 1
54 
56  Char_t fcControl;
57 
59  Char_t fcSubcrate;
60 
62  Short_t fsProcid;
63 
64  #else
65 
67  Short_t fsProcid;
68 
70  Char_t fcSubcrate;
71 
73  Char_t fcControl;
74 
75  #endif
76 
77  };
78  };
79 
80  TGo4SubEventHeader10() : TObject(), fxGSIHeader(), fsProcid(0), fcSubcrate(0), fcControl(0) { }
81 
82  virtual ~TGo4SubEventHeader10() { }
83 
84  ClassDef(TGo4SubEventHeader10,2)
85 };
86 
87 #endif // TGO4SUBEVENTHEADER10_H
virtual void Clear(Option_t *opt="")
TGo4GSIEventHeader fxGSIHeader
virtual void Clear(Option_t *opt="")