Float_t timeleft[13]={13*0};
Float_t channelWidth=2.5; //ps
Int_t channelWidthADC=1; //ps
- Int_t thresholdAmpl=10;
+ // Int_t thresholdAmpl=10;
ftimeRightTDC = new TArrayI(12);
ftimeLeftTDC = new TArrayI(12);
besttimerightGaus=gRandom->Gaus(besttimeright,0.05);
// cout<<" besttimerightGaus "<<besttimerightGaus<<endl;
- bestRightADC=(Int_t) besttimerightGaus*1000/channelWidth;
+ bestRightADC=Int_t (besttimerightGaus*1000/channelWidth);
Float_t koef=69.7/350.;
besttimeleft=koef*besttimeleft;
besttimeleftGaus=gRandom->Gaus(besttimeleft,0.05);
- bestLeftADC=(Int_t) besttimeleftGaus*1000/channelWidth;
+ bestLeftADC=Int_t (besttimeleftGaus*1000/channelWidth);
timediff=besttimerightGaus-besttimeleftGaus;
cout<<" timediff in ns "<<timediff<<" z= "<<timediff*30<<endl;
meanTime=(besttimerightGaus+besttimeleftGaus)/2.;
virtual ~AliSTARTdigit() {}
void SetTimeDiff(Int_t time) {fTimeDiff=time;}
void SetMeanTime(Int_t time) {fTimeAverage=time;}
- Stat_t GetTimeDiff() {return fTimeDiff;}
- Stat_t GetMeanTime() {return fTimeAverage;}
- Stat_t GetBestTimeRight() {return fTimeBestRight ;}
- Stat_t GetBestTimeLeft() {return fTimeBestLeft ;}
- Stat_t GetSumADCRight() {return fSumADCRight ;}
+ Int_t GetTimeDiff() {return fTimeDiff;}
+ Int_t GetMeanTime() {return fTimeAverage;}
+ Int_t GetBestTimeRight() {return fTimeBestRight ;}
+ Int_t GetBestTimeLeft() {return fTimeBestLeft ;}
+ Int_t GetSumADCRight() {return fSumADCRight ;}
void Print();
void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}