#include "AliAODEvent.h"
#include "AliESDEvent.h"
#include "AliVEventPool.h"
+#include "AliVCuts.h"
#include "AliLog.h"
#include <TObjArray.h>
#include <TTree.h>
fCurrentEvt(0),
fInit(0),
fEventPool(0),
- fEventBuffer(0)
+ fEventBuffer(0),
+ fEventSkipped(0)
{
// Default constructor
}
fCurrentEvt(0),
fInit(0),
fEventPool(0),
- fEventBuffer(0)
+ fEventBuffer(0),
+ fEventSkipped(0)
{
// constructor
}
fCurrentEvt(0),
fInit(0),
fEventPool(0),
- fEventBuffer(0)
+ fEventBuffer(0),
+ fEventSkipped(0)
{
// Constructor
fCurrentBin = fEventPool->BinNumber();
fNBuffered = 0;
}
+ //
+ // Event selection
+ //
+ if (fFormat == 0) {
+ fIsSelectedResult = 0;
+ if (fEventCuts && !IsUserCallSelectionMask())
+ fIsSelectedResult =
+ fEventCuts->GetSelectionMask((AliESDEvent*)fEventBuffer[fIndex]);
+ }
+
return kTRUE;
}
{
//
// Connect the next event in the buffer to the tree
- fIndex++;
-
+ if (!fEventSkipped) fIndex++;
fIndex %= fBufferSize;
+
AliInfo(Form("Connecting buffer entry %5d", fIndex));
fEventBuffer[fIndex]->Clear();
fCurrentEvt++;