Fixes for c++11
authorhristov <Peter.Hristov@cern.ch>
Tue, 13 Jan 2015 20:33:55 +0000 (21:33 +0100)
committerhristov <Peter.Hristov@cern.ch>
Tue, 13 Jan 2015 20:34:06 +0000 (21:34 +0100)
PWGCF/EBYE/PIDFluctuation/task/AliEbyENetChargeFluctuationTask.cxx
PWGHF/hfe/AliAnalysisTaskFlowTPCEMCalEP.cxx
PWGLF/RESONANCES/extra/AliAnalysisTaskLambdaStar.cxx
STARLIGHT/starlight/src/gammagammaleptonpair.cpp
TTherminator/CMakeLists.txt

index b8e5ac2..375efeb 100644 (file)
@@ -1299,7 +1299,7 @@ void  AliEbyENetChargeFluctuationTask::CreateGroupHistos(const Char_t *name, con
 
 
   TString strTit(title);
-  Float_t etaRange[2] = {fEtaMin, fEtaMax};
+  Float_t etaRange[2] = {(Float_t)fEtaMin, (Float_t)fEtaMax};
   
   //TList *list[4];
   fPhyList->Add(new TList);
index 32564c4..46dfc90 100644 (file)
@@ -628,7 +628,7 @@ void AliAnalysisTaskFlowTPCEMCalEP::UserExec(Option_t*)
     if(!fPID->IsSelected(&hfetrack, NULL, "", fPIDqa)) pidpassed = 0;
 
     if (m20>0.02 && m02>0.02){
-      Double_t corr[7]={iCent,iPt,fTPCnSigma,fEMCalnSigma,m02,dphi,cosdphi};
+      Double_t corr[7]={(Double_t)iCent,(Double_t)iPt,fTPCnSigma,fEMCalnSigma,m02,dphi,cosdphi};
       fCorr->Fill(corr);
     }
   
index dff99c5..2f4d007 100644 (file)
@@ -1549,7 +1549,7 @@ void AliAnalysisTaskLambdaStar::ResoBufferTrack::GetShiftedPositionAtShiftedRadi
 //________________________________________________________________________
 void AliAnalysisTaskLambdaStar::ResoBufferTrack::Set(const AliAODTrack *track,const Float_t bfield,const Double_t priVtx[3]){
   // Overloaded function
-  Float_t priVtxPos[3]={priVtx[0],priVtx[1],priVtx[2]};
+  Float_t priVtxPos[3]={(Float_t)priVtx[0],(Float_t)priVtx[1],(Float_t)priVtx[2]};
   Set(track,bfield,priVtxPos);
 }
 
index e4a751b..8413097 100644 (file)
@@ -558,7 +558,7 @@ starlightConstants::event Gammagammaleptonpair::produceEvent(int &ievent)
     twoBodyDecay(ipid,pairE,comenergy,pairmomx,pairmomy,pairmomz,px1,py1,pz1,E1,px1,px2,py2,E2,mdec,iFbadevent);
     if (iFbadevent==0){
       const bool xtest(randyInstance.Rndom() < 0.5);
-      const bool charges[2] = {
+      const int charges[2] = {
        ( xtest) ? +1 : -1,
        (!xtest) ? -1 : +1
       };
index 1365c11..99c5752 100644 (file)
@@ -56,7 +56,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
 
 # Generate the ROOT map
 # Dependecies
-set(LIBDEPS STEERBase STEER EVGEN Reflex Html TreePlayer XMLParser)
+set(LIBDEPS STEERBase STEER EVGEN Html TreePlayer XMLParser)
 generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
 
 # Add a library to the project using the specified source files