Bug fix
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Feb 2011 02:08:58 +0000 (02:08 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Feb 2011 02:08:58 +0000 (02:08 +0000)
Alexander

TPC/AliTPCcalibGainMult.cxx

index 2972ee8..e943fb7 100644 (file)
@@ -283,7 +283,7 @@ void AliTPCcalibGainMult::Process(AliESDEvent *event) {
       // "dEdxRatioMax","dEdxRatioTot","padType","mult","driftlength", "1_pt"
       Float_t meanMax = (1/3.)*(signalArrayMax[0] + signalArrayMax[1] + signalArrayMax[2]);
       Float_t meanTot = (1/3.)*(signalArrayTot[0] + signalArrayTot[1] + signalArrayTot[2]); 
-      if (meanMax || meanTot < 1e-5) continue;
+      if (meanMax < 1e-5 || meanTot < 1e-5) continue;
       for(Int_t ipad = 0; ipad < 4; ipad ++) {
        Double_t vecPadEqual[6] = {signalArrayMax[ipad]/meanMax, signalArrayTot[ipad]/meanTot, ipad, nContributors, meanDrift, track->OneOverPt()};
        fHistPadEqual->Fill(vecPadEqual);
@@ -347,6 +347,9 @@ void AliTPCcalibGainMult::Process(AliESDEvent *event) {
 }  
 
 
+void AliTPCcalibGainMult::MakeLookup(THnSparse * hist, Char_t * outputFile) {
+
+}
 
 
 void AliTPCcalibGainMult::Analyze() {