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