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