cleanup
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliAnalysisTaskScalarProduct.h
CommitLineData
8d312f00 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
e2d51347 3/* $Id: $ */
8d312f00 4
5#ifndef AliAnalysisTaskScalarProduct_H
6#define AliAnalysisTaskScalarProduct_H
7
8// AliAnalysisTaskScalarProduct:
9// analysis task for Scalar Product method
10// Author: Naomi van der Kolk (kolk@nikhef.nl)
11
12class AliESDEvent;
13class AliAODEvent;
14class AliFlowAnalysisWithScalarProduct;
15class AliFlowEventSimpleMaker;
16
17#include "TString.h"
18#include "AliAnalysisTask.h"
19
20class AliAnalysisTaskScalarProduct : public AliAnalysisTask {
21 public:
e2d51347 22 AliAnalysisTaskScalarProduct(const char *name = "");
23 virtual ~AliAnalysisTaskScalarProduct();
8d312f00 24
25 virtual void ConnectInputData(Option_t *);
26 virtual void CreateOutputObjects();
27 virtual void Exec(Option_t *option);
28 virtual void Terminate(Option_t *);
29
30 void SetAnalysisType(TString type) { this->fAnalysisType = type; }
31 TString GetAnalysisType() const { return this->fAnalysisType; }
32
33 private:
b76ccfd5 34
35 AliAnalysisTaskScalarProduct(const AliAnalysisTaskScalarProduct& aAnalysisTask);
36 AliAnalysisTaskScalarProduct& operator=(const AliAnalysisTaskScalarProduct& aAnalysisTask);
37
8d312f00 38 AliESDEvent *fESD; // ESD object
39 AliAODEvent *fAOD; // AOD object
40 AliFlowAnalysisWithScalarProduct* fSP; // analysis object
41 AliFlowEventSimpleMaker* fEventMaker; // FlowEventSimple maker object
42 TString fAnalysisType; // can be MC, ESD or AOD
d7eb18ec 43 TList *fListHistos; //collection of output
8d312f00 44
45 ClassDef(AliAnalysisTaskScalarProduct, 1); // example of analysis
46};
47
df802279 48#endif