]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Moved the call to StoreMCParticles to ANALYSIS/AnalysisTaskMCParticleFilter to allow...
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Nov 2009 17:21:22 +0000 (17:21 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Nov 2009 17:21:22 +0000 (17:21 +0000)
STEER/AliAODHandler.cxx
STEER/AliAODHandler.h

index bb320a72b15cdc9e106a596cf4503dd10506d037..95e2186a2f0d279b8d6b255662415f5f3ed4eb60 100644 (file)
@@ -372,7 +372,7 @@ Bool_t AliAODHandler::FinishEvent()
   // Fill data structures
   if(fFillAOD){
     fAODEvent->MakeEntriesReferencable();
-    StoreMCParticles();
+    // StoreMCParticles();
     FillTree();
     if (fExtensions) {
       TIter next(fExtensions);
index adffa090c28b5fd3a1accf25660479920594a449..6692201dbd849e748eb8e7864504e7793d770065 100644 (file)
@@ -78,8 +78,9 @@ class AliAODHandler : public AliVEventHandler {
     //
     void                 SetInputTree(TTree* /*tree*/) {;}
     void                 SetMCEventHandler(AliMCEventHandler* mcH) {fMCEventH = mcH;} // For internal use
+    void StoreMCParticles(); // Store MC particles, only to be called from AliAnalyisTaskMCParticleFilter
+
  private:
-    void StoreMCParticles();
     void SetMCHeaderInfo(AliAODMCHeader *mcHeader,AliGenEventHeader *genHeader); // Utility function t catch different types of eventheaders
     AliAODHandler(const AliAODHandler&);             // Not implemented
     AliAODHandler& operator=(const AliAODHandler&);  // Not implemented