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"
28 class AliHMPIDAnalysisTask : public AliAnalysisTaskSE {
33 AliHMPIDAnalysisTask();
34 AliHMPIDAnalysisTask(const Char_t* name);
35 AliHMPIDAnalysisTask& operator= (const AliHMPIDAnalysisTask& c);
36 AliHMPIDAnalysisTask(const AliHMPIDAnalysisTask& c);
37 virtual ~AliHMPIDAnalysisTask();
39 // ANALYSIS FRAMEWORK STUFF
40 void UserCreateOutputObjects();
41 void UserExec(Option_t *option);
42 void Terminate(Option_t *);
45 void SetTrigger(Int_t trigger) {fTrigger = trigger;}
48 TList *fHistList ; // list of histograms
51 TH1I *fHistEventsProcessed ; // simple histo for monitoring number of processed events
52 Int_t fNevts ; //event numbering
53 Int_t fTrigNevts ; //event numbering with the requested trigger
54 Int_t fTrigger ; //requested trigger
56 ClassDef(AliHMPIDAnalysisTask,1);