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 **************************************************************************/
17 #ifndef AliHMPIDAnalysisTASK_H
18 #define AliHMPIDAnalysisTASK_H
20 #include "AliAnalysisTaskSE.h"
29 class AliHMPIDAnalysisTask : public AliAnalysisTaskSE {
34 AliHMPIDAnalysisTask();
35 AliHMPIDAnalysisTask(const Char_t* name);
36 virtual ~AliHMPIDAnalysisTask();
38 virtual void ConnectInputData(Option_t *);
39 virtual void CreateOutputObjects();
40 virtual void Exec(Option_t *option);
41 virtual void Terminate(Option_t *);
48 void SetTrigger(Int_t trigger) {fTrigger = trigger;}
49 AliESDEvent *fESD; //! ESD object
50 TList *fHmpHistList ; // list of histograms
51 Int_t fNevts ; //event numbering
52 Int_t fTrigNevts ; //event numbering with the requested trigger
53 Int_t fTrigger ; //requested trigger
60 TH1F *fHmpMipTrkDistX;
61 TH1F *fHmpMipTrkDistY;
62 TH1F *fHmpMipCharge3cm;
63 TH1F *fHmpMipCharge1cm;
68 ClassDef(AliHMPIDAnalysisTask,2);