2fbc0b17 |
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 | // Class to define PID cuts on a pair of tracks |
19 | // The track pair object to use is AliCFPair |
20 | // |
21 | // author : renaud.vernet@cern.ch |
22 | //////////////////////////////////////////////// |
23 | |
24 | #ifndef ALICFPAIRPIDCUT_H |
25 | #define ALICFPAIRPIDCUT_H |
26 | |
27 | #include "AliCFCutBase.h" |
28 | #include "AliCFTrackCutPid.h" |
29 | |
30 | //__________________________________________________________________________________ |
31 | // CUT ON TRACK PID FOR V0 DAUGHTERS |
32 | //__________________________________________________________________________________ |
33 | |
34 | class AliCFPairPidCut : public AliCFCutBase |
35 | { |
36 | public : |
37 | AliCFPairPidCut() ; |
38 | AliCFPairPidCut(const Char_t* name, const Char_t* title) ; |
39 | AliCFPairPidCut(const AliCFPairPidCut& c) ; |
40 | AliCFPairPidCut& operator=(const AliCFPairPidCut& c) ; |
41 | virtual ~AliCFPairPidCut() {delete fCutNeg; delete fCutPos; }; |
42 | |
1925ad4d |
43 | virtual AliCFTrackCutPid* GetNegCut() const {return fCutNeg;} |
44 | virtual AliCFTrackCutPid* GetPosCut() const {return fCutPos;} |
2fbc0b17 |
45 | |
9eeae5d5 |
46 | Bool_t IsSelected(TObject *obj); //boolean for detectors |
47 | Bool_t IsSelected(TList* /*list*/) {return kTRUE;} |
2fbc0b17 |
48 | private: |
a1496ace |
49 | AliCFTrackCutPid* fCutNeg; // PID cut on negative daughter |
50 | AliCFTrackCutPid* fCutPos; // PID cut on positive daughter |
2fbc0b17 |
51 | |
52 | ClassDef(AliCFPairPidCut,1); |
53 | }; |
54 | #endif |
55 | |