]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDInputHandler.cxx
Fix fixed-string length bug
[u/mrichter/AliRoot.git] / STEER / AliESDInputHandler.cxx
index 38ad840996e1d510b22e022e46241e88d174170d..e6e86712113532dc89cc2ea67fedb283c39b6e17 100644 (file)
@@ -23,6 +23,7 @@
 #include <TTree.h>
 #include <TString.h>
 #include <TObjString.h>
+#include <TProcessID.h>
 
 #include "AliESDInputHandler.h"
 #include "AliESDEvent.h"
@@ -50,8 +51,9 @@ AliESDInputHandler::~AliESDInputHandler()
 
 //______________________________________________________________________________
 AliESDInputHandler::AliESDInputHandler(const char* name, const char* title):
-    AliInputEventHandler(name, title), fEvent(0x0), fBranches(""), fBranchesOn("")
+  AliInputEventHandler(name, title), fEvent(0x0), fBranches(""), fBranchesOn("")
 {
+    // Constructor
 }
 
 Bool_t AliESDInputHandler::Init(TTree* tree,  Option_t* /*opt*/)
@@ -85,9 +87,11 @@ Bool_t AliESDInputHandler::BeginEvent(Long64_t /*entry*/)
   return kTRUE;
 }
 
-Bool_t  AliESDInputHandler::FinishEvent(){
-  if(fEvent)fEvent->Reset();
-  return kTRUE;
+Bool_t  AliESDInputHandler::FinishEvent()
+{
+    // Finish the event 
+    if(fEvent)fEvent->Reset();
+    return kTRUE;
 } 
 
 void AliESDInputHandler::SwitchOffBranches() const {