]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/AliRICHDigit.cxx
Corrected path to mapping libraries.
[u/mrichter/AliRoot.git] / RICH / AliRICHDigit.cxx
CommitLineData
237c933d 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$
b762c2f6 18 Revision 1.1 2000/06/12 15:20:36 jbarbosa
19 Cleaned up version.
20
237c933d 21*/
22
23
24#include "AliRICHDigit.h"
25
26ClassImp(AliRICHDigit)
27//_____________________________________________________________________________
28AliRICHDigit::AliRICHDigit(Int_t *digits)
29{
30 //
31 // Creates a RICH digit object to be updated
32 //
33 fPadX = digits[0];
34 fPadY = digits[1];
35 fSignal = digits[2];
b762c2f6 36 fPhysics = digits[3];
37 fHit = digits[4];
237c933d 38
39}
40//_____________________________________________________________________________
41AliRICHDigit::AliRICHDigit(Int_t *tracks, Int_t *charges, Int_t *digits)
42{
43 //
44 // Creates a RICH digit object
45 //
46 fPadX = digits[0];
47 fPadY = digits[1];
48 fSignal = digits[2];
b762c2f6 49 fPhysics = digits[3];
50 fHit = digits[4];
51
52 for(Int_t i=0; i<kMAXTRACKSPERRICHDIGIT; i++) {
237c933d 53 fTcharges[i] = charges[i];
54 fTracks[i] = tracks[i];
55 }
56}