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 // ---- CORRECTION FRAMEWORK ----
19 // AliCFAcceptanceCuts implementation
20 // Class to cut on the number of AliTrackReference's
22 ///////////////////////////////////////////////////////////////////////////
23 // author : R. Vernet (renaud.vernet@cern.ch)
24 ///////////////////////////////////////////////////////////////////////////
27 #ifndef ALICFACCEPTANCECUTS_H
28 #define ALICFACCEPTANCECUTS_H
30 #include "AliCFCutBase.h"
32 class AliMCEventHandler;
34 class AliCFAcceptanceCuts : public AliCFCutBase
37 AliCFAcceptanceCuts() ;
38 AliCFAcceptanceCuts(const Char_t* name, const Char_t* title) ;
39 AliCFAcceptanceCuts(const AliCFAcceptanceCuts& c) ;
40 AliCFAcceptanceCuts& operator=(const AliCFAcceptanceCuts& c) ;
41 virtual ~AliCFAcceptanceCuts() { };
42 virtual Bool_t IsSelected(TObject* obj) ;
43 virtual void SetEvtInfo(TObject* mcInfo) ;
44 void SetMinNHitITS (Int_t nhits) {fMinNHitITS=nhits;}
45 void SetMinNHitTPC (Int_t nhits) {fMinNHitTPC=nhits;}
46 void SetMinNHitTRD (Int_t nhits) {fMinNHitTRD=nhits;}
47 void SetMinNHitTOF (Int_t nhits) {fMinNHitTOF=nhits;}
48 void SetMinNHitMUON(Int_t nhits) {fMinNHitMUON=nhits;}
51 AliMCEventHandler *fMCInfo; // pointer to MC Information
52 Int_t fMinNHitITS ; // min number of track references in ITS
53 Int_t fMinNHitTPC ; // min number of track references in TPC
54 Int_t fMinNHitTRD ; // min number of track references in TRD
55 Int_t fMinNHitTOF ; // min number of track references in TOF
56 Int_t fMinNHitMUON ; // min number of track references in MUON
58 ClassDef(AliCFAcceptanceCuts,1);