]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDpixel.cxx
59adab3d189c24f391056fb2dd41c74c8dee9010
[u/mrichter/AliRoot.git] / TRD / AliTRDpixel.cxx
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$
18 Revision 1.3  2000/02/28 19:10:26  cblume
19 Include the new TRD classes
20
21 Revision 1.2.4.1  2000/02/28 17:59:27  cblume
22 Initialize fTrack with -1
23
24 Revision 1.2  1999/09/29 09:24:35  fca
25 Introduction of the Copyright and cvs Log
26
27 */
28
29 ///////////////////////////////////////////////////////////////////////////////
30 //                                                                           //
31 //  Contains the information for one TRD pixel                               //
32 //                                                                           //
33 ///////////////////////////////////////////////////////////////////////////////
34
35 #include "AliTRDpixel.h"
36
37 ClassImp(AliTRDpixel)
38
39 //_____________________________________________________________________________
40 AliTRDpixel::AliTRDpixel():TObject()
41 {
42   //
43   // Create a TRD pixel
44   // 
45
46   fSignal   =  0;
47   fTrack[0] = -1;
48   fTrack[1] = -1;
49   fTrack[2] = -1;
50
51 }
52
53 //_____________________________________________________________________________
54 AliTRDpixel::~AliTRDpixel()
55 {
56   //
57   // AliTRDpixel destructor
58   //
59
60 }
61
62 //_____________________________________________________________________________
63 void 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 }