]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGCF/FEMTOSCOPY/AliFemto/AliFemtoV0TrackPairCut.h
Merge branch 'master_patch'
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemto / AliFemtoV0TrackPairCut.h
index f33886aa2df5caffda4b01bedbb1434492ffadde..a786fca7764ccc213e5c72c132445651f281a12c 100644 (file)
@@ -32,6 +32,8 @@
 
 class AliFemtoV0TrackPairCut : public AliFemtoPairCut{
 public:
+  enum ParticleType {kLambda=0, kAntiLambda=1, kProton=2, kAntiProton=3};
+  typedef enum ParticleType AliFemtoParticleType;
   AliFemtoV0TrackPairCut();
   AliFemtoV0TrackPairCut(const AliFemtoV0TrackPairCut& cut);
   virtual ~AliFemtoV0TrackPairCut();
@@ -50,6 +52,8 @@ public:
   void SetTPCEntranceSepMinimum(double dtpc);
   void SetTPCExitSepMinimum(double dtpc);
   void SetDataType(AliFemtoDataType type);
+  void SetKstarCut(double kstar, AliFemtoParticleType firstParticle, AliFemtoParticleType secondParticle);
+  void SetMinAvgSeparation(int type, double minSep);
 
  protected:
   long fNPairsPassed;          // Number of pairs consideered that passed the cut 
@@ -66,7 +70,11 @@ public:
   Double_t fDTPCMin;          // Minimum allowed pair nominal separation at the entrance to the TPC
   Double_t fDTPCExitMin;          // Minimum allowed pair nominal separation at the exit of the TPC
  
-
+  double fKstarCut; //do we want the K star cut, if yes (>0) then it is the minimum value of k*
+  AliFemtoParticleType fFirstParticleType;  //for kstar - first particle type (V0 type) 
+  AliFemtoParticleType fSecondParticleType; //for kstar - second particle type (primary track)
+  double   fMinAvgSepTrackPos;
+  double   fMinAvgSepTrackNeg;
 
 #ifdef __ROOT__
   ClassDef(AliFemtoV0TrackPairCut, 0)
@@ -84,7 +92,13 @@ inline AliFemtoV0TrackPairCut::AliFemtoV0TrackPairCut(const AliFemtoV0TrackPairC
   fTrackTPCOnly(0),
   fDataType(kAOD),
   fDTPCMin(0),
-  fDTPCExitMin(0)
+  fDTPCExitMin(0),
+  fKstarCut(0),
+  fFirstParticleType(kLambda), 
+  fSecondParticleType(kProton),
+  fMinAvgSepTrackPos(0),
+  fMinAvgSepTrackNeg(0)
+
 { /* no-op */ }
 
 inline AliFemtoPairCut* AliFemtoV0TrackPairCut::Clone() { AliFemtoV0TrackPairCut* c = new AliFemtoV0TrackPairCut(*this); return c;}