]>
Commit | Line | Data |
---|---|---|
4587ea58 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | //----------------------------------------------------------------------- | |
17 | // Author : A. Mastroserio | |
18 | //----------------------------------------------------------------------- | |
19 | ||
9bf660ff | 20 | #ifndef ALIANALYSISTASKSPD_H |
21 | #define ALIANALYSISTASKSPD_H | |
22 | ||
9bf660ff | 23 | #include "AliAnalysisTaskSE.h" |
24 | ||
4587ea58 | 25 | class TString; |
26 | class TList; | |
27 | ||
9bf660ff | 28 | class AliITSsegmentationSPD; |
9bf660ff | 29 | |
4587ea58 | 30 | class AliAnalysisTaskSPD : public AliAnalysisTaskSE { |
9bf660ff | 31 | public: |
9bf660ff | 32 | |
9bf660ff | 33 | |
4587ea58 | 34 | AliAnalysisTaskSPD(); |
35 | AliAnalysisTaskSPD(const Char_t* name); | |
36 | AliAnalysisTaskSPD& operator= (const AliAnalysisTaskSPD& c); | |
37 | AliAnalysisTaskSPD(const AliAnalysisTaskSPD& c); | |
38 | virtual ~AliAnalysisTaskSPD(); | |
9bf660ff | 39 | |
4587ea58 | 40 | // ANALYSIS FRAMEWORK |
41 | void UserCreateOutputObjects(); | |
42 | void UserExec(Option_t *option); | |
43 | void Terminate(Option_t *); | |
75b69738 | 44 | |
4587ea58 | 45 | void SetOCDBInfo(UInt_t runNb, const char *location) {fRunNb=runNb; fOCDBLocation=location;} |
46 | void LoadGeometryFromOCDB(); | |
75b69738 | 47 | |
48 | void SetHeavyIonMode() {fHI=kTRUE;} | |
49 | void SetTestMode() {fTest=kTRUE;} | |
50 | ||
4587ea58 | 51 | protected: |
52 | AliITSsegmentationSPD *fSegSPD; | |
53 | TList *fOutput ; // user histograms list | |
75b69738 | 54 | UInt_t fRunNb; // run number |
55 | TString fOCDBLocation; // ocdb path | |
56 | Bool_t fHI; // changes to the histo limits | |
57 | Bool_t fTest; // ocdb settings | |
4587ea58 | 58 | |
75b69738 | 59 | ClassDef(AliAnalysisTaskSPD,2); |
9bf660ff | 60 | }; |
61 | ||
9bf660ff | 62 | #endif |