X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliInputEventHandler.cxx;h=9a163e8e80f6a90782d8be99f3dd7c3df5c7f7fb;hb=961fb9b8cd68336ecf6ee22d4295d324f4093e1d;hp=3cd61adc9d7a5d7bad93edc64e0bf6656979d6f6;hpb=f0ee78b08b3e903b93ef70ea73ceaa6104552ec4;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliInputEventHandler.cxx b/STEER/AliInputEventHandler.cxx index 3cd61adc9d7..9a163e8e80f 100644 --- a/STEER/AliInputEventHandler.cxx +++ b/STEER/AliInputEventHandler.cxx @@ -23,8 +23,10 @@ #include "AliInputEventHandler.h" #include "AliVEvent.h" +#include "AliVCuts.h" #include "AliLog.h" + ClassImp(AliInputEventHandler) //______________________________________________________________________________ @@ -33,7 +35,10 @@ AliInputEventHandler::AliInputEventHandler() : fTree(0), fBranches(""), fBranchesOn(""), - fNewEvent(kTRUE) + fNewEvent(kTRUE), + fEventCuts(0), + fIsSelectedResult(0), + fMixingHandler(0) { // default constructor } @@ -50,8 +55,12 @@ AliInputEventHandler::AliInputEventHandler(const char* name, const char* title): fTree(0), fBranches(""), fBranchesOn(""), - fNewEvent(kTRUE) + fNewEvent(kTRUE), + fEventCuts(0), + fIsSelectedResult(0), + fMixingHandler(0) { +// Named constructor. } void AliInputEventHandler::SwitchOffBranches() const { @@ -64,8 +73,9 @@ 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 { @@ -79,11 +89,20 @@ 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(); +}