]>
Commit | Line | Data |
---|---|---|
8ec9c365 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * See cxx source for full Copyright notice * | |
4 | **************************************************************************/ | |
5 | ||
6 | //------------------------------------------------------------------------- | |
7 | // Class AliRsnDaughterCut | |
8 | // | |
9 | // Implementation of various cut which can be applied | |
10 | // during resonance analysis. | |
11 | // First is the virtual base class. | |
12 | // | |
13 | // author: A. Pulvirenti (email: alberto.pulvirenti@ct.infn.it) | |
14 | //------------------------------------------------------------------------- | |
15 | ||
16 | #ifndef ALIRSNDAUGHTERCUT_H | |
17 | #define ALIRSNDAUGHTERCUT_H | |
18 | ||
19 | class AliRsnDaughter; | |
20 | ||
21 | class AliRsnDaughterCut : public TObject | |
22 | { | |
23 | public: | |
24 | AliRsnDaughterCut() { } | |
25 | virtual ~AliRsnDaughterCut() { } | |
c37c6481 | 26 | virtual Bool_t Pass(AliRsnDaughter *track) const; |
27 | private: | |
8ec9c365 | 28 | ClassDef(AliRsnDaughterCut,1) |
29 | }; | |
c37c6481 | 30 | // |
8ec9c365 | 31 | //------------------------------------------------------------------------- |
c37c6481 | 32 | // |
33 | class AliRsnDaughterCutPt : public AliRsnDaughterCut | |
8ec9c365 | 34 | { |
35 | public: | |
c37c6481 | 36 | AliRsnDaughterCutPt(Double_t min, Double_t max) : fPtMin(min),fPtMax(max) {} |
37 | virtual ~AliRsnDaughterCutPt() {} | |
38 | virtual Bool_t Pass(AliRsnDaughter *track) const; | |
39 | private: | |
8ec9c365 | 40 | Double_t fPtMin; // smallest allowed Pt |
41 | Double_t fPtMax; // largest allowed Pt | |
42 | ||
c37c6481 | 43 | ClassDef(AliRsnDaughterCutPt,1) |
8ec9c365 | 44 | }; |
7c2974c8 | 45 | // |
46 | //------------------------------------------------------------------------- | |
47 | // | |
48 | class AliRsnDaughterCutVt : public AliRsnDaughterCut | |
49 | { | |
50 | public: | |
51 | AliRsnDaughterCutVt(Double_t max) : fVtMax(max) {} | |
52 | virtual ~AliRsnDaughterCutVt() {} | |
53 | virtual Bool_t Pass(AliRsnDaughter *track) const; | |
54 | private: | |
55 | Double_t fVtMax; // largest allowed transverse impact parameter | |
56 | ||
57 | ClassDef(AliRsnDaughterCutVt,1) | |
58 | }; | |
8ec9c365 | 59 | |
60 | #endif |