overloaded write method
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowAnalysisWithScalarProduct.h
CommitLineData
8d312f00 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4/* $Id$ */
5
6
7#ifndef AliFlowAnalysisWithScalarProduct_H
8#define AliFlowAnalysisWithScalarProduct_H
9
8d312f00 10#include "TString.h"
11
12class AliFlowTrackSimple;
13class AliFlowEventSimple;
14class AliFlowCommonHist;
15//class AliFlowCommonHistResults;
16
17class TProfile;
d7eb18ec 18class TList;
1dfa3c16 19class TFile;
8d312f00 20class Riostream;
21
22
23// Description: Maker to analyze Flow from the Scalar Product method.
24//
25// author: N. van der Kolk (kolk@nikhef.nl)
26
27
28class AliFlowAnalysisWithScalarProduct {
29
30 public:
31
e35ddff0 32 AliFlowAnalysisWithScalarProduct(); //default constructor
8d312f00 33
34 virtual ~AliFlowAnalysisWithScalarProduct(); //destructor
35
1dfa3c16 36 void Init(); //defines variables and histograms
37 void Make(AliFlowEventSimple* anEvent); //calculates variables and fills histograms
38 void Finish(); //saves histograms
39 void WriteHistograms(TString* outputFileName); //writes histograms locally
b0fda271 40 void WriteHistograms(TString outputFileName); //writes histograms locally
1dfa3c16 41
b76ccfd5 42 void SetDebug(Bool_t kt) { this->fDebug = kt ; }
43 Bool_t GetDebug() const { return this->fDebug ; }
8d312f00 44
8d312f00 45 // Output
e35ddff0 46 TList* GetHistList() const { return this->fHistList ; } // Gets output histogram list
8d312f00 47
48
49 private:
e35ddff0 50 AliFlowAnalysisWithScalarProduct(const AliFlowAnalysisWithScalarProduct& anAnalysis); //copy constructor
51 AliFlowAnalysisWithScalarProduct& operator=(const AliFlowAnalysisWithScalarProduct& anAnalysis); //assignment operator
52
53 Int_t fEventNumber; // event counter
54 Bool_t fDebug ; // flag for analysis: more print statements
55
56 TList* fHistList; //list to hold all output histograms
57 TProfile* fHistProUQ; //uQ(pt)
58 AliFlowCommonHist* fCommonHists; //control histograms
59
60 ClassDef(AliFlowAnalysisWithScalarProduct,0) // macro for rootcint
61 };
8d312f00 62
0092f3c2 63
df802279 64#endif