#include "AliInputEventHandler.h"
#include "AliVEvent.h"
+#include "AliVCuts.h"
#include "AliLog.h"
+
ClassImp(AliInputEventHandler)
//______________________________________________________________________________
fTree(0),
fBranches(""),
fBranchesOn(""),
- fNewEvent(kTRUE)
+ fNewEvent(kTRUE),
+ fEventCuts(0),
+ fIsSelectedResult(0),
+ fMixingHandler(0)
{
// default constructor
}
fTree(0),
fBranches(""),
fBranchesOn(""),
- fNewEvent(kTRUE)
+ fNewEvent(kTRUE),
+ fEventCuts(0),
+ fIsSelectedResult(0),
+ fMixingHandler(0)
{
+// Named constructor.
}
void AliInputEventHandler::SwitchOffBranches() const {
if (str.Length() == 0)
continue;
fTree->SetBranchStatus(Form("%s%s%s","*", str.Data(), "*"), 0);
- AliInfo(Form("Branch %s switched off \n", str.Data()));
+ AliDebug(1,Form("Branch %s switched off", str.Data()));
}
+ delete tokens;
}
void AliInputEventHandler::SwitchOnBranches() const {
if (str.Length() == 0)
continue;
fTree->SetBranchStatus(Form("%s%s%s","*", str.Data(), "*"), 1);
- AliInfo(Form("Branch %s switched on \n", str.Data()));
+ AliDebug(1,Form("Branch %s switched on", str.Data()));
}
+ delete tokens;
}
-
-
+TObject *AliInputEventHandler::GetStatistics(Option_t *) const
+{
+// Returns the statistics object(s) (TH2F histogram) produced by the physics
+// selection. Implementations both for ESD and AOD input handlers.
+ return NULL;
+}
+
Long64_t AliInputEventHandler::GetReadEntry() const
-{return fTree->GetReadEntry();}
+{
+ // Get the current entry.
+ return fTree->GetReadEntry();
+}