}
else if(k==1)
{
- float psi1 ; float psi2 ;
+ float psi1 = 0. ; float psi2 = 0. ;
if (j==0) { psi1 = fPsi[0][0] ; psi2 = fPsi[1][1] ; }
else if(j==1) { psi1 = fPsi[0][0] ; psi2 = fPsi[0][1] ; }
float diff = psi1 - psi2 ;
if(j < Flow::nHars - 1) // subevents of different harmonics
{
- int j1, j2;
+ int j1 = 0 ; int j2 = 0 ;
float psiSubCorrDiff;
if(j==0) { j1 = 1, j2 = 2 ; }
else if(j==1) { j1 = 1, j2 = 3 ; }
bool oddHar = (j+1) % 2;
fFlowSelect->SetHarmonic(j);
double order = (double)(j+1);
- float psi_i, psi_2;
+ float psi_i = 0. ; float psi_2 = 0. ;
if(fFlowEvent->EtaSubs()) // particles with the opposite subevent
{
if(eta > 0) { psi_i = fPsiSub[1][k][j] ; } //check
{
// Weight for enhancing the resolution (eta gives sign +/- for Odd Harmonics)
+ if(selN>Flow::nSels) { selN = 0 ; }
bool oddHar = (harN+1) % 2 ;
Double_t phiWgt = 1. ;
if(PtWgt())
// Positive multiplicity in the interval (-eta..eta)
// (default is Flow::fEetaGood = 0.9)
- Int_t posMult ;
+ Int_t posMult = 0 ;
for(Int_t itr=0;itr<TrackCollection()->GetEntries();itr++)
{
AliFlowTrack* pFlowTrack ;
#include "AliESDtrack.h"
#include "AliESDv0.h"
#include "AliKalmanTrack.h"
-//#include "AliRun.h"
-//#include "AliRunLoader.h"
-//#include "AliMagFMaps.h"
-//#include "AliITStrackV2.h"
// Flow things
#include "AliFlowEvent.h"
#include "AliFlowMaker.h"
// ANSI things
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
Bool_t AliFlowMaker::CheckV0(AliESDv0* fV0)
{
// applies v0 cuts (dummy)
+
+ if(!fV0) { return kFALSE ; }
return kTRUE ;
}
Bool_t AliFlowMaker::CheckEvent(AliESD* fESD)
{
// applies event cuts (dummy)
+
+ if(!fESD) { return kFALSE ; }
return kTRUE ;
}
{
// Returns kTRUE if the v0 is selected. (dummy)
+ if(!pFlowV0) { return kFALSE ; }
return kTRUE ;
}
//-----------------------------------------------------------------------
#include "AliFlowWeighter.h"
// ANSI things
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>