]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliAnalysisTaskPhiCorr.cxx
Implement comparison of sim and rec CDB's, by default for the TPC/RecoParam only
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskPhiCorr.cxx
index db9f510e14f72ca3c0ca8634c96b075dad413942..26714507e9bfbff47b692d5bd0fbda9679575267 100644 (file)
@@ -1,3 +1,26 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/*
+ Simple use case for mixed event analysis
+ based on ESD or AOD
+ Delta_phi correlation analysis is performed on charged tracks 
+ for same and mixed events
+ Author: andreas.morsch@cern.ch 
+*/
+
 
 #include "TH1F.h"
 #include "TList.h"
@@ -49,7 +72,8 @@ void AliAnalysisTaskPhiCorr::UserExec(Option_t *)
     Int_t nev = fInputHandler->GetBufferSize();
     Float_t wgt = 1./(nev*(nev-1));
     fMixedEvent.Reset();
-    
+
+
     for (Int_t iev = 0; iev < nev; iev++) {
        AliAODEvent* aod = (AliAODEvent*) GetEvent(iev);
        fMixedEvent.AddEvent(aod);
@@ -76,6 +100,7 @@ void AliAnalysisTaskPhiCorr::UserExec(Option_t *)
        } // tarcks
       } // tracks
     } // more than 1 
+
   PostData(1, fHists);
 }