GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4SubEventHeader10.h
Go to the documentation of this file.
1// $Id$
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
30class TGo4SubEventHeader10 : public TObject {
31 public:
32
34 void Clear(Option_t * = "") override
35 {
36 fxGSIHeader.Clear();
37 fxGSIHeader.fsType = 10;
38 //fsProcid = 0; // these three values are all unique identifiers
39 //fcSubcrate = 0;
40 //fcControl = 0;
41 }
42
45
47 union {
49 Int_t fiFullid;
50
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
81
83
84 ClassDefOverride(TGo4SubEventHeader10,2)
85};
86
87#endif // TGO4SUBEVENTHEADER10_H
Standard GSI event/subevent header structure.
Standard GSI subevent header implementation.
Int_t fiFullid
full id number of procid, subcrate and ctrl
Char_t fcControl
Processor type code.
Char_t fcSubcrate
Subcrate number.
void Clear(Option_t *="") override
Reset all members to zero.
TGo4GSIEventHeader fxGSIHeader
aggregationByValue
Short_t fsProcid
Processor ID [from setup].