]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
compiling warnigs free
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Oct 2002 11:51:15 +0000 (11:51 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Oct 2002 11:51:15 +0000 (11:51 +0000)
START/AliSTARTDigitizer.cxx
START/AliSTARTdigit.h

index 65b473a1f4ea335f7469df87fb6c1180efce58aa..3ddbd92e76c1b6ec03e4e94e8585830d8782e3d3 100644 (file)
@@ -103,7 +103,7 @@ void AliSTARTDigitizer::Exec(Option_t* option)
   Float_t timeleft[13]={13*0};
   Float_t channelWidth=2.5; //ps
   Int_t channelWidthADC=1; //ps
   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); 
 
   ftimeRightTDC = new TArrayI(12); 
   ftimeLeftTDC = new TArrayI(12); 
@@ -210,12 +210,12 @@ void AliSTARTDigitizer::Exec(Option_t* option)
     
     besttimerightGaus=gRandom->Gaus(besttimeright,0.05);
     //    cout<<" besttimerightGaus "<<besttimerightGaus<<endl;
     
     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);
     
     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.;
     timediff=besttimerightGaus-besttimeleftGaus;
     cout<<" timediff in ns "<<timediff<<" z= "<<timediff*30<<endl;
     meanTime=(besttimerightGaus+besttimeleftGaus)/2.;
index 8a7c2e61766fa09398bd1fdc0c1b5c467348e01a..88d75683ce85492b95d4583f8d85aaa017282258 100644 (file)
@@ -15,11 +15,11 @@ class AliSTARTdigit: public TObject  {
     virtual ~AliSTARTdigit() {}
     void SetTimeDiff(Int_t time) {fTimeDiff=time;}
     void SetMeanTime(Int_t time) {fTimeAverage=time;}
     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;}
     void Print(); 
     void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
     void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}