]> git.uio.no Git - u/mrichter/AliRoot.git/blame - START/AliSTARTdigit.h
New version of CDB framework. Proper initialization of CDB inside AliSimulation and...
[u/mrichter/AliRoot.git] / START / AliSTARTdigit.h
CommitLineData
ef51244a 1#ifndef ALISTARTDIGIT_H
2#define ALISTARTDIGIT_H
971579f6 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
c345bb4f 7#include <TObject.h>
db173afc 8class TClonesArray;
0b73602e 9class TArrayI;
528332ba 10
971579f6 11//___________________________________________
db173afc 12class AliSTARTdigit: public TObject {
13 ////////////////////////////////////////////////////////////////////////
971579f6 14 public:
db173afc 15 AliSTARTdigit();
16 virtual ~AliSTARTdigit();
17 Int_t BestTimeRight() {return fBestTimeRight;}
18 Int_t BestTimeLeft() {return fBestTimeLeft;}
19 Int_t MeanTime() {return fTimeAverage;}
20 Int_t TimeDiff() {return fTimeDiff;}
21 void SetTimeBestRight( Int_t time) {fBestTimeRight = time;}
22 void SetTimeBestLeft( Int_t time) {fBestTimeLeft = time;}
23 void SetMeanTime(Int_t time) {fTimeAverage=time;}
24 void SetDiffTime(Int_t time) {fTimeDiff=time;}
25
26 virtual void SetTime (TArrayI &o);
27 virtual void GetTime (TArrayI &o);
28 virtual void SetADC (TArrayI &o);
29 virtual void GetADC (TArrayI &o);
30 virtual void SetSumMult( TArrayI &o);
31 virtual void GetSumMult( TArrayI &o);
32
33 virtual void SetTimeAmp (TArrayI &o);
34 virtual void GetTimeAmp (TArrayI &o);
35 virtual void SetADCAmp (TArrayI &o);
36 virtual void GetADCAmp (TArrayI &o);
37 private:
38
39 Int_t fBestTimeRight; // TOF first particle on the right
40 Int_t fBestTimeLeft; // TOF first particle on the left
41 Int_t fTimeAverage; // mean time (start signal)
42 Int_t fTimeDiff; // time difference (vertex position)
43
44 TArrayI *fTime; // array's TDC
45 TArrayI *fADC; // array's ADC
46 TArrayI *fTimeAmp; // array's TDC
47 TArrayI *fADCAmp; // array's ADC
48 TArrayI *fSumMult; //multiplisity
49
50 ClassDef(AliSTARTdigit,4) //Digit (Header) object for set:START
51 };
52
c345bb4f 53
971579f6 54#endif
c345bb4f 55
56
57
db173afc 58