]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGJE/UserTasks/AliAnalysisTaskJetAntenna.h
Remove hard-coded number of centrality bins
[u/mrichter/AliRoot.git] / PWGJE / UserTasks / AliAnalysisTaskJetAntenna.h
index bd93fb8056b3304ca9db26ca757ff4f7eb104eb9..594cf55a66be29d44876a59b6e10cc1df06694ea 100644 (file)
@@ -38,7 +38,7 @@ public:
 
    Double_t RelativePhi(Double_t angle1,Double_t angle2);     
    Int_t   GetPhiBin(Double_t phi);
-   
+   Int_t      GetPtHardBin(Double_t ptHard);
   
    virtual AliVEvent::EOfflineTriggerTypes GetOfflineTrgMask() const { return fOfflineTrgMask; }
    virtual void     GetBranchNames(TString &branch1, TString &branch2) const { branch1 = fJetBranchName[0]; branch2 = fJetBranchName[1]; }
@@ -79,6 +79,7 @@ public:
       
    virtual void     SetNRPBins(Int_t bins){fNRPBins=bins;}
    virtual void     SetSemigoodCorrect(Int_t yesno){fSemigoodCorrect=yesno;}
+   virtual void     SetDoMatching(Bool_t b=kFALSE){fDoMatching=b;}
    virtual void     SetHolePos(Float_t poshole) { fHolePos = poshole; }
    virtual void     SetHoleWidth(Float_t holewidth) { fHoleWidth = holewidth; }
    virtual void     SetTrackTypeRec(Int_t i){fTrackTypeRec = i;}
@@ -100,9 +101,11 @@ private:
     AliAODEvent *fAODOut;    //! AOD event 
     AliAODExtension  *fAODExtension; //! where we take the jets from can be input or output AOD
    Int_t   GetListOfTracks(TList *list);
+   Int_t   GetListOfTracksExtra(TList* list);
    Int_t   SelectTrigger(TList *list,Double_t minT,Double_t maxT,Int_t &number);
    Int_t   GetHardestTrackBackToJet(AliAODJet *jet);
    Int_t   GetListOfTracksCloseToJet(TList *list,AliAODJet *jet);
+  
    // jets to compare
    TString fJetBranchName[2]; //  name of jet branches to compare
    TList *fListJets[2];       //! jet lists
@@ -126,10 +129,11 @@ private:
    Int_t   fNInputTracksMax;  // upper bound of nb. of input tracks
    Int_t   fRequireITSRefit;
    Int_t   fApplySharedClusterCut; // flag to apply shared cluster cut (needed for some AODs where this cut was not applied in the filtering)
-     Int_t   fTrackTypeRec;
+   Int_t   fTrackTypeRec;
    Float_t   fRPAngle;
    Int_t   fNRPBins;
    Int_t   fSemigoodCorrect;
+   Bool_t fDoMatching;
    Float_t fHolePos;
    Float_t fHoleWidth; 
    Float_t fCutTM;             //lower pt cut for particles entering the TM axis calculation 
@@ -152,9 +156,9 @@ private:
    TList *fOutputList;                        //! output data container
    
     TH1I  *fHistEvtSelection;                  //! event selection statistic
-     TH1F*      fh1JetEntries;             //centrality bias of triggers 
+     TH2F*      fh2JetEntries;             //centrality bias of triggers 
      TH2F*      fh2Circularity;             //jet density
-    
+     TH2F*      fh2JetAxisPhi;              //smearing jet axis
      THnSparse   *fhnJetTM;               //Recoil jet spectrum