ClassImp(AlidNdEtaCorrectionSelector)
AlidNdEtaCorrectionSelector::AlidNdEtaCorrectionSelector() :
- AliSelector(),
+ AliSelectorRL(),
fEsdTrackCuts(0),
fdNdEtaCorrection(0),
fdNdEtaCorrectionFinal(0)
// When running with PROOF Begin() is only called on the client.
// The tree argument is deprecated (on PROOF 0 is passed).
- AliSelector::Begin(tree);
+ AliSelectorRL::Begin(tree);
}
void AlidNdEtaCorrectionSelector::SlaveBegin(TTree * tree)
// When running with PROOF SlaveBegin() is called on each slave server.
// The tree argument is deprecated (on PROOF 0 is passed).
- AliSelector::SlaveBegin(tree);
+ AliSelectorRL::SlaveBegin(tree);
fdNdEtaCorrection = new dNdEtaCorrection();
- if (fChain)
- fEsdTrackCuts = dynamic_cast<AliESDtrackCuts*> (fChain->GetUserInfo()->FindObject("AliESDtrackCuts"));
+ if (fTree)
+ fEsdTrackCuts = dynamic_cast<AliESDtrackCuts*> (fTree->GetUserInfo()->FindObject("AliESDtrackCuts"));
if (!fEsdTrackCuts)
AliDebug(AliLog::kError, "ERROR: Could not read EsdTrackCuts from user info");
// WARNING when a selector is used with a TChain, you must use
// the pointer to the current TTree to call GetEntry(entry).
// The entry is always the local entry number in the current tree.
- // Assuming that fChain is the pointer to the TChain being processed,
- // use fChain->GetTree()->GetEntry(entry).
+ // Assuming that fTree is the pointer to the TChain being processed,
+ // use fTree->GetTree()->GetEntry(entry).
- if (AliSelector::Process(entry) == kFALSE)
+ if (AliSelectorRL::Process(entry) == kFALSE)
return kFALSE;
// check prerequesites
// have been processed. When running with PROOF SlaveTerminate() is called
// on each slave server.
- AliSelector::SlaveTerminate();
+ AliSelectorRL::SlaveTerminate();
// Add the histograms to the output on each slave server
if (!fOutput)
// a query. It always runs on the client, it can be used to present
// the results graphically or save the results to file.
- AliSelector::Terminate();
+ AliSelectorRL::Terminate();
fdNdEtaCorrectionFinal = dynamic_cast<dNdEtaCorrection*> (fOutput->FindObject("dndeta_correction"));