o updates for PbPb analysis of B->J/psi (Fiorella)
[u/mrichter/AliRoot.git] / PWGJE / AliPWG4CosmicCandidates.h
CommitLineData
1f329128 1#ifndef AliPWG4CosmicCandidates_cxx\r
2#define AliPWG4CosmicCandidates_cxx\r
3\r
4// Analysis task looking for cosmic candidates\r
5// Authors: Marta Verweij marta.verweij@cern.ch\r
6\r
7class TH1F;\r
8class TH2F;\r
9class TH3F;\r
10class TList;\r
11class AliESDEvent;\r
12class AliESDfriend;\r
13class AliESDfriendTrack;\r
14class AliMCEvent;\r
15class AliVEvent;\r
16class AliESDtrackCuts;\r
17class AliESDtrack;\r
18\r
19#include "AliAnalysisTaskSE.h"\r
20\r
21class AliPWG4CosmicCandidates : public AliAnalysisTaskSE {\r
22 public:\r
23 AliPWG4CosmicCandidates();\r
24 AliPWG4CosmicCandidates(const char *name);\r
25 AliPWG4CosmicCandidates(const AliPWG4CosmicCandidates &res);\r
26 AliPWG4CosmicCandidates& operator=(const AliPWG4CosmicCandidates& trclass);\r
27 virtual ~AliPWG4CosmicCandidates() {;}\r
28\r
29 virtual void LocalInit();\r
30 virtual void UserCreateOutputObjects();\r
31 virtual void UserExec(Option_t *option);\r
32 virtual void Terminate(Option_t *);\r
33 \r
34 //Setters\r
35 void SetCuts(AliESDtrackCuts* trackCuts) {fTrackCuts = trackCuts;}\r
36 void SetPtMin(Double_t ptmin) {fPtMin = ptmin;}\r
37 void SetMaxCosmicAngle(Double_t angle) {fMaxCosmicAngle = angle;}\r
38\r
39 private:\r
40 AliESDtrackCuts *fTrackCuts; // Standard trackCuts for global tracks\r
41\r
42 Double_t fPtMin; // Minimal pt for cosmic candidate \r
43 Double_t fMaxCosmicAngle; // Max deviation from pi (angle between two tracks) in case of cosmic candidate\r
44\r
45 TH1F *fNEventAll; //! Event counter\r
46 TH1F *fNEventSel; //! Event counter: Selected events for analysis\r
47 \r
48 TH1F *fPtSignedCosmicCandidates; //! Cosmic Candidates\r
49 TH1F *fDeltaPtCosmicCandidates; //! Cosmic Candidates Delta Pt\r
50 TH2F *fDeltaPhiSumEta; //! Cosmic Candidates Delta Phi vs Sum Eta\r
51 TH2F *fDCAZCosmicCandidates; //! Cosmic Candidates DCAZ track1 vs track2\r
52 TH2F *fDCARCosmicCandidates; //! Cosmic Candidates DCAR track1 vs track2\r
53 TH1F *fTheta; //! Angle \theta between cosmic candidates in 3D space\r
54 TH1F *fThetaZoom; //! Angle between cosmic candidates in 3D space zoomed into back-to-back region\r
55 TH3F *fThetaPt1Pt2; //! Angle theta vs Pt1 vs Pt2\r
56 TH3F *fThetaPt1Pt2Signed; //! Angle theta vs Pt1 vs Pt2\r
57 TH3F *fDeltaPhiSumEtaPt1; //! Delta Phi vs Sum Eta vs Pt1\r
58 TH3F *fDeltaPhiSumEtaPt2; //! Delta Phi vs Sum Eta vs Pt2\r
59 TH3F *fThetaDCAZ1DCAZ2; //! Angle theta vs DCAZ1 vs DCAZ2\r
60 TH1F *fRisol; //! Isolation R\r
61 TH2F *fRisolTheta; //! Isolation R vs Theta\r
62\r
63 TList *fHistListCosmics; //! List of Histograms for cosmic candidates \r
64\r
65 \r
66 ClassDef(AliPWG4CosmicCandidates, 1);\r
67};\r
68\r
69#endif\r