Skip to content

Commit

Permalink
New analysis tag v5-04-40-AN
Browse files Browse the repository at this point in the history
  • Loading branch information
morsch committed Mar 18, 2013
2 parents 4be1811 + 9f7e029 commit 09543fa
Show file tree
Hide file tree
Showing 32 changed files with 1,485 additions and 286 deletions.
2 changes: 1 addition & 1 deletion ANALYSIS/AliAnalysisManager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Int_t AliAnalysisManager::GetEntry(Long64_t entry, Int_t getall)
fCurrentEntry = entry;
if (!fAutoBranchHandling)
return 123456789;
if (!fTree) return -1;
if (!fTree || !fTree->GetTree()) return -1;
fIOTimer->Start(kTRUE);
Long64_t readbytes = fTree->GetTree()->GetEntry(entry, getall);
fIOTimer->Stop();
Expand Down
1 change: 1 addition & 0 deletions ANALYSIS/AliCentralitySelectionTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,7 @@ void AliCentralitySelectionTask::UserExec(Option_t */*option*/)
TList* headers = ((AliGenCocktailEventHeader*)mcGenH)->GetHeaders();
hHijing = dynamic_cast<AliGenHijingEventHeader*>(headers->FindObject("Hijing"));
if (!hHijing) hHijing = dynamic_cast<AliGenHijingEventHeader*>(headers->FindObject("Hijing pPb_0"));
if (!hHijing) hHijing = dynamic_cast<AliGenHijingEventHeader*>(headers->FindObject("Hijing_0"));
}
else if (mcGenH->InheritsFrom(AliGenDPMjetEventHeader::Class())) {
dpmHeader = (AliGenDPMjetEventHeader*)mcGenH;
Expand Down
1 change: 1 addition & 0 deletions ANALYSIS/AliEPSelectionTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ void AliEPSelectionTask::UserExec(Option_t */*option*/)
}

esdEP = aod->GetHeader()->GetEventplaneP();
if(!esdEP) return; // protection against missing EP branch (nanoAODs)
esdEP->Reset();

Int_t maxID = 0;
Expand Down
2 changes: 1 addition & 1 deletion ANALYSIS/AliPhysicsSelectionTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,5 @@ void AliPhysicsSelectionTask::Terminate(Option_t *)
fout->Write();
fout->Close();

Printf("Writting result to event_stat.root");
Printf("Writing result to event_stat.root");
}
Loading

0 comments on commit 09543fa

Please sign in to comment.