]>
Commit | Line | Data |
---|---|---|
2ef0687e | 1 | #ifndef AliEveTRDTrackList_H |
2 | #define AliEveTRDTrackList_H | |
3 | ||
4 | #include <TEveElement.h> | |
2ef0687e | 5 | |
caaf90d2 | 6 | #define SIGNATURE_ERROR -1 |
7 | #define NOT_EXIST_ERROR -2 | |
8 | #define WARNING 0 | |
9 | #define SUCCESS 1 | |
10 | ||
11 | class AliEveTRDTrack; | |
12 | class AliTRDtrackV1; | |
13 | class TFile; | |
14 | class TFunction; | |
15 | class TList; | |
16 | class TTreeSRedirector; | |
2ef0687e | 17 | |
18 | class AliEveTRDTrackList: public TEveElementList | |
19 | { | |
20 | friend class AliEveTRDTrackListEditor; | |
21 | ||
22 | public: | |
23 | AliEveTRDTrackList(const Text_t* n = "AliEveTRDTrackList", const Text_t* t = "", Bool_t doColor = kFALSE); | |
caaf90d2 | 24 | virtual ~AliEveTRDTrackList(); |
25 | ||
2ef0687e | 26 | protected: |
caaf90d2 | 27 | TList* fMacroList; // List of (process) macros |
28 | TList* fMacroSelList; // List of (selection) macros | |
29 | TList* fDataFromMacroList; // List of macros that currently have data for histograms | |
30 | ||
31 | TTreeSRedirector *fDataTree; // Tree containing data for histograms | |
2ef0687e | 32 | |
caaf90d2 | 33 | Int_t AddMacro(const Char_t* path, const Char_t* name); // Adds a macro (path/name) to the corresponding list |
34 | // (automatic recognition / check) | |
35 | void AddMacroFast(const Char_t* path, const Char_t* name, // Adds a macro (path/name) to the selection (process) | |
36 | Bool_t toSelectionList); // macro list, if second parameter is kTRUE (kFALSE). | |
37 | // No checks are performed (fast). | |
38 | virtual void AddStandardMacros(); // Adds standard macros to the lists | |
39 | void ApplyProcessMacros(TList* iterator); // Uses the iterator (for the selected process | |
40 | // macros) to apply the selected macros to the data | |
41 | void ApplySelectionMacros(TList* iterator); // Uses the iterator (for the selected selection | |
42 | // macros) to apply the selected macros to the data | |
43 | Char_t* MakeMacroEntry(const Char_t* path, const Char_t* name); // Constructs an entry for the macro | |
44 | // lists with path and name | |
45 | void RemoveProcessMacros(TList* iterator); // Uses the iterator (for the selected process | |
46 | // macros) to remove the process macros from | |
47 | // the corresponding list. | |
48 | void RemoveSelectionMacros(TList* iterator); // Uses the iterator (for the selected selection | |
49 | // macros) to remove the selection macros from | |
50 | // the corresponding list. | |
2ef0687e | 51 | private: |
52 | AliEveTRDTrackList(const AliEveTRDTrackList&); // Not implemented | |
caaf90d2 | 53 | AliEveTRDTrackList& operator=(const AliEveTRDTrackList&); // Not implemented |
2ef0687e | 54 | |
3f797131 | 55 | ClassDef(AliEveTRDTrackList, 0); // Class containing a list of tracks |
2ef0687e | 56 | }; |
57 | ||
58 | #endif |