]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFTRMDiagnosticErrorWord2.h
added macro to create TOF offline calibration parameters from AliTOFcalibHisto class
[u/mrichter/AliRoot.git] / TOF / AliTOFTRMDiagnosticErrorWord2.h
CommitLineData
702659f6 1#ifndef ALITOFTRMDIAGNOSTICERRORWORD2_H
2#define ALITOFTRMDIAGNOSTICERRORWORD2_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id: AliTOFRawDataFormat.h 23881 2008-02-12 16:46:22Z decaro $ */
8
9///////////////////////////////////////////////////////////////
10// //
11// This classes provide the TOF raw data bit fields. //
12// //
13///////////////////////////////////////////////////////////////
14
15#include "TROOT.h"
16
17class AliTOFTRMDiagnosticErrorWord2
18{
19 public:
20 UInt_t GetJtagErrorCode() {return fJtagErrorCode;};
21 UInt_t GetTDCID() {return fTDCID;};
22 UInt_t GetCBit() {return fCBit;};
23 UInt_t GetMBZ() {return fMBZ;};
24 UInt_t GetMBO() {return fMBO;};
25 UInt_t GetWordType() {return fWordType;};
26 private:
ebe73777 27 UInt_t fJtagErrorCode: 11; // Jtag error code
28 UInt_t fTDCID: 4; // TDC ID
29 UInt_t fCBit: 1; // C bit
30 UInt_t fMBZ: 8; // must-be-zero bits
31 UInt_t fMBO: 4; // must-be-zero bits
32 UInt_t fWordType: 4; // word type
702659f6 33};
34
35#endif