Change AliTRDdataArrayI to AliTRDdataArray in MakeBranch()
[u/mrichter/AliRoot.git] / TRD / AliTRDpixel.cxx
CommitLineData
4c039060 1/**************************************************************************
2 * Copyright(c) 1998-1999, 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/*
17$Log$
793ff80c 18Revision 1.3.2.2 2000/10/17 02:27:34 cblume
19Get rid of global constants
20
21Revision 1.3.2.1 2000/10/04 16:34:58 cblume
22Replace include files by forward declarations
23
24Revision 1.5 2000/06/09 11:10:07 cblume
25Compiler warnings and coding conventions, next round
26
dd9a6ee3 27Revision 1.4 2000/06/08 18:32:58 cblume
28Make code compliant to coding conventions
29
8230f242 30Revision 1.3 2000/02/28 19:10:26 cblume
31Include the new TRD classes
32
851d3db9 33Revision 1.2.4.1 2000/02/28 17:59:27 cblume
34Initialize fTrack with -1
35
36Revision 1.2 1999/09/29 09:24:35 fca
37Introduction of the Copyright and cvs Log
38
4c039060 39*/
40
99d5402e 41///////////////////////////////////////////////////////////////////////////////
42// //
43// Contains the information for one TRD pixel //
44// //
45///////////////////////////////////////////////////////////////////////////////
46
47#include "AliTRDpixel.h"
48
49ClassImp(AliTRDpixel)
50
51//_____________________________________________________________________________
793ff80c 52
53 // Maximal number of stored tracks
54 const Int_t AliTRDpixel::fgkNTrackPixel = kNTrackPixel;
55
56//_____________________________________________________________________________
99d5402e 57AliTRDpixel::AliTRDpixel():TObject()
58{
59 //
60 // Create a TRD pixel
61 //
62
851d3db9 63 fSignal = 0;
64 fTrack[0] = -1;
65 fTrack[1] = -1;
66 fTrack[2] = -1;
99d5402e 67
68}
8230f242 69
70//_____________________________________________________________________________
71AliTRDpixel::~AliTRDpixel()
72{
73 //
74 // AliTRDpixel destructor
75 //
76
77}
78
79//_____________________________________________________________________________
dd9a6ee3 80void AliTRDpixel::Copy(TObject &p)
8230f242 81{
82 //
83 // Copy function
84 //
85
dd9a6ee3 86 ((AliTRDpixel &) p).fSignal = fSignal;
793ff80c 87 for (Int_t iTrackPixel = 0; iTrackPixel < kNTrackPixel; iTrackPixel++) {
dd9a6ee3 88 ((AliTRDpixel &) p).fTrack[iTrackPixel] = fTrack[iTrackPixel];
8230f242 89 }
90
91}