]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/RESONANCES/AliRsnDaughterCut.h
make TPDDigitDump component functional
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnDaughterCut.h
CommitLineData
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
19class AliRsnDaughter;
20
21class AliRsnDaughterCut : public TObject
22{
23public:
24 AliRsnDaughterCut() { }
25 virtual ~AliRsnDaughterCut() { }
c37c6481 26 virtual Bool_t Pass(AliRsnDaughter *track) const;
27private:
8ec9c365 28 ClassDef(AliRsnDaughterCut,1)
29};
c37c6481 30//
8ec9c365 31//-------------------------------------------------------------------------
c37c6481 32//
33class AliRsnDaughterCutPt : public AliRsnDaughterCut
8ec9c365 34{
35public:
c37c6481 36 AliRsnDaughterCutPt(Double_t min, Double_t max) : fPtMin(min),fPtMax(max) {}
37 virtual ~AliRsnDaughterCutPt() {}
38 virtual Bool_t Pass(AliRsnDaughter *track) const;
39private:
8ec9c365 40 Double_t fPtMin; // smallest allowed Pt
41 Double_t fPtMax; // largest allowed Pt
42
c37c6481 43 ClassDef(AliRsnDaughterCutPt,1)
8ec9c365 44};
8ec9c365 45
46#endif