1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 //-----------------------------------------------------------------------
17 // Author : A. Mastroserio
18 //-----------------------------------------------------------------------
20 #ifndef ALIANALYSISTASKSPD_H
21 #define ALIANALYSISTASKSPD_H
23 #include "AliAnalysisTaskSE.h"
28 class AliITSsegmentationSPD;
30 class AliAnalysisTaskSPD : public AliAnalysisTaskSE {
35 AliAnalysisTaskSPD(const Char_t* name);
36 AliAnalysisTaskSPD& operator= (const AliAnalysisTaskSPD& c);
37 AliAnalysisTaskSPD(const AliAnalysisTaskSPD& c);
38 virtual ~AliAnalysisTaskSPD();
41 void UserCreateOutputObjects();
42 void UserExec(Option_t *option);
43 void Terminate(Option_t *);
45 void SetOCDBInfo(UInt_t runNb, const char *location) {fRunNb=runNb; fOCDBLocation=location;}
46 void LoadGeometryFromOCDB();
48 void SetHeavyIonMode() {fHI=kTRUE;}
49 void SetTestMode() {fTest=kTRUE;}
52 AliITSsegmentationSPD *fSegSPD;
53 TList *fOutput ; // user histograms list
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
59 ClassDef(AliAnalysisTaskSPD,2);