1 #ifndef ALITOFTDCERROR_H
2 #define ALITOFTDCERROR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 author: Roberto Preghenella (R+), preghenella@bo.infn.it
11 ///////////////////////////////////////////////////////////////
13 // This class provides a definition for TDC errors. //
15 ///////////////////////////////////////////////////////////////
19 class AliTOFTDCError : public TObject
22 AliTOFTDCError(); //default constructor
23 AliTOFTDCError(const AliTOFTDCError &source); //copy constructor
24 AliTOFTDCError &operator = (const AliTOFTDCError &source); //operator =
25 virtual ~AliTOFTDCError(); //destructor
27 UShort_t GetErrorFlags() {return fErrorFlags;}; //get error flags
28 UShort_t GetTDCID() {return fTDCID;}; //get TDC ID
30 void SetErrorFlags(UShort_t ErrorFlags) {fErrorFlags = ErrorFlags;}; //set error flags
31 void SetTDCID(UShort_t TDCID) {fTDCID = TDCID;};
33 UShort_t fErrorFlags; //error flags
34 UShort_t fTDCID; //TDC ID
36 ClassDef(AliTOFTDCError, 1);
39 #endif /* ALITOFTDCERROR_H */