]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTdigit.cxx
72fc1477484299bf1327cb9f3c8c11d17ae61014
[u/mrichter/AliRoot.git] / START / AliSTARTdigit.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 $Log$
17 Revision 1.2  2000/03/24 17:40:35  alla
18 New AliSTART
19
20 */ 
21 #include <iostream.h>
22 #include <fstream.h>
23
24 #include "AliRun.h"
25 #include "AliSTART.h"
26 #include "AliSTARTdigit.h"
27
28 ClassImp(AliSTARTdigit)
29
30 AliSTARTdigit::AliSTARTdigit(Int_t Timeav, Int_t Timediff)
31   //:  AliDigit(tracks)
32 {
33   //
34   // Create START digit
35   //     The creator for the AliSTARTdigit class. This routine fills the
36   // AliSTARTdigit data members from the array digits. The array of track
37   // numbers are passed to the AliDigit creator. The order of the elements
38   // in the digits array are fEvent = digits[0], fAmplitude = digits[1],
39   // fTimeAverage = digits[1], fTimeDiff = digits[1], and fDet = digits[4].
40   // Therefore the array digits is expected to be at least 5 elements long.
41   //
42   Timeav = fTimeAverage;
43   Timediff = fTimeDiff;
44
45 }