]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliAnalysisTaskFilterFriend.cxx
- Changes in the calibration framework to write the filtered friends in a
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskFilterFriend.cxx
index 628cde3d7a4c2bbd29852bf3a529f548488b89fa..5eab6a853145007cf76d48c398283d5108015c96 100644 (file)
@@ -110,11 +110,9 @@ void AliAnalysisTaskFilterFriend::UserExec(Option_t */*option*/)
                return;
        } 
        // attach ESDfriend
-       AliESDEvent* esdEventOutput = (AliESDEvent*)ESDEvent();
        
        AliESDfriend* esdFriendOutput = (AliESDfriend*)ESDfriend();  
        AliInfo(Form("Number of ESD tracks in input = %d ",fESDInput->GetNumberOfTracks()));
-       AliInfo(Form("Number of ESD tracks in output = %d ",esdEventOutput->GetNumberOfTracks()));
        AliInfo(Form("Number of tracks in input friends = %d ",fESDfriendInput->GetNumberOfTracks()));
        AliInfo(Form("Number of tracks in output friendsNew before filtering = %d ",esdFriendOutput->GetNumberOfTracks()));
        
@@ -124,7 +122,6 @@ void AliAnalysisTaskFilterFriend::UserExec(Option_t */*option*/)
                if (i%2 ==0){
                        // keep friend
                        AliInfo(Form("Keeping %d-th track",i));
-                       esdEventOutput->GetTrack(i);
                        AliESDfriendTrack* tOld = (AliESDfriendTrack*)fESDfriendInput->GetTrack(i);
                        AliDebug(2,Form("1P of the %d-th track = %f",i,tOld->Get1P()));
                        AliInfo(Form("1P of the %d-th track = %f",i,tOld->Get1P()));