Added macro to lauch TOF QA task with extended functionality via plugin
[u/mrichter/AliRoot.git] / TOF / AliTOFDecoderSummaryData.h
... / ...
CommitLineData
1#ifndef ALITOFDECODERSUMMARYDATA_H
2#define ALITOFDECODERSUMMARYDATA_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7///////////////////////////////////////////////////////////////
8// //
9// This class provides a summary for decoder data. //
10// //
11///////////////////////////////////////////////////////////////
12
13#include "TObject.h"
14#include "AliTOFDRMSummaryData.h"
15
16//decoder summary data
17class AliTOFDecoderSummaryData : public TObject
18{
19 public:
20 AliTOFDecoderSummaryData(); //default contructor
21 AliTOFDecoderSummaryData(const AliTOFDecoderSummaryData &source); //copy contructor
22 AliTOFDecoderSummaryData &operator = (const AliTOFDecoderSummaryData &source); //operator =
23 virtual ~AliTOFDecoderSummaryData(); //destructor
24 /* getters */
25 UInt_t GetRunNumber() const {return fRunNumber;}; //get run number
26 UInt_t GetEventNumber() const {return fEventNumber;}; //get event number
27 UInt_t GetEquipmentID() const {return fEquipmentID;}; //get equipment ID
28 UInt_t GetInputWords() const {return fInputWords;}; //get input words
29 UInt_t GetDecodedWords() const {return fDecodedWords;}; //get decoded words
30 UShort_t GetDecoderStatus() const {return fDecoderStatus;}; //get decoder status
31 Bool_t GetErrorDetected() const {return fErrorDetected;}; //get error detected
32 UShort_t GetErrorSlotID() const {return fErrorSlotID;}; // get error slot id
33 UShort_t GetCurrentDRMID() const {return fCurrentDRMID;}; //get current DRM ID
34 UShort_t GetCurrentSlotID() const {return fCurrentSlotID;}; //get current slot ID
35 UShort_t GetCurrentChain() const {return fCurrentChain;}; //get current chain
36 Bool_t GetV2718Patch() const {return fV2718Patch;}; //get V2718 patch
37 Bool_t GetRecoverError() const {return fRecoverError;}; //get recover error
38 Bool_t GetRecoveringError() const {return fRecoveringError;}; //get recovering error
39 Bool_t GetSpider() const {return fSpider;}; //get spider flag
40 AliTOFDRMSummaryData *GetDRMSummaryData() const {return fDRMSummaryData;}; //get DRM summary data
41 /* setters */
42 void SetRunNumber(UInt_t RunNumber) {fRunNumber = RunNumber;}; //set run number
43 void SetEventNumber(UInt_t EventNumber) {fEventNumber = EventNumber;}; //set event number
44 void SetEquipmentID(UInt_t EquipmentID) {fEquipmentID = EquipmentID;}; //set equipment ID
45 void SetInputWords(UInt_t InputWords) {fInputWords = InputWords;}; //set input words
46 void SetDecodedWords(UInt_t DecodedWords) {fDecodedWords = DecodedWords;}; //set decoded words
47 void SetDecoderStatus(UShort_t DecoderStatus) {fDecoderStatus = DecoderStatus;}; //set decoder status
48 void SetErrorDetected(Bool_t ErrorDetected) {fErrorDetected = ErrorDetected;}; //set error detected
49 void SetErrorSlotID(UShort_t value) {fErrorSlotID |= 1<< value;}; // set error slot id
50 void SetCurrentDRMID(UShort_t CurrentDRMID) {fCurrentDRMID = CurrentDRMID;}; //set current DRM ID
51 void SetCurrentSlotID(UShort_t CurrentSlotID) {fCurrentSlotID = CurrentSlotID;}; //set current slot ID
52 void SetCurrentChain(UShort_t CurrentChain) {fCurrentChain = CurrentChain;}; //set current chain
53 void SetV2718Patch(Bool_t V2718Patch) {fV2718Patch = V2718Patch;}; //set V2718 patch
54 void SetRecoverError(Bool_t RecoverError) {fRecoverError = RecoverError;}; //set recover error
55 void SetRecoveringError(Bool_t RecoveringError) {fRecoveringError = RecoveringError;}; //set recovering error
56 void SetSpider(Bool_t Spider) {fSpider = Spider;}; //set spider flag
57 /* methods */
58 void Reset(); //reset
59 private:
60 UInt_t fRunNumber; //run number
61 UInt_t fEventNumber; //event number
62 UInt_t fEquipmentID; //equipment ID
63 UInt_t fInputWords; //input words
64 UInt_t fDecodedWords; //decoded words
65 UShort_t fDecoderStatus; //decoder status
66 Bool_t fErrorDetected; //error detected
67 UShort_t fErrorSlotID; //error slot ID
68 UShort_t fCurrentDRMID; //current DRM ID
69 UShort_t fCurrentSlotID; //current slot ID
70 UShort_t fCurrentChain; //current chain
71 Bool_t fV2718Patch; //V2718 patch
72 Bool_t fRecoverError; //recover error
73 Bool_t fRecoveringError; //recoverisng error
74 Bool_t fSpider; //spider flag
75 AliTOFDRMSummaryData *fDRMSummaryData; //DRM summary data
76
77 ClassDef(AliTOFDecoderSummaryData, 1);
78};
79
80#endif /* ALITOFDECODERSUMMARYDATA */