ROOT logo
#ifndef ALITRDENTRIESINFO_H
#define ALITRDENTRIESINFO_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id: AliTRDEntriesInfo.h 27946 2008-08-13 15:26:24Z cblume $ */

//////////////////////////////////////////////////
//                                              //
//  TRD calibration base class for one ROC      //
//                                              //
//////////////////////////////////////////////////

#include <AliTRDUshortInfo.h>

//_____________________________________________________________________________
class AliTRDEntriesInfo : public AliTRDUshortInfo
{

 public:

  AliTRDEntriesInfo();
  AliTRDEntriesInfo(Int_t n);
  AliTRDEntriesInfo(const AliTRDEntriesInfo &c);
  virtual      ~AliTRDEntriesInfo();
  AliTRDEntriesInfo &operator=(const AliTRDEntriesInfo &c);
  

  Int_t  At(Int_t bin) const                { return (Int_t) fData[bin]; };

  void   AddAt(Int_t value, Int_t bin)      { fData[bin] = (UShort_t) value;  };
  
  //
  // statistic
  //
  Int_t GetSum() const; 
  
  // algebra
  Bool_t TestAdd(const AliTRDEntriesInfo * info);
  void   Add(const AliTRDEntriesInfo *info);
  void   AddIf(const AliTRDEntriesInfo *info);
  
 protected:

  ClassDef(AliTRDEntriesInfo, 2)    

};

#endif
 AliTRDEntriesInfo.h:1
 AliTRDEntriesInfo.h:2
 AliTRDEntriesInfo.h:3
 AliTRDEntriesInfo.h:4
 AliTRDEntriesInfo.h:5
 AliTRDEntriesInfo.h:6
 AliTRDEntriesInfo.h:7
 AliTRDEntriesInfo.h:8
 AliTRDEntriesInfo.h:9
 AliTRDEntriesInfo.h:10
 AliTRDEntriesInfo.h:11
 AliTRDEntriesInfo.h:12
 AliTRDEntriesInfo.h:13
 AliTRDEntriesInfo.h:14
 AliTRDEntriesInfo.h:15
 AliTRDEntriesInfo.h:16
 AliTRDEntriesInfo.h:17
 AliTRDEntriesInfo.h:18
 AliTRDEntriesInfo.h:19
 AliTRDEntriesInfo.h:20
 AliTRDEntriesInfo.h:21
 AliTRDEntriesInfo.h:22
 AliTRDEntriesInfo.h:23
 AliTRDEntriesInfo.h:24
 AliTRDEntriesInfo.h:25
 AliTRDEntriesInfo.h:26
 AliTRDEntriesInfo.h:27
 AliTRDEntriesInfo.h:28
 AliTRDEntriesInfo.h:29
 AliTRDEntriesInfo.h:30
 AliTRDEntriesInfo.h:31
 AliTRDEntriesInfo.h:32
 AliTRDEntriesInfo.h:33
 AliTRDEntriesInfo.h:34
 AliTRDEntriesInfo.h:35
 AliTRDEntriesInfo.h:36
 AliTRDEntriesInfo.h:37
 AliTRDEntriesInfo.h:38
 AliTRDEntriesInfo.h:39
 AliTRDEntriesInfo.h:40
 AliTRDEntriesInfo.h:41
 AliTRDEntriesInfo.h:42
 AliTRDEntriesInfo.h:43
 AliTRDEntriesInfo.h:44
 AliTRDEntriesInfo.h:45
 AliTRDEntriesInfo.h:46
 AliTRDEntriesInfo.h:47
 AliTRDEntriesInfo.h:48
 AliTRDEntriesInfo.h:49