]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/RESONANCES/AliRsnCutTrackQuality.h
Fix for compilation warning
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnCutTrackQuality.h
index d1d80f6102474d975fdde44a8332169fe4c00ee9..78a4fc539dcda7d7be028ed452af9692c3f289be 100644 (file)
@@ -36,8 +36,10 @@ public:
    void      SetPtRange(Double_t a, Double_t b)        {fPt[0] = TMath::Min(a, b); fPt[1] = TMath::Max(a, b);}
    void      SetEtaRange(Double_t a, Double_t b)       {fEta[0] = TMath::Min(a, b); fEta[1] = TMath::Max(a, b);}
 
-   void      SetDCARPtFormula(const char *formula)     {fDCARptFormula = formula; fDCARfixed = kFALSE;}
-   void      SetDCARmax(Double_t value)                {fDCARmax = value; fDCARptFormula = ""; fDCARfixed = kTRUE;}
+   void      SetDCARPtFormula(const char *formula)     {fDCARptFormula = formula; fDCARmaxfixed = kFALSE;}
+   void      SetDCARPtFormulaMin(const char *formula)  {fDCARptFormulaMin = formula; fDCARminfixed = kFALSE;}
+   void      SetDCARmax(Double_t value)                {fDCARmax = value; fDCARptFormula = ""; fDCARmaxfixed = kTRUE;}
+   void      SetDCARmin(Double_t value)                {fDCARmin = value; fDCARptFormulaMin = ""; fDCARminfixed = kTRUE;}
    void      SetDCAZPtFormula(const char *formula)     {fDCAZptFormula = formula; fDCAZfixed = kFALSE;}
    void      SetDCAZmax(Double_t value)                {fDCAZmax = value; fDCAZptFormula = ""; fDCAZfixed = kTRUE;}
 
@@ -48,17 +50,22 @@ public:
    void      SetTPCminNClusters(Int_t value)           {fTPCminNClusters = value;}
    void      SetTPCmaxChi2(Double_t value)             {fTPCmaxChi2 = value;}
    void      SetMaxChi2TPCConstrainedGlobal(Float_t max) {fCutMaxChi2TPCConstrainedVsGlobal = max; }
-
+   void      SetMinNCrossedRowsTPC(Double_t min, Bool_t useTPCCrossedRows) {fTPCminNCrossedRows=min; fIsUseCrossedRowsCut=useTPCCrossedRows;}
+   void      SetMinNCrossedRowsOverFindableClsTPC(Double_t min, Bool_t useTPCCrossedRows) {fTPCminCrossedRowsOverFindableCls=min; fIsUseCrossedRowsCut=useTPCCrossedRows;}
+   void      SetMinLengthActiveVolumeTPC(Double_t min, Bool_t on = kFALSE) {fCutMinLengthActiveVolumeTPC=min; fIsUseLengthActiveVolumeTPCCut=on;}
    void      SetRejectKinkDaughters(Bool_t yn = kTRUE) {fRejectKinkDaughters = yn;}
 
    void      SetAODTestFilterBit(Int_t value)          {fAODTestFilterBit = value;}
    void      SetCheckOnlyFilterBit(Bool_t on=kTRUE)    {fCheckOnlyFilterBit=on;}
-
    void      SetDefaults2010();
+   void      SetDefaults2011(Bool_t useTPCCrossedRows = kTRUE);
+   void      SetDefaultsHighPt2011(Bool_t useTPCCrossedRows = kTRUE);
    void      SetESDtrackCuts(AliESDtrackCuts *esdTrackCuts) {fESDtrackCuts = esdTrackCuts;}
    AliESDtrackCuts  *GetESDtrackCuts() {return fESDtrackCuts;}
-
-
+   Double_t   GetPtRange(Bool_t max) {return fPt[max];}
+   Double_t   GetEtaRange(Bool_t max) {return fEta[max];}
+   
    virtual Bool_t IsSelected(TObject *obj);
    virtual void   Print(const Option_t *option = "") const;
 
@@ -74,9 +81,12 @@ protected:
    Double_t   fEta[2];                 // eta range
    Bool_t     fRejectKinkDaughters;    // switch to kTRUE if daughters of kinks must be rejected
 
-   Bool_t     fDCARfixed;              // flag to switch between fixed and pt-dependent DCA cut
-   TString    fDCARptFormula;          // expression to compute transverse DCA sigma w.r. to pt
+   Bool_t     fDCARmaxfixed;           // flag to switch between fixed and pt-dependent DCA cut (maximum)
+   Bool_t     fDCARminfixed;           // flag to switch between fixed and pt-dependent DCA cut (minimum)
+   TString    fDCARptFormula;          // expression to compute transverse DCA sigma w.r. to pt (maximum)
+   TString    fDCARptFormulaMin;       // expression to compute transverse DCA sigma w.r. to pt (minimum)
    Double_t   fDCARmax;                // maximum value for transverse DCA
+   Double_t   fDCARmin;                // minimum value for transverse DCA
 
    Bool_t     fDCAZfixed;              // flag to switch between fixed and pt-dependent DCA cut
    TString    fDCAZptFormula;          // expression to compute longitudinal DCA sigma w.r. to pt
@@ -89,10 +99,17 @@ protected:
    Int_t      fTPCminNClusters;        // minimum number of required clusters in TPC
    Double_t   fTPCmaxChi2;             // maximum chi2 / number of clusters in TPC
    Float_t    fCutMaxChi2TPCConstrainedVsGlobal;  // max chi2 TPC track constrained with vtx vs. global track
+   
+   Bool_t     fIsUseCrossedRowsCut;     //enable cut on minimum number of TPC crossed rows
+   Float_t    fTPCminNCrossedRows;     // minimum number of TPC crossed rows
+   Float_t    fTPCminCrossedRowsOverFindableCls;     // minimum number of crossed rows/findable clusters
+   Bool_t     fIsUseLengthActiveVolumeTPCCut;     //enable cut on minimum track lenght in TPC active volume
+   Float_t    fCutMinLengthActiveVolumeTPC; // mininum length (in cm) over which the track is sampled in the active volume of the TPC (outside boundaries)
+
    Int_t      fAODTestFilterBit;       // test filter bit for AOD tracks
    Bool_t     fCheckOnlyFilterBit;     // check only the filter bit
    AliESDtrackCuts *fESDtrackCuts;     // pointer to AliESDtrackCuts object
 
-   ClassDef(AliRsnCutTrackQuality, 2)
+   ClassDef(AliRsnCutTrackQuality, 4)
 };
 #endif