]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDpixel.cxx
Make code compliant to coding conventions
[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$
8230f242 18Revision 1.3 2000/02/28 19:10:26 cblume
19Include the new TRD classes
20
851d3db9 21Revision 1.2.4.1 2000/02/28 17:59:27 cblume
22Initialize fTrack with -1
23
24Revision 1.2 1999/09/29 09:24:35 fca
25Introduction of the Copyright and cvs Log
26
4c039060 27*/
28
99d5402e 29///////////////////////////////////////////////////////////////////////////////
30// //
31// Contains the information for one TRD pixel //
32// //
33///////////////////////////////////////////////////////////////////////////////
34
35#include "AliTRDpixel.h"
36
37ClassImp(AliTRDpixel)
38
39//_____________________________________________________________________________
40AliTRDpixel::AliTRDpixel():TObject()
41{
42 //
43 // Create a TRD pixel
44 //
45
851d3db9 46 fSignal = 0;
47 fTrack[0] = -1;
48 fTrack[1] = -1;
49 fTrack[2] = -1;
99d5402e 50
51}
8230f242 52
53//_____________________________________________________________________________
54AliTRDpixel::~AliTRDpixel()
55{
56 //
57 // AliTRDpixel destructor
58 //
59
60}
61
62//_____________________________________________________________________________
63void AliTRDpixel::Copy(AliTRDpixel &p)
64{
65 //
66 // Copy function
67 //
68
69 p.fSignal = fSignal;
70 for (Int_t iTrackPixel = 0; iTrackPixel < kTrackPixel; iTrackPixel++) {
71 p.fTrack[iTrackPixel] = fTrack[iTrackPixel];
72 }
73
74}