]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG1/AliRecInfoMaker.h
Made valid calibrations w/range 0-999999 - note oversampling is 4
[u/mrichter/AliRoot.git] / PWG1 / AliRecInfoMaker.h
index 3a3398a38d74126748e93f7899142dfba8e0d370..395cff843883d6fa8d28513e9203c8be2aeab0e0 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "TObject.h"
 #include "AliESD.h"
+#include "AliESDEvent.h"
 
 #include "AliESDtrack.h"
 #include "AliV0.h"
@@ -35,11 +36,11 @@ class AliTPCseed;
 class AliRecInfoMaker {
 
 public:
-  AliRecInfoMaker();
   AliRecInfoMaker(const char* fnGenTracks,
           const char* fnCmpRes      ="cmpTracks.root", 
-          const char* fnGalice      ="galice.root", Int_t direction=0,
+          const char* fnGalice      ="galice.root",
           Int_t nEvents=1, Int_t firstEvent=0);
+  static void MakeAliases(TTree *tree); 
   virtual ~AliRecInfoMaker();
   void Reset();
   Int_t Exec();
@@ -74,13 +75,12 @@ private:
   TTree *fTreeCmpV0;                //! output tree with cmp V0
   //
   char  fFnGenTracks[1000];             //! input file name with gen tracks
-  TFile *fFileGenTracks;
-  TTree *fTreeGenTracks;
+  TFile *fFileGenTracks;                //! input files with generated tracks   
+  TTree *fTreeGenTracks;           //! tree with generated tracks
   TTree *fTreeGenKinks;            // tree with gen kinks
   TTree *fTreeGenV0;            // tree with gen V0
   //
   //
-  Int_t  fDirection;
   //
   AliRunLoader * fLoader;         //! pointer to the run loader
   //TTree *fTreeRecTracks;          //! tree with reconstructed tracks
@@ -98,7 +98,7 @@ private:
   Short_t *fSignedV0;                //! indicator that kink was not fake
   //
   TObjArray *fRecArray;           // container with rec infos
-  AliESD *fEvent;                 //!event
+  AliESDEvent *fEvent;             //!event
   AliESDfriend *fESDfriend;              //!event friend
   //
   AliTPCParam* fParamTPC;         //! AliTPCParam