]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/ITS/AliAnalysisTaskSPD.h
Fix for coverity
[u/mrichter/AliRoot.git] / PWG1 / ITS / AliAnalysisTaskSPD.h
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
20 #ifndef ALIANALYSISTASKSPD_H
21 #define ALIANALYSISTASKSPD_H
22
23 #include "AliAnalysisTaskSE.h"
24
25 class TString;
26 class TList;
27
28 class AliITSsegmentationSPD;
29
30 class AliAnalysisTaskSPD : public AliAnalysisTaskSE {
31  public:
32
33
34   AliAnalysisTaskSPD();
35   AliAnalysisTaskSPD(const Char_t* name);
36   AliAnalysisTaskSPD& operator= (const AliAnalysisTaskSPD& c);
37   AliAnalysisTaskSPD(const AliAnalysisTaskSPD& c);
38   virtual ~AliAnalysisTaskSPD();
39
40   // ANALYSIS FRAMEWORK 
41   void     UserCreateOutputObjects();
42   void     UserExec(Option_t *option);
43   void     Terminate(Option_t *);
44   void     SetOCDBInfo(UInt_t runNb, const char *location) {fRunNb=runNb; fOCDBLocation=location;}
45   void     LoadGeometryFromOCDB(); 
46  
47  protected:
48   AliITSsegmentationSPD *fSegSPD;  
49   TList          *fOutput   ;  // user histograms list
50   UInt_t fRunNb;                 // run number
51   TString fOCDBLocation;         // ocdb path
52
53   ClassDef(AliAnalysisTaskSPD,1);
54 };
55
56 #endif