Fixing a little overlap. Adding flags to perform material budget studies (Mario)
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSPDfoChipConfig.h
CommitLineData
286382a3 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>
15class TObjArray;
16
17class AliITSOnlineSPDfoChipConfig : public TObject{
18
19 public:
20 AliITSOnlineSPDfoChipConfig(); // ctor
21 AliITSOnlineSPDfoChipConfig(Short_t measure[4]);
22 AliITSOnlineSPDfoChipConfig(const AliITSOnlineSPDfoChipConfig& p); // copy constructor
23
24 virtual ~AliITSOnlineSPDfoChipConfig(){;} //dtor
25
26 //SETTERS
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;}
31 //GETTERS
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;}
35
36 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 ClassDef(AliITSOnlineSPDfoChipConfig,1)
46
47};
48
49#endif