]>
Commit | Line | Data |
---|---|---|
72b127a8 | 1 | #ifndef ALITOFPROB_H |
2 | #define ALITOFPROB_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | //_________________________________________________________________________ | |
8 | // Task Class for Probabilities in TOF | |
9 | // | |
10 | //-- Author: F. Pierella | |
11 | ||
12 | ||
13 | #include "TTask.h" | |
14 | #include "TCutG.h" | |
15 | #include "TString.h" | |
16 | #include <TF1.h> | |
17 | #include <TF2.h> | |
18 | #include <TH1.h> | |
19 | #include <TH2.h> | |
20 | #include <TNtuple.h> | |
21 | ||
22 | class AliTOFProb: public TTask { | |
23 | ||
24 | public: | |
25 | AliTOFProb() ; // ctor | |
26 | AliTOFProb(char* headerFile) ; | |
27 | virtual ~AliTOFProb() ; // dtor | |
28 | virtual void Exec(const Option_t *dummyOpt); // do the main work | |
29 | void Init(); | |
30 | ||
31 | TNtuple* GetInputNtuple() const {return fNtuple;} | |
32 | ||
33 | Bool_t operator == (const AliTOFProb & tofprob) const ; | |
34 | ||
35 | private: | |
36 | ||
37 | TNtuple *fNtuple; // pointer to ntuple | |
38 | TFile *fhfile; | |
39 | TFile *fgen; | |
40 | char* foutfileName; // destination file name for histos | |
41 | Int_t fTask; | |
42 | ||
43 | protected: | |
44 | ||
45 | ClassDef(AliTOFProb,0) // Task class for PID probabilities from TOF | |
46 | ||
47 | }; | |
48 | ||
49 | #endif // AliTOFPROB_H |