]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSreconstruction.h
AliITSRawStreamSDDv2 = Beam test Aug 04; AliITSRawStreamSDDv3 = Beam test Nov 04...
[u/mrichter/AliRoot.git] / ITS / AliITSreconstruction.h
index 5d8fb10cfa20408c6b0499283ebf41d28fcd4887..c002196ae620e31dfc14fd8dc03ad3e58ab10638 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <TTask.h>
 
+class AliRunLoader;
 class TString;
 class AliITS;
 
@@ -16,22 +17,25 @@ class AliITSreconstruction : public TTask{
  public:
     AliITSreconstruction(); // default constructor
     AliITSreconstruction(const char *filename); // standard constructor
+    AliITSreconstruction(AliRunLoader *rl); // standard constructor
     virtual ~AliITSreconstruction();//Destructor
     virtual Bool_t Init();
     virtual void Exec(const Option_t *opt="ALL");
+    virtual void SetOutputFile(TString filename);
  private:
     Bool_t InitRec();  // Standard Reconstrution initilization.
  private:
-    TFile   *fFile;    //! pointer to the file contatining the digits and
-                       // and will contain the RecPoints
     Bool_t  fDet[3];   //! logical specifing which detectors to reconstruct.
     Bool_t  fInit;     //! True if Init was sucessfull, else false.
-    TString fFilename; //! input filename for Digits
     Int_t   fEnt;      //! Number of events to processevent index.
     Int_t   fEnt0;     //! first event to process, default 0.
     AliITS  *fITS;     //! Local pointer to ITS class.
+    Bool_t  fDfArp;    //! if True then delete fRunLoader in destructor.
 
-    ClassDef(AliITSreconstruction,1) // Task to Reconstruct ITS from Digits.
+    AliITSLoader *fLoader; //! ITS loader
+    AliRunLoader* fRunLoader;//!Run Loader
+
+    ClassDef(AliITSreconstruction,2) // Task to Reconstruct ITS from Digits.
 
 };
 #endif