]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/BadChunkFilter/AliAnalysisTaskBadChunkID.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ANALYSIS / BadChunkFilter / AliAnalysisTaskBadChunkID.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 //
18 // Modified version of AliAnalysisTaskCheckCascade.h
19 // Used bits of code from AliAnalysisTaskCheckPerformanceStrange
20 //
21 // --- David Dobrigkeit Chinellato
22 //
23 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
24
25 #ifndef AliAnalysisTaskBadChunkID_H
26 #define AliAnalysisTaskBadChunkID_H
27
28 class TList;
29 class TH1F;
30 class AliESDEvent;
31
32 #include "TString.h"
33 //#include "AliESDtrackCuts.h"
34 #include "AliAnalysisTaskSE.h"
35
36 class AliAnalysisTaskBadChunkID : public AliAnalysisTaskSE {
37  public:
38   AliAnalysisTaskBadChunkID();
39   AliAnalysisTaskBadChunkID(const char *name);
40   virtual ~AliAnalysisTaskBadChunkID();
41   
42   virtual void   UserCreateOutputObjects();
43   virtual void   UserExec(Option_t *option);
44   virtual void   Terminate(Option_t *);
45   
46 private:
47   // Note : In ROOT, "//!" means "do not stream the data from Master node to Worker node" ...
48   // your data member object is created on the worker nodes and streaming is not needed.
49   // http://root.cern.ch/download/doc/11InputOutput.pdf, page 14
50   
51   TList  *fList;  //! List of Control plots
52   TTree  *fTree;  //! Output Tree
53   
54   TH1F      *fHistNEvents;    //! Keeping track of N(events)
55   
56   Int_t fRunNumber;       //! Run Number
57   TString fFileName;      //! Chunk Number
58   Int_t fNGlobalTracks;   //! Number of kITSrefit tracks
59   Int_t fNTracks;         //! Number of tracks
60   
61   //Objects Controlling Task Behaviour
62   
63   AliAnalysisTaskBadChunkID(const AliAnalysisTaskBadChunkID&);            // not implemented
64   AliAnalysisTaskBadChunkID& operator=(const AliAnalysisTaskBadChunkID&); // not implemented
65   
66   ClassDef(AliAnalysisTaskBadChunkID, 11);
67 };
68
69 #endif