]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/qaRec/AliTRDtrackInfoGen.h
fix the error calculations in generating function cumulants when weights are used
[u/mrichter/AliRoot.git] / TRD / qaRec / AliTRDtrackInfoGen.h
index 554110b2a9528b956962603e151bfc5e12497b78..e7d7009032e065875d43628f3b34db378d4beb3f 100644 (file)
 //                                                                        //
 ////////////////////////////////////////////////////////////////////////////
 
-#include "AliAnalysisTask.h"
+#ifndef ALITRDRECOTASK_H
+#include "AliTRDrecoTask.h"
+#endif
 
 class AliESDEvent;
 class AliMCEvent;
 class AliESDfriend;
 class AliTRDtrackInfo;
+class AliTRDeventInfo;
 class TObjArray;
 class TTreeSRedirector;
-
-class AliTRDtrackInfoGen : public AliAnalysisTask{
+class AliTRDtrackInfoGen : public AliTRDrecoTask{
 public:
 
-  AliTRDtrackInfoGen(const Char_t *name = "TRD Track Info");
-  ~AliTRDtrackInfoGen(){};
+  AliTRDtrackInfoGen();
+  virtual ~AliTRDtrackInfoGen();
   
   void  ConnectInputData(Option_t *);
   void  CreateOutputObjects();
-  Int_t GetDebugLevel() const {return fDebugLevel;} 
   void  Exec(Option_t *);
-  void  SetDebugLevel(Int_t level);
   void  Terminate(Option_t *);
 
-private:
+  static const Float_t xTPC;
+  static const Float_t xTOF;
 
+private:
   AliTRDtrackInfoGen(const AliTRDtrackInfoGen&);
   AliTRDtrackInfoGen& operator=(const AliTRDtrackInfoGen&);
 
-private:
-
   AliESDEvent      *fESD;                  // ESD event
   AliMCEvent       *fMC;                   // MC event
   AliESDfriend     *fESDfriend;            // ESD friends
   AliTRDtrackInfo  *fTrackInfo;            // Track info
-  TObjArray        *fObjectContainer;      // Object container
-
-  Int_t            fDebugLevel;            // Debug level
-  TTreeSRedirector *fDebugStream;          // Debug stream
+  AliTRDeventInfo  *fEventInfo;                   // Event info
 
   ClassDef(AliTRDtrackInfoGen, 1)          // entry to TRD analysis
 };