Hidden symbols removed (Marian)
[u/mrichter/AliRoot.git] / CORRFW / AliCFPairAcceptanceCuts.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///////////////////////////////////////////////////////////////////////////
18// ---- CORRECTION FRAMEWORK ----
19// Class to cut on the number of AliTrackReference's
20// for each detector. Applies on pair of tracks (AliCFPair)
21///////////////////////////////////////////////////////////////////////////
22// author : R. Vernet (renaud.vernet@cern.ch)
23///////////////////////////////////////////////////////////////////////////
24
25
26#ifndef ALICFPAIRACCEPTANCECUTS_H
27#define ALICFPAIRACCEPTANCECUTS_H
28
29#include "AliCFAcceptanceCuts.h"
30#include "AliCFCutBase.h"
31
32class AliMCEventHandler;
33
34class AliCFPairAcceptanceCuts : public AliCFCutBase
35{
36 public :
37 AliCFPairAcceptanceCuts() ;
38 AliCFPairAcceptanceCuts(const Char_t* name, const Char_t* title) ;
39 AliCFPairAcceptanceCuts(const AliCFPairAcceptanceCuts& c) ;
40 AliCFPairAcceptanceCuts& operator=(const AliCFPairAcceptanceCuts& c) ;
41 virtual ~AliCFPairAcceptanceCuts() {delete fCutNeg; delete fCutPos; }
264ebaac 42 virtual Bool_t IsSelected(TObject* obj) ;
43 Bool_t IsSelected(TList* /*list*/) {return kTRUE;}
2fbc0b17 44 virtual void SetEvtInfo(TObject *mcInfo) ;
45 virtual void SetMinNHitITS (Int_t nHitNeg, Int_t nHitPos) {fCutNeg->SetMinNHitITS (nHitNeg); fCutPos->SetMinNHitITS (nHitPos);}
46 virtual void SetMinNHitTPC (Int_t nHitNeg, Int_t nHitPos) {fCutNeg->SetMinNHitTPC (nHitNeg); fCutPos->SetMinNHitTPC (nHitPos);}
47 virtual void SetMinNHitTRD (Int_t nHitNeg, Int_t nHitPos) {fCutNeg->SetMinNHitTRD (nHitNeg); fCutPos->SetMinNHitTRD (nHitPos);}
48 virtual void SetMinNHitTOF (Int_t nHitNeg, Int_t nHitPos) {fCutNeg->SetMinNHitTOF (nHitNeg); fCutPos->SetMinNHitTOF (nHitPos);}
49 virtual void SetMinNHitMUON (Int_t nHitNeg, Int_t nHitPos) {fCutNeg->SetMinNHitMUON(nHitNeg); fCutPos->SetMinNHitMUON(nHitPos);}
50
51 protected:
52 AliMCEventHandler *fMCInfo ; // global event information
53 AliCFAcceptanceCuts *fCutNeg ; // acceptance cut on negative daughter
54 AliCFAcceptanceCuts *fCutPos ; // acceptance cut on positive daughter
55
56 ClassDef(AliCFPairAcceptanceCuts,1);
57};
58
59#endif