ciccio
authorrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Dec 2008 16:52:53 +0000 (16:52 +0000)
committerrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Dec 2008 16:52:53 +0000 (16:52 +0000)
TOF/AliTOFTRMGlobalHeader.h [new file with mode: 0644]

diff --git a/TOF/AliTOFTRMGlobalHeader.h b/TOF/AliTOFTRMGlobalHeader.h
new file mode 100644 (file)
index 0000000..966ec60
--- /dev/null
@@ -0,0 +1,35 @@
+#ifndef ALITOFTRMGLOBALHEADER_H
+#define ALITOFTRMGLOBALHEADER_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 AliTOFTRMGlobalHeader
+{
+ public:
+  UInt_t GetSlotID() {return fSlotID;};
+  UInt_t GetEventWords() {return fEventWords;};
+  UInt_t GetACQBits() {return fACQBits;};
+  UInt_t GetLBit() {return fLBit;};
+  UInt_t GetMBZ() {return fMBZ;};
+  UInt_t GetWordType() {return fWordType;};
+ private:
+  UInt_t fSlotID:     4;
+  UInt_t fEventWords: 13;
+  UInt_t fACQBits:    2;
+  UInt_t fLBit:       1;
+  UInt_t fMBZ:        8;
+  UInt_t fWordType:   4;
+};
+
+#endif /* ALITOFTRMGLOBALHEADER_H */