]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TRD/AliTRDpixel.cxx
new schema for config
[u/mrichter/AliRoot.git] / TRD / AliTRDpixel.cxx
... / ...
CommitLineData
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/* $Id$ */
17
18///////////////////////////////////////////////////////////////////////////////
19// //
20// Contains the information for one TRD pixel //
21// //
22///////////////////////////////////////////////////////////////////////////////
23
24#include "AliTRDpixel.h"
25
26ClassImp(AliTRDpixel)
27
28//_____________________________________________________________________________
29
30 // Maximal number of stored tracks
31 const Int_t AliTRDpixel::fgkNTrackPixel = kNTrackPixel;
32
33//_____________________________________________________________________________
34AliTRDpixel::AliTRDpixel():TObject()
35{
36 //
37 // Create a TRD pixel
38 //
39
40 fSignal = 0;
41 fTrack[0] = -1;
42 fTrack[1] = -1;
43 fTrack[2] = -1;
44
45}
46
47//_____________________________________________________________________________
48AliTRDpixel::~AliTRDpixel()
49{
50 //
51 // AliTRDpixel destructor
52 //
53
54}
55
56//_____________________________________________________________________________
57void AliTRDpixel::Copy(TObject &p) const
58{
59 //
60 // Copy function
61 //
62
63 ((AliTRDpixel &) p).fSignal = fSignal;
64 for (Int_t iTrackPixel = 0; iTrackPixel < kNTrackPixel; iTrackPixel++) {
65 ((AliTRDpixel &) p).fTrack[iTrackPixel] = fTrack[iTrackPixel];
66 }
67
68}