Fixing wrong usage of bits
[u/mrichter/AliRoot.git] / CORRFW / AliCFPairIsPrimaryCuts.h
CommitLineData
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// Class to handle primariness criteria in track pairs
18// The track pair object to use is AliCFPair
19// author : renaud.vernet@cern.ch
20///////////////////////////////////////////////////////
21
22#ifndef ALICFPAIRISPRIMARYCUTS_H
23#define ALICFPAIRISPRIMARYCUTS_H
24
25#include "AliCFCutBase.h"
26#include "AliCFTrackIsPrimaryCuts.h"
27
28class AliESDEvent;
29
30class AliCFPairIsPrimaryCuts : public AliCFCutBase
31{
32 public :
33 AliCFPairIsPrimaryCuts() ;
34 AliCFPairIsPrimaryCuts(Char_t* name, Char_t* title) ;
35 AliCFPairIsPrimaryCuts(const AliCFPairIsPrimaryCuts& c) ;
36 AliCFPairIsPrimaryCuts& operator=(const AliCFPairIsPrimaryCuts& c) ;
37 virtual ~AliCFPairIsPrimaryCuts() {delete fCutNeg; delete fCutPos; }
38
9eeae5d5 39 Bool_t IsSelected(TObject* obj) ;
40 Bool_t IsSelected(TList* /*list*/) {return kTRUE;}
1925ad4d 41 virtual AliCFTrackIsPrimaryCuts* GetNegCut() const {return fCutNeg;}
42 virtual AliCFTrackIsPrimaryCuts* GetPosCut() const {return fCutPos;}
2fbc0b17 43
10d9a8a6 44 ClassDef(AliCFPairIsPrimaryCuts,2);
2fbc0b17 45
46 private :
a1496ace 47 AliCFTrackIsPrimaryCuts *fCutNeg ; // isprimary cut on negative daughter
48 AliCFTrackIsPrimaryCuts *fCutPos ; // isprimary cut on positive daughter
2fbc0b17 49
50};
51
52#endif