]>
Commit | Line | Data |
---|---|---|
fda75e2d | 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 | // Debug tree to look at the distribution of the variable we are cutting on | |
17 | // | |
18 | // | |
19 | #ifndef ALIHFEDEBUGTREETASK_H | |
20 | #define ALIHFEDEBUGTREETASK_H | |
21 | ||
22 | #include "AliAnalysisTaskSE.h" | |
23 | ||
24 | class AliHFEcuts; | |
25 | class AliHFEsignalCuts; | |
26 | class TString; | |
27 | class TTreeSRedirector; | |
a8ef1999 | 28 | class AliHFEpidTRD; |
fda75e2d | 29 | |
30 | class AliHFEdebugTreeTask : public AliAnalysisTaskSE{ | |
31 | public: | |
32 | AliHFEdebugTreeTask(); | |
33 | AliHFEdebugTreeTask(const char *name); | |
34 | virtual ~AliHFEdebugTreeTask(); | |
35 | ||
36 | virtual void UserCreateOutputObjects(); | |
37 | virtual void UserExec(Option_t *); | |
38 | virtual void Terminate(Option_t *) {}; | |
39 | ||
40 | // Setters for cuts | |
41 | void SetFileName(const char *filename); | |
42 | void SetMinNclustersTPC(Int_t mincl) { fNclustersTPC = mincl; }; | |
43 | void SetMinNclustersTPCPID(Int_t mincl) { fNclustersTPCPID = mincl; }; | |
44 | void SetMinNclustersITS(Int_t mincl) { fNclustersITS = mincl; }; | |
45 | ||
46 | private: | |
47 | AliHFEdebugTreeTask(const AliHFEdebugTreeTask &); | |
48 | AliHFEdebugTreeTask &operator=(const AliHFEdebugTreeTask &); | |
49 | ||
50 | AliHFEcuts *fTrackCuts; // Track | |
51 | AliHFEsignalCuts *fSignalCuts; // Signal Cuts | |
a8ef1999 | 52 | AliHFEpidTRD *fTRDpid; // TRD PID |
fda75e2d | 53 | Int_t fNclustersTPC; // Min Number of clusters in TPC |
54 | Int_t fNclustersTPCPID; // Min Number of clusters for TPC PID | |
55 | Int_t fNclustersITS; // Min Number of clusters in ITS | |
56 | TString fFilename; // file name for the debug tree | |
57 | TTreeSRedirector *fDebugTree; // Debug Tree | |
58 | ||
59 | ClassDef(AliHFEdebugTreeTask, 1) | |
60 | }; | |
61 | #endif | |
62 |