]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSOnlineSPDfoChipConfig.cxx
consolidate zero-length arrays (aka struct hack)
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSPDfoChipConfig.cxx
CommitLineData
286382a3 1/**************************************************************************
2 * Copyright(c) 2008-2010, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/* $Id$ */
17
18/////////////////////////////////////////////////////////////////
19// Author: A. Mastroserio //
20// This class is used as a container for the FO scan //
21// //
22/////////////////////////////////////////////////////////////////
23
24
25#include <TObjArray.h>
26#include "AliITSOnlineSPDfoChipConfig.h"
27
28ClassImp(AliITSOnlineSPDfoChipConfig)
29
30AliITSOnlineSPDfoChipConfig::AliITSOnlineSPDfoChipConfig():
31 TObject(),
32 fChipConfigRow(0),
33 fChipConfigCol(0),
34 fCounter(0),
35 fMatrixId(-1)
36{
37//constructor
38}
39//__________________________
40
41AliITSOnlineSPDfoChipConfig::AliITSOnlineSPDfoChipConfig(Short_t measure[4]):
42 TObject(),
43 fChipConfigRow(measure[1]),
44 fChipConfigCol(measure[2]),
45 fCounter(measure[3]),
46 fMatrixId(measure[0])
47{
48//constructor
49}
50//
51AliITSOnlineSPDfoChipConfig::AliITSOnlineSPDfoChipConfig(const AliITSOnlineSPDfoChipConfig &p):
52TObject(p),
53fChipConfigRow(p.fChipConfigRow),
54fChipConfigCol(p.fChipConfigCol),
55fCounter(p.fCounter),
56fMatrixId(p.fMatrixId)
57{
58 //
59 //copy constructor
60 //
61}