]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/jetplane.C
Handle missing rec-point tree in a uniform way: return null pointer to TEvePointSet.
[u/mrichter/AliRoot.git] / EVE / alice-macros / jetplane.C
index 94a6434d8a306a6761078bac57cdccf37d77303c..0cf582e7e705a5b47b61cf495eaf42560d2be7a5 100644 (file)
@@ -1,13 +1,21 @@
-Alieve::JetPlane* jetplane(Int_t iev)
-{      
+// $Id$
+// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
+
+/**************************************************************************
+ * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
+ * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
+ * full copyright notice.                                                 *
+ **************************************************************************/
+
+AliEveJetPlane* jetplane(Int_t iev)
+{
   TFile* f       = new TFile("aod.root");
   TTree* treeAOD = (TTree*) f->Get("AOD");
   AliAODEvent* aod = new AliAODEvent();
   aod->ReadFromTree(treeAOD);
   treeAOD->GetEntry(iev);
 
-  using namespace Alieve;
-  JetPlane* jp = new JetPlane(iev);
+  AliEveJetPlane* jp = new AliEveJetPlane(iev);
 
   // Read Jets in current event