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 */
8 /////////////////////////////////////////////////////////////////
9 // Author: A. Mastroserio //
10 // This class is the brick of the container for the FastOR //
11 // online calibration. //
12 /////////////////////////////////////////////////////////////////
17 class AliITSOnlineSPDfoChipConfig : public TObject{
20 AliITSOnlineSPDfoChipConfig(); // ctor
21 AliITSOnlineSPDfoChipConfig(Short_t measure[4]);
22 AliITSOnlineSPDfoChipConfig(const AliITSOnlineSPDfoChipConfig& p); // copy constructor
24 virtual ~AliITSOnlineSPDfoChipConfig(){;} //dtor
27 void SetChipConfigMatrixId(Short_t idMatrix) {fMatrixId = idMatrix;}
28 void SetChipConfigRow(Short_t pixRow) {fChipConfigRow = pixRow;}
29 void SetChipConfigCol(Short_t pixCol) {fChipConfigCol = pixCol;}
30 void SetChipConfigCounter(UShort_t ncounts) {fCounter = ncounts;}
32 void GetChipConfigId(Int_t pixId[2]) const {pixId[0] = fChipConfigRow; pixId[1]=fChipConfigCol;}
33 Short_t GetChipConfigCounter() const {return fCounter;}
34 Short_t GetChipConfigMatrixId() const {return fMatrixId;}
36 void PrintInfo() {printf(" MatrixId %d - Row %d Col %d - Counts %d \n",fMatrixId,fChipConfigRow,fChipConfigCol,fCounter);}
39 Short_t fChipConfigRow;
40 Short_t fChipConfigCol;
43 AliITSOnlineSPDfoChipConfig &operator=(const AliITSOnlineSPDfoChipConfig& p);
45 ClassDef(AliITSOnlineSPDfoChipConfig,1)