Fixes for cmake
[u/mrichter/AliRoot.git] / PWG1 / AliRecInfoCuts.h
... / ...
CommitLineData
1#ifndef ALIRECINFOCUTS_H
2#define ALIRECINFOCUTS_H
3
4//------------------------------------------------------------------------------
5// Class to keep selection cuts for reconstructed tracks.
6//
7// Author: J.Otwinowski 04/02/2008
8//------------------------------------------------------------------------------
9
10#include "AliESDtrackCuts.h"
11
12class AliRecInfoCuts : public AliESDtrackCuts
13{
14public:
15 AliRecInfoCuts(const Char_t* name ="AliRecInfoCuts", const Char_t *title ="");
16 virtual ~AliRecInfoCuts() {;}
17
18 // setters
19 void SetMinTPCsignalN(const Int_t min=0) {fMinTPCsignalN = min;}
20 void SetMaxAbsTanTheta(const Float_t max=1e99) {fMaxAbsTanTheta = max;}
21
22 // getters
23 Int_t GetMinTPCsignalN() const {return fMinTPCsignalN;}
24 Float_t GetMaxAbsTanTheta() const {return fMaxAbsTanTheta;}
25
26 // getters for selected AliESDtrackCuts data members
27 Float_t GetPtMin() const {return fPtMin;}
28 Float_t GetPtMax() const {return fPtMax;}
29 Int_t GetMinNClustersTPC() const {return fCutMinNClusterTPC;}
30
31 // cuts init function
32 void Init();
33
34private:
35 Int_t fMinTPCsignalN; // min. number of TPC hits
36 Float_t fMaxAbsTanTheta; // max. absolute value of tan(theta)
37
38 AliRecInfoCuts(const AliRecInfoCuts&); // not implemented
39 AliRecInfoCuts& operator=(const AliRecInfoCuts&); // not implemented
40
41 ClassDef(AliRecInfoCuts, 1)
42};
43
44#endif //ALIRECINFOCUTS_H