]>
Commit | Line | Data |
---|---|---|
971579f6 | 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 | **************************************************************************/ | |
971579f6 | 15 | /* |
16 | $Log$ | |
ef51244a | 17 | Revision 1.2 2000/03/24 17:40:35 alla |
18 | New AliSTART | |
19 | ||
971579f6 | 20 | */ |
c345bb4f | 21 | #include <iostream.h> |
22 | #include <fstream.h> | |
971579f6 | 23 | |
c345bb4f | 24 | #include "AliRun.h" |
971579f6 | 25 | #include "AliSTART.h" |
26 | #include "AliSTARTdigit.h" | |
c345bb4f | 27 | |
971579f6 | 28 | ClassImp(AliSTARTdigit) |
29 | ||
c345bb4f | 30 | AliSTARTdigit::AliSTARTdigit(Int_t Timeav, Int_t Timediff) |
31 | //: AliDigit(tracks) | |
32 | { | |
971579f6 | 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], | |
ef51244a | 39 | // fTimeAverage = digits[1], fTimeDiff = digits[1], and fDet = digits[4]. |
971579f6 | 40 | // Therefore the array digits is expected to be at least 5 elements long. |
41 | // | |
ef51244a | 42 | Timeav = fTimeAverage; |
43 | Timediff = fTimeDiff; | |
971579f6 | 44 | |
45 | } |