]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliAnalysisTaskJets.h
a macro with TPC,ITS, ITSSPD vertex, global vertex and v0's
[u/mrichter/AliRoot.git] / JETAN / AliAnalysisTaskJets.h
index fb2eede37bb5ff610731c7b7d549af7307a203cd..607cb2145ab0a128321c0b610c9266ccd76987dc 100644 (file)
@@ -11,6 +11,7 @@ class TTree;
 class TChain;
 class AliAODEvent;
 class AliJetHistos;
+class AliAODExtension;
 
 
 class AliAnalysisTaskJets : public AliAnalysisTaskSE
@@ -28,22 +29,28 @@ class AliAnalysisTaskJets : public AliAnalysisTaskSE
     virtual void SetConfigFile(const char *c) {fConfigFile = c;}
     virtual void SetJetFinder(AliJetFinder *finder) {fJetFinder = finder;}
     virtual void SetNonStdBranch(const char *c){fNonStdBranch = c;}
+    virtual void SetNonStdOutputFile(const char *c){fNonStdFile = c;}
     virtual void Terminate(Option_t *option);
+    virtual void ReadAODFromOutput() {fReadAODFromOutput = kTRUE;}
 
+    
  private:
   AliAnalysisTaskJets(const AliAnalysisTaskJets &det);
   AliAnalysisTaskJets &operator=(const AliAnalysisTaskJets &det);
     
  private:
-  TString       fConfigFile;      // the name of the ConfigFile
-  TString       fNonStdBranch;    // the name of the non-std branch name//commented by syssy
-  AliJetFinder* fJetFinder;       //  Pointer to the jet finder 
-  AliJetHistos* fHistos;          //  Histogram manager class
-  TList*        fListOfHistos;    //  Output list of histograms
-  TChain*       fChain;           //  Chain 
-  Int_t         fOpt;             //  Detector configuration used
-
-  ClassDef(AliAnalysisTaskJets, 3); // Analysis task for standard jet analysis
+  TString       fConfigFile;        // the name of the ConfigFile
+  TString       fNonStdBranch;      // the name of the non-std branch name
+  TString       fNonStdFile;        // The optional name of the output file the non-std brnach is written to
+  AliJetFinder* fJetFinder;         //  Pointer to the jet finder 
+  AliJetHistos* fHistos;            //  Histogram manager class
+  AliAODExtension* fAODExtension;   //  AOD extension we in case we write a non-sdt brnach to a separate file and the aod is standard
+  TList*        fListOfHistos;      //  Output list of histograms
+  TChain*       fChain;             //  Chain 
+  Int_t         fOpt;               //  Detector configuration used
+  Bool_t        fReadAODFromOutput; //  Force reading of the AOD from the output
+  
+  ClassDef(AliAnalysisTaskJets, 4); // Analysis task for standard jet analysis
 };
  
 #endif