]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FIT/AliFITDigit.cxx
- Add simple QA to the trigger patch maker and set the default to
[u/mrichter/AliRoot.git] / FIT / AliFITDigit.cxx
CommitLineData
c1c44db3 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
25ClassImp(AliFITDigit)
26
27//-----------------------------------------------
28 AliFITDigit::AliFITDigit() :AliDigit(),
29 fTimeCFD(-1),
30 fTimeLED(-1),
31 fTimeQT0(-1),
32 fTimeQT1(-1),
33 fNPMT(-1)
34{
35 // default contructor
36}
37
38//_____________________________________________________________________________
39AliFITDigit::AliFITDigit(Int_t npmt,
40 Int_t timeCFD, Int_t timeLED, Int_t timeQT0,
41 Int_t timeQT1 , Int_t *labels):
42 AliDigit(),
43 fTimeCFD(timeCFD),
44 fTimeLED(timeLED),
45 fTimeQT0(timeQT0),
46 fTimeQT1(timeQT1),
47 fNPMT(npmt)
48{
49 // Constructor
50 // Used in the digitizer
51 if (labels)
52 for(Int_t iTrack = 0; iTrack < 3; ++iTrack) fTracks[iTrack] = labels[iTrack];
53}
54
55//_____________________________________________________________________________
56AliFITDigit::~AliFITDigit() {
57 // destructor
58
59}