Changes to comply with coding convention
[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>
0b73602e 8class TArrayI;
528332ba 9
971579f6 10//___________________________________________
c345bb4f 11class AliSTARTdigit: public TObject {
971579f6 12////////////////////////////////////////////////////////////////////////
971579f6 13 public:
e73d68f2 14 AliSTARTdigit();
7a18b6a5 15 virtual ~AliSTARTdigit();
e73d68f2 16 void SetMeanTime(Int_t time) {fTimeAverage=time;}
1ab4b835 17 Int_t GetMeanTime() {return fTimeAverage;}
18 Int_t GetBestTimeRight() {return fTimeBestRight ;}
19 Int_t GetBestTimeLeft() {return fTimeBestLeft ;}
20 Int_t GetSumADCRight() {return fSumADCRight ;}
e73d68f2 21 void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
22 void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}
23 void SetSumADCRight( Int_t ADC) {fSumADCRight = ADC;}
24 // void SetProcessKoef( Float_t pp) {fProcessKoef = pp;}
e4da63c2 25 virtual void SetTime (TArrayI &o);
26 virtual void GetTime (TArrayI &o);
27 virtual void SetADC (TArrayI &o);
28 virtual void GetADC (TArrayI &o);
29 virtual const char* GetName() const {return "START_D";}
e73d68f2 30 private:
31 // Float_t fProcessKoef; // for pp fProcessKoef=1 ; for Pb-Pb - 0.001
32 Int_t fTimeAverage; // Average time
e73d68f2 33 Int_t fTimeBestRight; //TOF first particle on the right
34 Int_t fTimeBestLeft; //TOF first particle on the left
35 Int_t fSumADCRight; // multiplicity on the right side
e4da63c2 36 TArrayI *fTime; // array's TDC
37 TArrayI *fADC; // array's ADC
c345bb4f 38
1818fe67 39 ClassDef(AliSTARTdigit,2) //Digit (Header) object for set:START
971579f6 40};
c345bb4f 41
c345bb4f 42
971579f6 43#endif
c345bb4f 44
45
46