From: cvetan Date: Mon, 17 Nov 2008 12:36:53 +0000 (+0000) Subject: Possibility to apply an event selection based on a logical function of the trigger... X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=8a933107c3be79e6e4a7959145fe30f710280479 Possibility to apply an event selection based on a logical function of the trigger classes. The syntax is ?Trigger=, where function is a logical expression of the trigger classes identified by their names (as in the trigger config in OCDB). In case the trigger config is unavailable, one can still use the method by replacing the trigger classes names by [i], where i is the index of the trigger class in the trigger pattern word. --- diff --git a/STEER/AliReconstruction.cxx b/STEER/AliReconstruction.cxx index 061afe20702..2c858aba510 100644 --- a/STEER/AliReconstruction.cxx +++ b/STEER/AliReconstruction.cxx @@ -3102,6 +3102,7 @@ Bool_t AliReconstruction::GetEventInfo() if (trclass) { Int_t trindex = TMath::Nint(TMath::Log2(trclass->GetMask())); fesd->SetTriggerClass(trclass->GetName(),trindex); + if (fRawReader) fRawReader->LoadTriggerClass(trclass->GetName(),trindex); if (trmask & (1 << trindex)) { trclasses += " "; trclasses += trclass->GetName();