]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
AliMCEventHandler::fPreReadMode was not streamable, so using the analysis plugin...
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Apr 2012 08:12:03 +0000 (08:12 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Apr 2012 08:12:03 +0000 (08:12 +0000)
STEER/STEERBase/AliMCEvent.cxx
STEER/STEERBase/AliMCEventHandler.h

index e77ef874fdef56f38f2522d9a318eb7364752fc0..df2b98209b80db5dce552d117cc2d2f8ea0f125b 100644 (file)
@@ -683,6 +683,7 @@ void AliMCEvent::PreReadAll()
 {
     // Preread the MC information
     Int_t i;
+    AliInfo(Form("AliMCEvent::PreReadAll: %d tracks\n", fStack->GetNtrack()));
     // secondaries
     for (i = fStack->GetNprimary(); i < fStack->GetNtrack(); i++) 
     {
@@ -693,6 +694,7 @@ void AliMCEvent::PreReadAll()
     {
        GetTrack(i);
     }
+    AliInfo("AliMCEvent::PreReadAll done\n");
 }
 
 const AliVVertex * AliMCEvent::GetPrimaryVertex() const 
index de9fad6b10c86de42bde81c9cbda3c65c213ea5a..c10d47d9285ad9c7a12d0b18745c27fb0d438e28 100644 (file)
@@ -103,9 +103,9 @@ private:
     Bool_t                 fInitOk;             // Initialization ok
     TList                 *fSubsidiaryHandlers; //! List of subsidiary MC handlers (for example for Background)
     Int_t                  fEventsInContainer;  //! Number of events in container class
-    PreReadMode_t          fPreReadMode;        //! Pre reading mode
+    PreReadMode_t          fPreReadMode;        // Pre reading mode
     
-    ClassDef(AliMCEventHandler,1)  //MC Truth EventHandler class
+    ClassDef(AliMCEventHandler,2)  //MC Truth EventHandler class
 };
 #endif