1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * See cxx source for full Copyright notice *
4 **************************************************************************/
6 //-------------------------------------------------------------------------
7 // Class AliRsnAnalysisSimple
8 // Reconstruction and analysis of K* Rsn
9 // ........................................
10 // ........................................
11 // ........................................
12 // ........................................
14 // author: A. Pulvirenti (email: alberto.pulvirenti@ct.infn.it)
15 //-------------------------------------------------------------------------
17 #ifndef AliRsnAnalysisSimple_H
18 #define AliRsnAnalysisSimple_H
20 #include "AliRsnPID.h"
25 class AliRsnPairSimple;
27 class AliRsnEventBuffer;
28 class AliRsnAnalyzerSimple;
30 class AliRsnAnalysisSimple : public TObject
34 AliRsnAnalysisSimple(AliRsnAnalyzerSimple *ana = 0x0, AliRsnPID *pid = 0x0);
35 virtual ~AliRsnAnalysisSimple() {Clear();}
36 virtual void Clear(Option_t *option = "C");
39 void SetAnalyzer(AliRsnAnalyzerSimple *analyzer) {fAnalyzer = analyzer;}
40 void SetEventsTree(TTree *tree);
41 void SetFileName(char *fname) {strcpy(fFileName, fname);}
42 void SetStep(Int_t step) {fStep = step;}
43 void SetPID(AliRsnPID *pid) {fPID = pid;}
45 /* working routines */
48 void SaveOutput() const;
52 AliRsnAnalysisSimple(const AliRsnAnalysisSimple ©) :
53 TObject(copy),fInitialized(kFALSE),fStep(1000),fTree(0x0),fPID(0x0),fAnalyzer(0x0) { }
54 AliRsnAnalysisSimple& operator=(const AliRsnAnalysisSimple & /*copy*/) { return (*this); }
56 Bool_t fInitialized; // flag to check initialization
57 Int_t fStep; // progress step
58 Char_t fFileName[250]; // output file name
59 TTree *fTree; //! TTree of events
60 AliRsnPID *fPID; //! PID object
61 AliRsnAnalyzerSimple *fAnalyzer; //! analyzer
63 // Rsn analysis implementation
64 ClassDef(AliRsnAnalysisSimple,1)