1 #ifndef ALIANALYSISTASKCOSMIC_H
2 #define ALIANALYSISTASKCOSMIC_H
4 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 // Analysis Task for the Quality Assurance of Cosmic Data
10 // Two track segments in the are matched in angle and charged. T
11 // The quality of the matching in is checked by comparing
12 // the tarnsverse momenta and starting points of the track segments
16 // andreas.morsch@cern.ch
29 #include "AliAnalysisTaskSE.h"
40 class AliAnalysisTaskCosmic : public AliAnalysisTaskSE {
42 AliAnalysisTaskCosmic(const char *name = "AliAnalysisTaskCosmic");
43 virtual ~AliAnalysisTaskCosmic() {}
44 AliAnalysisTaskCosmic(const AliAnalysisTaskCosmic& task);
45 AliAnalysisTaskCosmic& operator=(const AliAnalysisTaskCosmic& task);
47 virtual void UserCreateOutputObjects();
48 virtual void UserExec(Option_t *option);
49 virtual void Terminate(Option_t *);
51 TList* fHists; // List of histograms
52 TH1F* fhPt[6]; // Pt distribution
53 TH1F* fhTheta[6]; // Eta distribution
54 TH1F* fhPhi[6]; // Phi distribution
55 TH1F* fhDPhi[6]; // DeltaPhi
56 TH1F* fhDTheta[6]; // DeltaTheta
57 TH1F* fhDZ[6]; // DeltaZ
58 TH1F* fhDX[6]; // DeltaX
59 TH1F* fhDY[6]; // DeltaY
60 TH1F* fhDPt[6]; // DeltaPt
61 TH1F* fhD1ovPt[6]; // Delta 1/Pt
64 TH1F* fhDPtovPt[6]; // DeltaPt/pt
67 TH2F* fhDZvsZ; // dz vs z
68 TH2F* fhDZvsPhi; // dz vs phi
70 TH2F* fhCh1Ch2; // ch1 vs ch2
71 TH2F* fhPh1Ph2; // phi1 vs phi2
72 TH2F* fhCl1Cl2G; // #Clusters
73 TH2F* fhCl1Cl2B; // #Clusters
75 TProfile* fpDPt[6]; // delta pt / <pt>
76 TProfile* fpDPtS[6]; // delta_pt / <error_pt>
78 ClassDef(AliAnalysisTaskCosmic, 1); // example of analysis