]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
additinal data member
authorjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 22 Oct 2009 22:05:19 +0000 (22:05 +0000)
committerjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 22 Oct 2009 22:05:19 +0000 (22:05 +0000)
PWG1/AliRecInfoCuts.cxx
PWG1/AliRecInfoCuts.h

index 519a7010516778d46f5aef498040715df3022463..760c19dd87713d9ccbc55d7e80a421f71918f379 100644 (file)
@@ -28,6 +28,9 @@ ClassImp(AliRecInfoCuts)
 AliRecInfoCuts::AliRecInfoCuts(const Char_t* name,const Char_t *title) : AliESDtrackCuts(name, title)
 , fMinTPCsignalN(0)
 , fMaxAbsTanTheta(0)
+, fMinNClustersTRD(0)
+, fTPCITSMatchingRadius(0)
+, fTPCTRDMatchingRadius(0)
 {
   // init data members with defaults
   Init();
@@ -39,6 +42,8 @@ void AliRecInfoCuts::Init()
   // set default values 
   SetMinTPCsignalN();
   SetMaxAbsTanTheta();
+  SetTPCITSMatchingRadius();
+  SetTPCTRDMatchingRadius();
 }
 
 
index 361b74e6c5361333d3afd752168fbc806a4800b7..bec93e9d630e36170624d743cf18f1d69559b238 100644 (file)
@@ -17,7 +17,11 @@ public:
  
   // setters 
   void SetMinTPCsignalN(const Int_t min=0)      {fMinTPCsignalN = min;}
-  void SetMaxAbsTanTheta(const Float_t max=1e99)  {fMaxAbsTanTheta = max;}
+  void SetMaxAbsTanTheta(const Float_t max=1e99) {fMaxAbsTanTheta = max;}
+  void SetMinNClustersTRD(const Int_t min=0)  {fMinNClustersTRD = min;}
+  void SetMinNTrackletsTRD(const Int_t min=0)  {fMinNTrackletsTRD = min;}
+  void SetTPCITSMatchingRadius(const Float_t radius=70.)  {fTPCITSMatchingRadius = radius;}
+  void SetTPCTRDMatchingRadius(const Float_t radius=260.) {fTPCTRDMatchingRadius = radius;}
 
   // getters
   Int_t GetMinTPCsignalN()    const {return fMinTPCsignalN;}
@@ -27,6 +31,11 @@ public:
   Float_t GetPtMin()          const {return fPtMin;}
   Float_t GetPtMax()          const {return fPtMax;}
   Int_t GetMinNClustersTPC()  const {return fCutMinNClusterTPC;}
+  Int_t GetMinNClustersITS()  const {return fCutMinNClusterITS;}
+  Int_t GetMinNClustersTRD()  const {return fMinNClustersTRD;}
+  Int_t GetMinNTrackletsTRD()  const {return fMinNTrackletsTRD;}
+  Float_t GetTPCITSMatchingRadius()  const {return fTPCITSMatchingRadius;}
+  Float_t GetTPCTRDMatchingRadius()  const {return fTPCTRDMatchingRadius;}
 
   // cuts init function
   void Init();
@@ -34,6 +43,10 @@ public:
 private:
   Int_t   fMinTPCsignalN;  // min. number of TPC hits
   Float_t fMaxAbsTanTheta; // max. absolute value of tan(theta)
+  Int_t   fMinNClustersTRD; // min number of TRD clusters
+  Float_t fTPCITSMatchingRadius; // TPC-ITS matching radius
+  Float_t fTPCTRDMatchingRadius; // TPC-TRD matching radius
+  Int_t   fMinNTrackletsTRD; // min number of TRD tracklets
 
   AliRecInfoCuts(const AliRecInfoCuts&); // not implemented
   AliRecInfoCuts& operator=(const AliRecInfoCuts&); // not implemented