*** V interface for TPCCalibTasks ***
[u/mrichter/AliRoot.git] / TPC / Calib / AliTPCcalibTracksCuts.h
CommitLineData
7d886eda 1#ifndef AliTPCCALIBTRACKSCUTS_H
2#define AliTPCCALIBTRACKSCUTS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//////////////////////////////////////////////////////
8// //
9// Class to specify cuts for track analysis //
10// with AliTPCcalibTracks //
11// //
12//////////////////////////////////////////////////////
13
14
15
16#include <TNamed.h>
17#include <TObjString.h>
18
19class TChain;
7eac86b0 20class AliTPCseed;
e3d1b1e2 21class AliVTrack;
7d886eda 22
23using namespace std;
24
25class AliTPCcalibTracksCuts: public TNamed {
26
27public:
7d886eda 28 AliTPCcalibTracksCuts(Int_t minClusters, Float_t minRatio, Float_t max1pt,
7eac86b0 29 Float_t edgeXZCutNoise, Float_t edgeThetaCutNoise);
7d886eda 30 AliTPCcalibTracksCuts(AliTPCcalibTracksCuts *cuts);
31 AliTPCcalibTracksCuts();
32 virtual ~AliTPCcalibTracksCuts();
7eac86b0 33 static AliTPCcalibTracksCuts *CreateCuts(char* ctype);
34
35 Int_t AcceptTrack(const AliTPCseed * track) const;
e3d1b1e2 36 Int_t AcceptTrack(const AliVTrack * track) const;
7eac86b0 37
7d886eda 38 void SetMinClusters(Int_t minClusters){fMinClusters = minClusters;}
39 void SetMinRatio(Float_t minRatio){fMinRatio = minRatio;}
40 void SetMax1pt(Float_t max1pt){fMax1pt = max1pt;}
41 void SetEdgeXYCutNoise(Float_t edgeCutNoise){fEdgeYXCutNoise = edgeCutNoise;}
42 void SetEdgeThetaCutNoise(Float_t edgeCutNoise){fEdgeThetaCutNoise = edgeCutNoise;}
7d886eda 43 Int_t GetMinClusters() const {return fMinClusters;}
44 Float_t GetMinRatio() const {return fMinRatio;}
45 Float_t GetMax1pt() const {return fMax1pt;}
46 Float_t GetEdgeYXCutNoise() const {return fEdgeYXCutNoise;}
47 Float_t GetEdgeThetaCutNoise() const {return fEdgeThetaCutNoise;}
9389f9a4 48 virtual void Print(Option_t* option = "") const;
7d886eda 49
50private:
51 Int_t fMinClusters; // number of clusters
52 Float_t fMinRatio; // kMinRratio = 0.4
53 Float_t fMax1pt; // kMax1pt = 0.5
54 Float_t fEdgeYXCutNoise; // kEdgeYXCutNoise = 0.13
55 Float_t fEdgeThetaCutNoise; // kEdgeThetaCutNoise = 0.018
7d886eda 56
57protected:
58 ClassDef(AliTPCcalibTracksCuts,1)
59};
60
61
62#endif