]>
Commit | Line | Data |
---|---|---|
72c0a987 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
4 | //* This file is property of and copyright by the ALICE Project * | |
5 | //* ALICE Experiment at CERN, All rights reserved. * | |
6 | //* See cxx source for full Copyright notice * | |
7 | ||
8 | /// @file AliDxHFECorrelation.h | |
9 | /// @author Sedat Altinpinar, Hege Erdal, Matthias Richter | |
10 | /// @date 2012-04-25 | |
11 | /// @brief Worker class for D0-HF electron correlation | |
12 | /// | |
13 | ||
14 | #ifndef ALIDXHFECORRELATION_H | |
15 | #define ALIDXHFECORRELATION_H | |
16 | ||
17 | #include "TNamed.h" | |
18 | ||
19 | class TH1F; | |
20 | class TH2F; | |
21 | ||
22 | class AliDxHFECorrelation : public TNamed { | |
23 | public: | |
24 | /// default constructor | |
25 | AliDxHFECorrelation(const char* name=NULL); | |
26 | /// destructor | |
27 | virtual ~AliDxHFECorrelation(); | |
28 | ||
29 | // init | |
30 | int Init(); | |
31 | ||
32 | /// fill histograms from particles | |
33 | int Fill(const TObjArray* candidatesD0, const TObjArray* candidatesElectron); | |
34 | ||
35 | /// overloaded from TObject: cleanup | |
36 | virtual void Clear(Option_t * option =""); | |
37 | /// overloaded from TObject: print info | |
38 | virtual void Print(Option_t *option="") const; | |
39 | /// overloaded from TObject: draw histograms | |
40 | virtual void Draw(Option_t *option=""); | |
41 | /// overloaded from TObject: find object by name | |
42 | virtual TObject* FindObject(const char *name) const; | |
43 | /// overloaded from TObject: find object by pointer | |
44 | virtual TObject* FindObject(const TObject *obj) const; | |
45 | /// overloaded from TObject: save to file | |
46 | virtual void SaveAs(const char *filename="",Option_t *option="") const; // *MENU* | |
47 | ||
48 | AliDxHFECorrelation& operator+=(const AliDxHFECorrelation& other); | |
49 | ||
50 | enum { | |
51 | khD0pT, // TH1F | |
52 | khD0Phi, // TH1F | |
53 | khD0Eta, // TH1F | |
54 | khElectronpT, // TH1F | |
55 | khElectronPhi, // TH1F | |
56 | khElectronEta, // TH1F | |
57 | khDeltaPhi, // TH1F | |
58 | kNofHistograms | |
59 | }; | |
60 | ||
61 | protected: | |
62 | private: | |
63 | /// copy constructor | |
64 | AliDxHFECorrelation(const AliDxHFECorrelation& other); | |
65 | /// assignment operator | |
66 | AliDxHFECorrelation& operator=(const AliDxHFECorrelation& other); | |
67 | ||
68 | TObjArray* fHistograms; // the histograms | |
69 | ||
70 | ClassDef(AliDxHFECorrelation, 1) | |
71 | }; | |
72 | #endif |