GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4SubEventHeader10.h
Go to the documentation of this file.
1 // $Id: TGo4SubEventHeader10.h 3491 2022-01-21 14:38:58Z 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 
46  union {
48  Int_t fiFullid;
49 
50  struct {
51 
52  #if MBS_ENDIAN == 1
53 
55  Char_t fcControl;
56 
58  Char_t fcSubcrate;
59 
61  Short_t fsProcid;
62 
63  #else
64 
66  Short_t fsProcid;
67 
69  Char_t fcSubcrate;
70 
72  Char_t fcControl;
73 
74  #endif
75 
76  };
77  };
78 
79  TGo4SubEventHeader10() : TObject(), fxGSIHeader(), fsProcid(0), fcSubcrate(0), fcControl(0) { }
80 
81  virtual ~TGo4SubEventHeader10() { }
82 
83  ClassDef(TGo4SubEventHeader10,2)
84 };
85 
86 #endif // TGO4SUBEVENTHEADER10_H
virtual void Clear(Option_t *opt="")
TGo4GSIEventHeader fxGSIHeader
virtual void Clear(Option_t *opt="")