#include <TObjString.h>
#include <TObjArray.h>
#include <TClass.h>
-#include <iostream.h>
+#include <Riostream.h>
#include "AliHBTParticleCut.h"
}
//if no particle is specified, we pass all particles
//excluding NULL pointers, of course
-
+ if ( fCuts->GetEntriesFast() == 0 ) return kFALSE; //if no cut specified accept all particles
for(Int_t i=0; i<fCuts->GetEntriesFast(); i++)
{
AliHBTParticleCut &cut = *((AliHBTParticleCut*)fCuts->At(i));
if(pid == 0)
return kTRUE;
+
+ if ( fCuts->GetEntriesFast() == 0 ) return kFALSE; //if no cut specified accept all particles
for(Int_t i=0; i<fCuts->GetEntriesFast(); i++)
{