]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGJE/EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetPatchTriggerQA.h
fix compiler warning
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / UserTasks / AliAnalysisTaskEmcalJetPatchTriggerQA.h
index 362aaacf129395c7d1e439343c685c695683db7d..66e6e5ffc82ba857585275d4589411efc9ef9d59 100644 (file)
@@ -29,14 +29,26 @@ class AliAnalysisTaskEmcalJetPatchTriggerQA : public AliAnalysisTaskEmcalJet {
   virtual void           GetDimParams(Int_t iEntry,TString &label, Int_t &nbins, Double_t &xmin, Double_t &xmax);
   virtual void           SetLocalRhoName(const char *n)        { fLocalRhoName  = n; }
 
+  virtual void           SetAreaCut(Double_t a)                { fAreacut    = a; }
+  virtual void           SetJetEta(Double_t emin, Double_t emax)  { fEtamin = emin; fEtamax = emax; }
+  virtual void           SetJetPhi(Double_t pmin, Double_t pmax)  { fPhimin = pmin; fPhimax = pmax; }
+
   // getters
   TString               GetLocalRhoName() const                 {return fLocalRhoName; } 
 
  protected:
   Bool_t                 Run();
   virtual void           Terminate(Option_t *);
+  virtual Int_t          AcceptMyJet(AliEmcalJet *jet);   // applies basic jet tests/cuts before accepting
   virtual Int_t          GetCentBin(Double_t cent) const;
-  Float_t                RelativeEPJET(Double_t jetAng, Double_t EPAng) const;
+  Double_t               RelativeEPJET(Double_t jetAng, Double_t EPAng) const;
+
+  // parameters of detector to cut on for event
+  Double_t               fPhimin;                  // phi min
+  Double_t               fPhimax;                  // phi max
+  Double_t               fEtamin;                  // eta min
+  Double_t               fEtamax;                  // eta max
+  Double_t               fAreacut;                 // area cut
 
   void                         ExecOnce();
   Double_t             fLocalRhoVal;