#ifndef AliFlowAnalysisWithScalarProduct_H
#define AliFlowAnalysisWithScalarProduct_H
-#include "TVector2.h" //called explicitly
-#include "AliFlowVector.h"
#include "TString.h"
class AliFlowTrackSimple;
//class AliFlowCommonHistResults;
class TProfile;
+class TList;
class TFile;
class Riostream;
public:
- AliFlowAnalysisWithScalarProduct(); //default constructor
+ AliFlowAnalysisWithScalarProduct(); //default constructor
virtual ~AliFlowAnalysisWithScalarProduct(); //destructor
- void Init(); //defines variables and histograms
- void Make(AliFlowEventSimple* fEvent); //calculates variables and fills histograms
- void Finish(); //saves histograms
-
- void SetDebug(Bool_t kt) { this->fDebug = kt ; }
- Bool_t GetDebug() const { return this->fDebug ; }
+ void Init(); //defines variables and histograms
+ void Make(AliFlowEventSimple* anEvent); //calculates variables and fills histograms
+ void Finish(); //saves histograms
+ void WriteHistograms(TString* outputFileName); //writes histograms locally
+ void SetDebug(Bool_t kt) { this->fDebug = kt ; }
+ Bool_t GetDebug() const { return this->fDebug ; }
// Output
- void SetHistFileName(TString name) { this->fHistFileName = name ; } // Sets output file name
- TString GetHistFileName() const { return this->fHistFileName ; } // Gets output file name
- TFile* GetHistFile() const { return this->fHistFile ; } // Gets output file
+ TList* GetHistList() const { return this->fHistList ; } // Gets output histogram list
private:
- //cp const
- //ass op
-
- AliFlowVector fQ; // flow vector
- TVector2 fU; // particle unit vector
-
- Int_t fEventNumber; // event counter
-
- AliFlowEventSimple* fEvent ; //!
- AliFlowTrackSimple* fTrack ; //!
-
- Bool_t fDebug ; //! flag for lyz analysis: more print statements
-
- TString fHistFileName; //!
- TFile* fHistFile; //!
+ AliFlowAnalysisWithScalarProduct(const AliFlowAnalysisWithScalarProduct& anAnalysis); //copy constructor
+ AliFlowAnalysisWithScalarProduct& operator=(const AliFlowAnalysisWithScalarProduct& anAnalysis); //assignment operator
- TProfile* fHistProUQ; //!
+ Int_t fEventNumber; // event counter
+ Bool_t fDebug ; // flag for analysis: more print statements
- AliFlowCommonHist* fCommonHists; //!
- //AliFlowCommonHistResults* fCommonHistsRes; //!
+ TList* fHistList; //list to hold all output histograms
+ TProfile* fHistProUQ; //uQ(pt)
+ AliFlowCommonHist* fCommonHists; //control histograms
ClassDef(AliFlowAnalysisWithScalarProduct,0) // macro for rootcint
};
-
-#endif
\ No newline at end of file
+
+#endif