]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFLTMGlobalTrailer.h
updates on TOF software:
[u/mrichter/AliRoot.git] / TOF / AliTOFLTMGlobalTrailer.h
diff --git a/TOF/AliTOFLTMGlobalTrailer.h b/TOF/AliTOFLTMGlobalTrailer.h
new file mode 100644 (file)
index 0000000..578220c
--- /dev/null
@@ -0,0 +1,31 @@
+#ifndef ALITOFLTMGLOBALTRAILER_H
+#define ALITOFLTMGLOBALTRAILER_H
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id: AliTOFRawDataFormat.h 23881 2008-02-12 16:46:22Z decaro $ */
+
+///////////////////////////////////////////////////////////////
+//                                                           //
+//   This classes provide the TOF raw data bit fields.       //
+//                                                           //
+///////////////////////////////////////////////////////////////
+
+#include "TROOT.h"
+
+class AliTOFLTMGlobalTrailer
+{
+ public:
+  UInt_t GetSlotID() {return fSlotID;};
+  UInt_t GetEventCRC() {return fEventCRC;};
+  UInt_t GetEventNumber() {return fEventNumber;};
+  UInt_t GetWordType() {return fWordType;};
+ private:
+  UInt_t fSlotID:      4;
+  UInt_t fEventCRC:    12;
+  UInt_t fEventNumber: 12;
+  UInt_t fWordType:    4;
+};
+
+#endif