From: alla Date: Tue, 13 Jul 2010 07:56:31 +0000 (+0000) Subject: warnings fixed X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=b5a9f753d92077cec01150463deccec04904304a;ds=sidebyside warnings fixed --- diff --git a/T0/AliT0Digitizer.cxx b/T0/AliT0Digitizer.cxx index 1dd37ca9c79..2c3ae6850dd 100644 --- a/T0/AliT0Digitizer.cxx +++ b/T0/AliT0Digitizer.cxx @@ -352,7 +352,7 @@ void AliT0Digitizer::Exec(Option_t* /*option*/) if (sumMult > threshold){ fSumMult = Int_t (1000.* TMath::Log(Double_t(sumMult) / Double_t(sumMultCoeff)) /channelWidth); - AliDebug(10,Form("summult mv %i mult in chammens %i in ps %i ", + AliDebug(10,Form("summult mv %i mult in chammens %i in ps %f ", sumMult, fSumMult, fSumMult*channelWidth)); } diff --git a/T0/AliT0RecoParam.cxx b/T0/AliT0RecoParam.cxx index 3061e368ead..82734d8e165 100644 --- a/T0/AliT0RecoParam.cxx +++ b/T0/AliT0RecoParam.cxx @@ -117,7 +117,7 @@ AliT0RecoParam *AliT0RecoParam::GetLowFluxParam() param->fLatencyL1A = 7781.90; param->fLatencyL1C = 7782.19; param->fLatencyHPTDC = 22000; - param->fVertexShift = 4.6; + param->fVertexShift = 0; for (Int_t i=0; i<500; i++) { param-> fLow[i]=0.; @@ -142,9 +142,8 @@ AliT0RecoParam *AliT0RecoParam::GetHighFluxParam() param->fLatencyL1 = 7782.05; param->fLatencyL1A = 7781.90; param->fLatencyL1C = 7782.19; + param->fVertexShift = 0; param->fLatencyHPTDC = 22000; - - param->fVertexShift = 4.6; for (Int_t i=0; i<500; i++) { param-> fLow[i]=0.; @@ -171,8 +170,8 @@ AliT0RecoParam *AliT0RecoParam::GetLaserTestParam() param->fLatencyL1A = 7781.90; param->fLatencyL1C = 7782.19; param->fLatencyHPTDC = 22000; - param->fVertexShift = 0; + for (Int_t i=0; i<500; i++) { param-> fLow[i]=0.; @@ -192,8 +191,8 @@ void AliT0RecoParam::PrintParameters() const // AliInfo(Form(" Reference amplitude for walk corerection : %f", fRefAmp)); AliInfo(Form(" Reference point in channel : %i", fRefPoint)); - AliInfo(Form(" Current latency : %i ns", fLatencyL1)); - AliInfo(Form(" HPTDC latency : %i ns", fLatencyHPTDC)); + AliInfo(Form(" Current latency : %f ns", fLatencyL1)); + AliInfo(Form(" HPTDC latency : %f ns", fLatencyHPTDC)); // cout<<" AliT0RecoParam::PrintParameters() "<Eval(sl); Double_t qtMip = ((TGraph*)fQTC.At(ipmt))->Eval(adc[ipmt]); - AliDebug(10,Form(" Amlitude in MIPS LED %f , QTC %f in channels %i\n ",ampMip,qtMip, adc[ipmt])); + AliDebug(10,Form(" Amlitude in MIPS LED %f , QTC %f in channels %f\n ",ampMip,qtMip, adc[ipmt])); frecpoints->SetTime(ipmt, Float_t(time[ipmt]) ); frecpoints->SetAmp(ipmt, Float_t( ampMip)); //for cosmic &pp beam @@ -210,7 +210,7 @@ void AliT0Reconstructor::Reconstruct(TTree*digitsTree, TTree*clustersTree) const //online mean frecpoints->SetOnlineMean(Int_t(onlineMean)); - AliDebug(10,Form(" timeDiff %i #channel, meanTime %i #channel, vertex %f cm online mean %i timeclock %i ps",timeDiff, meanTime,vertex, Int_t(onlineMean), timeclock)); + AliDebug(10,Form(" timeDiff %f #channel, meanTime %f #channel, vertex %f cm online mean %i timeclock %f ps",timeDiff, meanTime,vertex, Int_t(onlineMean), timeclock));