1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
17 ////////////////////////////////////////////////
18 // Class to define PID cuts on a pair of tracks
19 // The track pair object to use is AliCFPair
21 // author : renaud.vernet@cern.ch
22 ////////////////////////////////////////////////
24 #ifndef ALICFPAIRPIDCUT_H
25 #define ALICFPAIRPIDCUT_H
27 #include "AliCFCutBase.h"
28 #include "AliCFTrackCutPid.h"
30 //__________________________________________________________________________________
31 // CUT ON TRACK PID FOR V0 DAUGHTERS
32 //__________________________________________________________________________________
34 class AliCFPairPidCut : public AliCFCutBase
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; };
43 virtual AliCFTrackCutPid* GetNegCut() const {return fCutNeg;}
44 virtual AliCFTrackCutPid* GetPosCut() const {return fCutPos;}
46 Bool_t IsSelected(TObject *obj); //boolean for detectors
47 Bool_t IsSelected(TList* /*list*/) {return kTRUE;}
49 AliCFTrackCutPid* fCutNeg; // PID cut on negative daughter
50 AliCFTrackCutPid* fCutPos; // PID cut on positive daughter
52 ClassDef(AliCFPairPidCut,1);