some coverity fixes
[u/mrichter/AliRoot.git] / TOF / AliTOFTDCError.h
CommitLineData
5b4ed716 1#ifndef ALITOFTDCERROR_H
2#define ALITOFTDCERROR_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 author: Roberto Preghenella (R+), preghenella@bo.infn.it
9*/
10
11///////////////////////////////////////////////////////////////
12// //
13// This class provides a definition for TDC errors. //
14// //
15///////////////////////////////////////////////////////////////
16
17#include "TObject.h"
18
19class AliTOFTDCError : public TObject
20{
21 public:
22 AliTOFTDCError(); //default constructor
23 AliTOFTDCError(const AliTOFTDCError &source); //copy constructor
24 AliTOFTDCError &operator = (const AliTOFTDCError &source); //operator =
25 virtual ~AliTOFTDCError(); //destructor
26 /* getters */
27 UShort_t GetErrorFlags() {return fErrorFlags;}; //get error flags
28 UShort_t GetTDCID() {return fTDCID;}; //get TDC ID
29 /* setters */
30 void SetErrorFlags(UShort_t ErrorFlags) {fErrorFlags = ErrorFlags;}; //set error flags
31 void SetTDCID(UShort_t TDCID) {fTDCID = TDCID;};
32 private:
33 UShort_t fErrorFlags; //error flags
34 UShort_t fTDCID; //TDC ID
35
36 ClassDef(AliTOFTDCError, 1);
37};
38
39#endif /* ALITOFTDCERROR_H */