Line data Source code
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 : // Class AliFITDigits for FIT digits
18 : // fTimeCFD, fTimeLED for PMT fNPMT
19 : // amplitude start fTimeQT0 and stop fTimeQT1
20 : ///////////////////////////////////////////////////////////////////////
21 :
22 : #include "AliFITDigit.h"
23 : #include "AliFIT.h"
24 :
25 4 : ClassImp(AliFITDigit)
26 :
27 : //-----------------------------------------------
28 0 : AliFITDigit::AliFITDigit() :AliDigit(),
29 0 : fTimeCFD(-1),
30 0 : fTimeLED(-1),
31 0 : fTimeQT0(-1),
32 0 : fTimeQT1(-1),
33 0 : fNPMT(-1)
34 0 : {
35 : // default contructor
36 0 : }
37 :
38 : //_____________________________________________________________________________
39 : AliFITDigit::AliFITDigit(Int_t npmt,
40 : Int_t timeCFD, Int_t timeLED, Int_t timeQT0,
41 : Int_t timeQT1 , Int_t *labels):
42 0 : AliDigit(),
43 0 : fTimeCFD(timeCFD),
44 0 : fTimeLED(timeLED),
45 0 : fTimeQT0(timeQT0),
46 0 : fTimeQT1(timeQT1),
47 0 : fNPMT(npmt)
48 0 : {
49 : // Constructor
50 : // Used in the digitizer
51 0 : if (labels)
52 0 : for(Int_t iTrack = 0; iTrack < 3; ++iTrack) fTracks[iTrack] = labels[iTrack];
53 0 : }
54 :
55 : //_____________________________________________________________________________
56 0 : AliFITDigit::~AliFITDigit() {
57 : // destructor
58 :
59 0 : }
|