]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGUD/DIFFRACTIVE/example/AliCDMesonBaseStripped.h
6d4c230560c90964dc3cd6700ff9e049095d14ab
[u/mrichter/AliRoot.git] / PWGUD / DIFFRACTIVE / example / AliCDMesonBaseStripped.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 // AliCDMesonBaseStripped
17 //
18 //  Author:
19 //  Felix Reidt <Felix.Reidt@cern.ch>
20
21 #ifndef ALICDMESONBASESTRIPPED_H
22 #define ALICDMESONBASESTRIPPED_H
23
24 class TH1F;
25
26 class AliCDMesonBaseStripped
27 {
28 public:
29         enum{
30                 // gap Conditions
31                 kBinDG = 1, // double gap
32                 kBinGC, // single gap c side
33                 kBinGA, // single gap a side
34                 kBinNG, // no gap
35
36                 // StatsFlow histogram entries
37                 // names for the bins are specified in the .cxx-file
38                 kBinTotalInput = 0,
39                 kBinGoodInput,
40                 kBinEventsAfterCuts,
41                 kBinEventsWithOutPileUp,
42                 kBinv0Gap,
43                 kBinv0fmdGap,
44                 kBinv0fmdspdGap,
45                 kBinv0fmdspdtpcGap,
46                 kBinResidualTracks,
47                 kBinResidualTracklets,
48                 kBinLastValue, // used to specify the correct histogram width
49
50
51                 // gap-condition bits used in AliAnalysisTaskCDMeson::fGapRun
52                 kBitBaseLine = (1<<0),
53
54                 kBitV0A  = (1<<1),
55                 kBitV0C  = (1<<2),
56                 kBitFMDA = (1<<3),
57                 kBitFMDC = (1<<4),
58
59                 kBitSPDA  = (1<<5),
60                 kBitSPDC  = (1<<6),
61                 kBitTPCA  = (1<<7),
62                 kBitTPCC  = (1<<8),
63         };
64
65         static Int_t GetGapBin(const TString tag, Int_t gapcg);
66         static TH1F* GetHistStatsFlow();
67 };
68
69 #endif