Conserve the container axis ranges in Projection
[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
107a3100 39 Bool_t IsSelected(TObject* obj) ;
264ebaac 40 Bool_t IsSelected(TList* /*list*/) {return kTRUE;}
2fbc0b17 41 virtual void SetMaxNSigmaToVertex(Double32_t neg, Double32_t pos)
42 {fCutNeg->SetMaxNSigmaToVertex(neg); fCutPos->SetMaxNSigmaToVertex(pos);}
43 void SetRequireSigmaToVertex(Bool_t b1, Bool_t b2)
44 {fCutNeg->SetRequireSigmaToVertex(b1); fCutPos->SetRequireSigmaToVertex(b2);}
10d9a8a6 45 void SetAcceptKinkDaughters(Bool_t b1, Bool_t b2)
46 {fCutNeg->SetAcceptKinkDaughters(b1); fCutPos->SetAcceptKinkDaughters(b2);}
47 void SetAODType(Char_t typeNeg, Char_t typePos)
48 {fCutNeg->SetAODType(typeNeg); fCutPos->SetAODType(typePos);}
2fbc0b17 49
10d9a8a6 50 ClassDef(AliCFPairIsPrimaryCuts,2);
2fbc0b17 51
52 private :
a1496ace 53 AliCFTrackIsPrimaryCuts *fCutNeg ; // isprimary cut on negative daughter
54 AliCFTrackIsPrimaryCuts *fCutPos ; // isprimary cut on positive daughter
2fbc0b17 55
56};
57
58#endif