]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEER/AliHLTTestInputHandler.cxx
unlock TGeoManager before deleting it
[u/mrichter/AliRoot.git] / STEER / STEER / AliHLTTestInputHandler.cxx
index ff46f9eb3b6aefd8bec6820c2e4aeb36a488b948..95263bae2b87d7269c54f04d616dc045920230ef 100644 (file)
 
 ClassImp(AliHLTTestInputHandler)
 
+//______________________________________________________________________________
+AliHLTTestInputHandler::AliHLTTestInputHandler() 
+  : AliVEventHandler()
+  , fEvent(NULL)
+  , fFriendEvent(NULL)
+{
+// default constructor
+}
+
 //______________________________________________________________________________
 AliHLTTestInputHandler::AliHLTTestInputHandler(const char* name, const char* title) 
   : AliVEventHandler(name,title)
+  , fEvent(NULL)
+  , fFriendEvent(NULL)
 {
 // Named constructor
 }
 
+//______________________________________________________________________________
+AliHLTTestInputHandler::AliHLTTestInputHandler(AliHLTTestInputHandler& that) 
+  : AliVEventHandler(that)
+  , fEvent(that.fEvent)
+  , fFriendEvent(that.fFriendEvent)
+{
+// dummy cpy constructor
+}
+
 //______________________________________________________________________________
 Bool_t AliHLTTestInputHandler::Init(TTree* /*tree*/,  Option_t* /*opt*/)
 {
@@ -64,7 +84,7 @@ Bool_t AliHLTTestInputHandler::InitTaskInputData(AliVEvent* esdEvent, AliVfriend
   SetVFriendEvent(friendEvent);
   // set transient pointer to event inside tracks
   fEvent->ConnectTracks();
-  Printf("----> AliHLTTestInputHandler::InitTaskInpuData: ...Event set");
+  Printf("----> AliHLTTestInputHandler::InitTaskInpuData: ...Event set: fEvent = %p; friend = %p", fEvent, friendEvent);
   for (Int_t i = 0; i < arrTasks->GetEntries(); i++){
     AliAnalysisTask* t = (AliAnalysisTask*)(arrTasks->At(i));
     t->ConnectInputData("");