]>
Commit | Line | Data |
---|---|---|
99345a64 | 1 | #ifndef ALIDIELECTRONV0CUTS_H |
2 | #define ALIDIELECTRONV0CUTS_H | |
3 | ||
4 | /* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | //############################################################# | |
8 | //# # | |
9 | //# Class AliDielectronV0Cuts # | |
10 | //# Provide cuts for all variables handled in # | |
11 | //# AliDielectronV0Manager # | |
12 | //# # | |
13 | //# Authors: # | |
14 | //# Anton Andronic, GSI / A.Andronic@gsi.de # | |
15 | //# Ionut C. Arsene, GSI / I.C.Arsene@gsi.de # | |
16 | //# Julian Book, Uni Ffm / Julian.Book@cern.ch # | |
17 | //# Frederick Kramer, Uni Ffm, / Frederick.Kramer@cern.ch # | |
18 | //# Magnus Mager, CERN / Magnus.Mager@cern.ch # | |
19 | //# WooJin J. Park, GSI / W.J.Park@gsi.de # | |
20 | //# Jens Wiechula, Uni HD / Jens.Wiechula@cern.ch # | |
21 | //# # | |
22 | //############################################################# | |
23 | ||
24 | #include <Rtypes.h> | |
25 | ||
26 | #include <AliDielectronVarCuts.h> | |
27 | ||
28 | class AliDielectronV0Cuts : public AliDielectronVarCuts { | |
29 | public: | |
30 | ||
31 | AliDielectronV0Cuts(); | |
32 | AliDielectronV0Cuts(const char* name, const char* title); | |
33 | virtual ~AliDielectronV0Cuts(); | |
34 | //TODO: make copy constructor and assignment operator public | |
35 | ||
36 | // | |
37 | //Analysis cuts interface | |
38 | // | |
f2d9961b | 39 | void InitEvent(AliVTrack *trk); |
40 | Bool_t IsNewEvent(const AliVEvent *ev); | |
99345a64 | 41 | virtual Bool_t IsSelected(TObject* track); |
42 | virtual Bool_t IsSelected(TList* /* list */ ) {return kFALSE;} | |
f2d9961b | 43 | void SetPdgCodes(Int_t mother, Int_t negDaughter, Int_t posDaughter) {fMotherPdg=mother; fNegPdg=negDaughter; fPosPdg=posDaughter;} |
44 | void SetExcludeTracks(Bool_t exclude) {fExcludeTracks=exclude;} | |
882407d7 | 45 | void SetDefaultPID(Int_t def) {fPID=def;} |
99345a64 | 46 | |
47 | private: | |
48 | ||
f2d9961b | 49 | TBits fV0TrackArr; // array with booleans where TrackID corresponds to bitnumber |
50 | Bool_t fExcludeTracks; // cut logic: exclude or include tracks corresponding to a V0 candidate | |
51 | ||
52 | Int_t fMotherPdg; // target pdg code of the mother | |
53 | Int_t fNegPdg; // target pdg code of the negative daughter | |
54 | Int_t fPosPdg; // target pdg code of the positive daughter | |
882407d7 | 55 | Int_t fPID; // default PID usage (see AliDielectronPID) |
f2d9961b | 56 | |
57 | // memebers needed to identify an event | |
58 | UInt_t fOrbit; // orbit number | |
59 | UInt_t fPeriod; // period number | |
60 | UShort_t fBunchCross; // bunch cross number | |
99345a64 | 61 | |
62 | AliDielectronV0Cuts(const AliDielectronV0Cuts &c); | |
63 | AliDielectronV0Cuts &operator=(const AliDielectronV0Cuts &c); | |
64 | ||
f2d9961b | 65 | ClassDef(AliDielectronV0Cuts,1) |
99345a64 | 66 | }; |
67 | ||
68 | #endif | |
69 |