warnings fixed
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Feb 2011 13:28:27 +0000 (13:28 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Feb 2011 13:28:27 +0000 (13:28 +0000)
T0/AliT0CalibSeasonTimeShift.cxx
T0/AliT0DataDCS.cxx
T0/AliT0Digitizer.cxx

index d4f71a6..e67bd7d 100644 (file)
@@ -104,8 +104,6 @@ void  AliT0CalibSeasonTimeShift::SetT0Par(Float_t par[4],Float_t spar[4])
 //________________________________________________________________
 void AliT0CalibSeasonTimeShift::SetT0Par(const char* filePhys)
 {
-  // compute online equalized time
-  Float_t mean[4], sigma[4];
 
   gFile = TFile::Open(filePhys);
   if(!gFile) {
index d3fbe0b..1da7ee8 100644 (file)
@@ -507,9 +507,9 @@ Bool_t AliT0DataDCS::ProcessData(TMap& aliasMap)
                     for(Int_t l=0; l<aliasEntr[j]; l++)
                     {
                       AliDCSValue *aValue=dynamic_cast<AliDCSValue*> (aliasArr->At(l));
-                      t0MPDcentA +=  aValue->GetFloat();
+                      t0MPDcentA +=  Int_t(aValue->GetFloat());
                     }
-                    fMPDcentA = t0MPDcentA /((Float_t) aliasEntr[j]);
+                    fMPDcentA =Int_t( t0MPDcentA /((Float_t) aliasEntr[j]) );
                   }
                  else if (j < 2*kScalers+4*kHV+4*kLV+4*kCFD+kTRM+kDRM+3*kAtten)
                   {
index 2c3ae68..179dfa6 100644 (file)
@@ -314,7 +314,7 @@ void AliT0Digitizer::Exec(Option_t* /*option*/)
          qtCh = gr1->Eval(qt);
          fADC0->AddAt(0,i);
          if(qtCh)
-           fADC->AddAt(qtCh,i);
+           fADC->AddAt(Int_t(qtCh),i);
          //      sumMult += Int_t ((al*gain[i]/ph2Mip)*50) ;
          sumMult += Int_t (qtCh/sumMultCoeff)  ;
         
@@ -323,7 +323,7 @@ void AliT0Digitizer::Exec(Option_t* /*option*/)
          Float_t slew=fu->Eval(Float_t(qtCh));
 
          //      trCFD=trCFD-Int_t(fMaxValue[i]-slew);
-         trCFD = trCFD + slew; //for the same channel as cosmic
+         trCFD = trCFD + Int_t(slew); //for the same channel as cosmic
          ftimeCFD->AddAt(Int_t (trCFD),i);
          trLED = Int_t(trCFD  + sl );
          ftimeLED->AddAt(trLED,i);