]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix fcollisiontype assignment bug
authordgangadh <dhevan.raja.gangadharan@cern.ch>
Wed, 1 Oct 2014 10:18:57 +0000 (12:18 +0200)
committerdgangadh <dhevan.raja.gangadharan@cern.ch>
Wed, 1 Oct 2014 10:18:57 +0000 (12:18 +0200)
PWGCF/FEMTOSCOPY/Chaoticity/AliFourPion.cxx
PWGCF/FEMTOSCOPY/Chaoticity/AliFourPion.h

index 31f2d31a9c88b4d582519b21341a13105848c602..a6b293d4574d236ccf792bf96b4282b162ac6fcf 100755 (executable)
@@ -956,8 +956,7 @@ void AliFourPion::ParInit()
        ExchangeAmpPointSource[i][j]->FixParameter(2, fPbPbc3FitEA->GetBinContent(i+1, 3, j+1));
        ExchangeAmpPointSource[i][j]->FixParameter(3, fPbPbc3FitEA->GetBinContent(i+1, 4, j+1));
        ExchangeAmpPointSource[i][j]->FixParameter(4, 0);
-      }
-      else if(fCollisionType==1){
+      }else if(fCollisionType==1){
        ExchangeAmpPointSource[i][j]->FixParameter(0, fpPbc3FitEA->GetBinContent(i+1, 1, j+1));
        ExchangeAmpPointSource[i][j]->FixParameter(1, fpPbc3FitEA->GetBinContent(i+1, 2, j+1));
        ExchangeAmpPointSource[i][j]->FixParameter(2, fpPbc3FitEA->GetBinContent(i+1, 3, j+1));
@@ -972,7 +971,7 @@ void AliFourPion::ParInit()
       }
     }
   }
-  
   /////////////////////////////////////////////
   /////////////////////////////////////////////
   
index 3b9ecac0e915a2bc4305cb175a82ece1c84490cf..04ecfe616e8a2612e9e43d77afeb73d35524e37f 100755 (executable)
@@ -81,7 +81,7 @@ class AliFourPion : public AliAnalysisTaskSE {
   void SetMCdecision(Bool_t mc) {fMCcase = mc;}
   void SetTabulatePairs(Bool_t tabulate) {fTabulatePairs = tabulate;}
   void SetInterpolationType(Bool_t linearInterp) {fLinearInterpolation = linearInterp;}
-  void SetCollisionType(Bool_t ct) {fCollisionType = ct;}
+  void SetCollisionType(Short_t ct) {fCollisionType = ct;}
   void SetGenerateSignal(Bool_t gen) {fGenerateSignal = gen;}
   void SetGeneratorOnly(Bool_t genOnly) {fGeneratorOnly = genOnly;}
   void SetCentBinRange(Int_t low, Int_t high) {fCentBinLowLimit = low; fCentBinHighLimit = high;}