1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
17 /////////////////////////////////////////////////////////////////////////
18 // Class AliSTARTRecPoint for START time and ADC signals
19 // fTimeRight - right side TOF signal
20 // fTimeLeft - left side TOF signal
21 // fTimeBestRight - TOF first particle on the right side
22 // TimeBestLeft - TOF first particle on the left side
23 // fTimeAverage = (fTimeBestRight + TimeBestLeft ) /2. START signal
24 // fVertex - vertex position
26 ///////////////////////////////////////////////////////////////////////
32 #include "AliSTARTRecPoint.h"
33 #include <Riostream.h>
35 ClassImp(AliSTARTRecPoint)
37 //------------------------------------
38 AliSTARTRecPoint::AliSTARTRecPoint() : TObject()
45 fTime = new TArrayI(24);
46 fADC = new TArrayI(24);
48 //-----------------------------------
49 AliSTARTRecPoint::~AliSTARTRecPoint() {
54 //-----------------------------------
55 void AliSTARTRecPoint::SetTime (TArrayI &o)
57 ////////////////////////////////////////
66 //--------------------------------------------
67 void AliSTARTRecPoint::GetTime (TArrayI &o)
76 //--------------------------------------------
77 void AliSTARTRecPoint::GetADC (TArrayI &o)
86 //--------------------------------------------
87 void AliSTARTRecPoint::SetADC (TArrayI &o)
91 // Float_t fProcessKoef=1; // for pb 0.001