]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGHF/hfe/AliHFEcuts.h
Remove some of the bkg calc alterantives; add switch for histos for time calibration...
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEcuts.h
index c6cb106c9b1743c0b1541fdd56fac41a6c24655c..b9346434970b4eff222bf82db806a4e8203fe8ea 100644 (file)
@@ -171,6 +171,7 @@ class AliHFEcuts : public TNamed{
     inline void SetUseSPDVertex(Bool_t useSPDVertex);
     void SetUseCorrelationVertex() { fUseCorrelationVertex = kTRUE;};
     void SetSPDVtxResolutionCut() {fSPDVtxResolution = kTRUE;}
+    void SetpApileupCut() { fPApileupCut = kTRUE; }
     void SetFractionOfSharedTPCClusters(Double_t fractionOfSharedTPCClusters) {fFractionOfSharedTPCClusters = fractionOfSharedTPCClusters;};
     void SetMaxImpactParameterRpar(Bool_t maxImpactParameterRpar) { fMaxImpactParameterRpar = maxImpactParameterRpar; };
     
@@ -187,6 +188,10 @@ class AliHFEcuts : public TNamed{
     void SetRequireSigmaToVertex() { SETBIT(fRequirements, kSigmaToVertex); CLRBIT(fRequirements, kDCAToVertex); };
     void UnsetVertexRequirement() { CLRBIT(fRequirements, kDCAToVertex); CLRBIT(fRequirements, kSigmaToVertex); }
     void SetRequireKineMCCuts() { SETBIT(fRequirements, kKineMCCuts); };
+    void SetRejectKinkDaughters() { fRejectKinkDaughters = kTRUE; }
+    void SetAcceptKinkDaughters() { fRejectKinkDaughters = kFALSE; }
+    void SetRejectKinkMothers() { fRejectKinkMothers = kTRUE; }
+    void SetAcceptKinkMothers() { fRejectKinkMothers = kFALSE; }
 
     void SetDebugLevel(Int_t level) { fDebugLevel = level; };
     Int_t GetDebugLevel() const { return fDebugLevel; };
@@ -230,6 +235,7 @@ class AliHFEcuts : public TNamed{
     Double_t fEtaRange[2];               // Eta range
     Double_t fDCAtoVtx[2];           // DCA to Vertex
     Double_t fProdVtx[4];              // Production Vertex
+    Double_t fProdVtxZ[2];             // Production Vertex in Z direction
     Double_t fPtRange[2];              // pt range
     UChar_t fMinClustersTPC;       // Min.Number of TPC clusters
     UChar_t fMinClustersTPCPID;          // Min.Number of TPC clusters
@@ -253,6 +259,7 @@ class AliHFEcuts : public TNamed{
     Bool_t   fUseSPDVertex;           // Use primary SPD vertex 
     Bool_t   fUseCorrelationVertex;   // Use the correlation of the vertex in z
     Bool_t   fSPDVtxResolution;       // Check resolution of the SPD vertex
+    Bool_t   fPApileupCut;            // Apply pA pileup cut
     Float_t  fIPCutParams[4];         // Parameters of impact parameter cut parametrization
     Bool_t   fIsIPSigmacut;           // if IP cut or IP sigma cut 
     Bool_t   fIsIPcharge;             // if cut on IP * charge (cut using only positive side of distribution, to eliminate conversions)
@@ -263,13 +270,15 @@ class AliHFEcuts : public TNamed{
     Double_t fTOFsignaldx;                 // TOF signal Dx
     Double_t fTOFsignaldz;                 // TOF signal Dz
     Int_t    fAODFilterBit;                // AOD Filter Bit Number
+    Bool_t   fRejectKinkDaughters;         // Reject Kink Daughters
+    Bool_t   fRejectKinkMothers;         // Reject Kink Daughters
     
     TList *fHistQA;                        //! QA Histograms
     TObjArray *fCutList;               //! List of cut objects(Correction Framework Manager)
 
     Int_t fDebugLevel;            // Debug Level
     
-  ClassDef(AliHFEcuts, 5)         // Container for HFE cuts
+  ClassDef(AliHFEcuts, 6)         // Container for HFE cuts
 };
 
 //__________________________________________________________________
@@ -357,6 +366,8 @@ void AliHFEcuts::CreateStandardCuts(){
   fProdVtx[1] = 3;
   fProdVtx[2] = 0;
   fProdVtx[3] = 3;
+  fProdVtxZ[0] = 0;
+  fProdVtxZ[1] = 5;
   //SetRequireDCAToVertex();
   //fDCAtoVtx[0] = 0.5;
   //fDCAtoVtx[1] = 1.5;
@@ -369,7 +380,9 @@ void AliHFEcuts::CreateStandardCuts(){
   fMaxChi2clusterTPC = 4.;
   fMinClusterRatioTPC = 0.6;
   fPtRange[0] = 0.1;
-  fPtRange[1] = 20.;
+  fPtRange[1] = 100.;
+  fRejectKinkDaughters = kTRUE;
+  fRejectKinkMothers = kTRUE;
   SetRequireKineMCCuts();
 }
 #endif