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