fix equation for partial overlap Reference Particles and particles of interest
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDAnalysisTask.h
CommitLineData
9a8aafa5 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#ifndef AliHMPIDAnalysisTASK_H
18#define AliHMPIDAnalysisTASK_H
19
20#include "AliAnalysisTaskSE.h"
21
22class TH1I;
23class TParticle ;
24class TFile ;
25class AliStack ;
26class AliESDtrack;
38b8c336 27class AliESDEvent;
9a8aafa5 28
29class AliHMPIDAnalysisTask : public AliAnalysisTaskSE {
30 public:
31
32 enum {kChamber = 7};
33
34 AliHMPIDAnalysisTask();
35 AliHMPIDAnalysisTask(const Char_t* name);
9a8aafa5 36 virtual ~AliHMPIDAnalysisTask();
38b8c336 37
38 virtual void ConnectInputData(Option_t *);
39 virtual void CreateOutputObjects();
40 virtual void Exec(Option_t *option);
41 virtual void Terminate(Option_t *);
9a8aafa5 42
9a8aafa5 43
38b8c336 44 protected:
45
46 private:
47
48 void SetTrigger(Int_t trigger) {fTrigger = trigger;}
49 AliESDEvent *fESD; //! ESD object
50 TList *fHmpHistList ; // list of histograms
9a8aafa5 51 Int_t fNevts ; //event numbering
52 Int_t fTrigNevts ; //event numbering with the requested trigger
53 Int_t fTrigger ; //requested trigger
38b8c336 54 TH2F *fHmpInner;
55 TH2F *fHmpPesdPhmp;
56 TH2F *fHmpCkovPesd;
57 TH2F *fHmpCkovPhmp;
58
59 TH1F *fHmpMipTrkDist;
60 TH1F *fHmpMipTrkDistX;
61 TH1F *fHmpMipTrkDistY;
62 TH1F *fHmpMipCharge3cm;
63 TH1F *fHmpMipCharge1cm;
64 TH1F *fHmpNumPhots;
65
66 TH1F *fHmpTrkFlags;
9a8aafa5 67
38b8c336 68 ClassDef(AliHMPIDAnalysisTask,2);
9a8aafa5 69};
70
71#endif