DQM configure file
[u/mrichter/AliRoot.git] / PWGPP / cosmic / AliAnalysisTaskCosmic.h
CommitLineData
13698385 1#ifndef ALIANALYSISTASKCOSMIC_H\r
2#define ALIANALYSISTASKCOSMIC_H \r
3\r
4/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *\r
5 * See cxx source for full Copyright notice */\r
6\r
7/* $Id$ */\r
8\r
9// Analysis Task for the Quality Assurance of Cosmic Data\r
10// Two track segments in the are matched in angle and charged. T\r
11// The quality of the matching in is checked by comparing \r
12// the tarnsverse momenta and starting points of the track segments\r
13//\r
14// Author\r
15// Andreas Morsch\r
16// andreas.morsch@cern.ch\r
0ee094cc 17\r
c2174181 18\r
19\r
20class TH1F;\r
21class TH2F;\r
22\r
23class TProfile;\r
24\r
25class TList;\r
26class TClonesArray;\r
27\r
28\r
29#include "AliAnalysisTaskSE.h"\r
30\r
31enum SelType {\r
32 kPosC = 0,\r
33 kNegC = 1,\r
34 kPosZ = 2,\r
35 kNegZ = 3,\r
36 kGood = 4,\r
37 kBad = 5\r
38}; \r
39\r
40class AliAnalysisTaskCosmic : public AliAnalysisTaskSE {\r
41 public:\r
42 AliAnalysisTaskCosmic(const char *name = "AliAnalysisTaskCosmic");\r
43 virtual ~AliAnalysisTaskCosmic() {}\r
13698385 44 AliAnalysisTaskCosmic(const AliAnalysisTaskCosmic& task); \r
45 AliAnalysisTaskCosmic& operator=(const AliAnalysisTaskCosmic& task);\r
c2174181 46 \r
47 virtual void UserCreateOutputObjects();\r
48 virtual void UserExec(Option_t *option);\r
49 virtual void Terminate(Option_t *);\r
50 private:\r
51 TList* fHists; // List of histograms\r
52 TH1F* fhPt[6]; // Pt distribution\r
53 TH1F* fhTheta[6]; // Eta distribution\r
54 TH1F* fhPhi[6]; // Phi distribution\r
55 TH1F* fhDPhi[6]; // DeltaPhi\r
56 TH1F* fhDTheta[6]; // DeltaTheta\r
57 TH1F* fhDZ[6]; // DeltaZ\r
58 TH1F* fhDX[6]; // DeltaX\r
59 TH1F* fhDY[6]; // DeltaY\r
60 TH1F* fhDPt[6]; // DeltaPt\r
61 TH1F* fhD1ovPt[6]; // Delta 1/Pt\r
62 \r
63\r
64 TH1F* fhDPtovPt[6]; // DeltaPt/pt\r
65 \r
66 \r
67 TH2F* fhDZvsZ; // dz vs z\r
68 TH2F* fhDZvsPhi; // dz vs phi\r
69 \r
70 TH2F* fhCh1Ch2; // ch1 vs ch2\r
71 TH2F* fhPh1Ph2; // phi1 vs phi2\r
72 TH2F* fhCl1Cl2G; // #Clusters\r
73 TH2F* fhCl1Cl2B; // #Clusters\r
74 \r
75 TProfile* fpDPt[6]; // delta pt / <pt>\r
76 TProfile* fpDPtS[6]; // delta_pt / <error_pt>\r
77 \r
78 ClassDef(AliAnalysisTaskCosmic, 1); // example of analysis\r
79};\r
80\r
81#endif\r