Coverity fix
[u/mrichter/AliRoot.git] / TRD / AliTRDUshortInfo.h
CommitLineData
e526983e 1#ifndef ALITRDUSHORTINFO_H
2#define ALITRDUSHORTINFO_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id: AliTRDUshortInfo.h 27946 2008-08-13 15:26:24Z cblume $ */
7
8//////////////////////////////////////////////////
9// //
10// TRD calibration base class for one ROC //
11// //
12//////////////////////////////////////////////////
13
14#include <TObject.h>
15
16//_____________________________________________________________________________
17class AliTRDUshortInfo : public TObject
18{
19
20 public:
21
22 AliTRDUshortInfo();
23 AliTRDUshortInfo(Int_t n);
24 AliTRDUshortInfo(const AliTRDUshortInfo &c);
25 virtual ~AliTRDUshortInfo();
26 AliTRDUshortInfo &operator=(const AliTRDUshortInfo &c);
27 virtual void Copy(TObject &c) const;
28
29 Int_t GetSize() const { return fSize; };
30
31 void SetSize(Int_t n);
32
33 protected:
34
35 Int_t fSize; // size
36 UShort_t *fData; //[fSize] Data
37
38 ClassDef(AliTRDUshortInfo, 2)
39
40};
41
42#endif