Line data    Source code 
       1             : #ifndef ALIITSONLINESPDFOCHIPCONFIG_H
       2             : #define ALIITSONLINESPDFOCHIPCONFIG_H  
       3             : /* Copyright(c) 2008-2010, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : /* $Id$ */
       7             : 
       8             : /////////////////////////////////////////////////////////////////
       9             : // Author: A. Mastroserio                                      //
      10             : // This class is the brick of the container for the FastOR     //
      11             : // online calibration.                                         //
      12             : /////////////////////////////////////////////////////////////////
      13             : 
      14             : #include <TObject.h>
      15             : class TObjArray;
      16             : 
      17             : class AliITSOnlineSPDfoChipConfig : public TObject{
      18             :   
      19             :  public:
      20             :   AliITSOnlineSPDfoChipConfig(); // ctor
      21             :   AliITSOnlineSPDfoChipConfig(Short_t measure[4]);
      22             :   AliITSOnlineSPDfoChipConfig(const AliITSOnlineSPDfoChipConfig& p);           //  copy constructor
      23             :   
      24           0 :   virtual ~AliITSOnlineSPDfoChipConfig(){;} //dtor    
      25             :   
      26             :   //SETTERS
      27           0 :   void SetChipConfigMatrixId(Short_t idMatrix)    {fMatrixId = idMatrix;}
      28           0 :   void SetChipConfigRow(Short_t pixRow)           {fChipConfigRow = pixRow;}
      29           0 :   void SetChipConfigCol(Short_t pixCol)           {fChipConfigCol = pixCol;}
      30           0 :   void SetChipConfigCounter(UShort_t ncounts)     {fCounter = ncounts;}
      31             :   //GETTERS
      32           0 :   void GetChipConfigId(Int_t pixId[2]) const      {pixId[0] = fChipConfigRow; pixId[1]=fChipConfigCol;}
      33           0 :   Short_t  GetChipConfigCounter() const           {return fCounter;}
      34           0 :   Short_t  GetChipConfigMatrixId() const          {return fMatrixId;}
      35             :   
      36           0 :   void PrintInfo() {printf(" MatrixId %d -  Row %d   Col %d  -  Counts %d \n",fMatrixId,fChipConfigRow,fChipConfigCol,fCounter);}
      37             :   
      38             :  private:
      39             :   Short_t fChipConfigRow; 
      40             :   Short_t fChipConfigCol; 
      41             :   Short_t fCounter;
      42             :   Short_t fMatrixId;
      43             :   AliITSOnlineSPDfoChipConfig &operator=(const AliITSOnlineSPDfoChipConfig& p);
      44             :   
      45         116 :   ClassDef(AliITSOnlineSPDfoChipConfig,1)
      46             :     
      47             : };
      48             :     
      49             : #endif
       |