X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVE%2FEveBase%2FAliEveMacro.h;h=00c1347921536ff7d6d2e333dfffb14ecdb38bfd;hb=1236521725f3c80b6b1d7523ec01d6f3be6a50f2;hp=6173df9c18b1b90a241cef3b841ac63725215abf;hpb=f6afd0e1c0d6c8c103b55feeabcc8a0ff47a9f9d;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVE/EveBase/AliEveMacro.h b/EVE/EveBase/AliEveMacro.h index 6173df9c18b..00c13479215 100644 --- a/EVE/EveBase/AliEveMacro.h +++ b/EVE/EveBase/AliEveMacro.h @@ -24,12 +24,14 @@ class AliEveMacro : public TObject public: enum DataSource_e { kNone = 0, kRunLoader, kESD, kESDfriend, kRawReader }; - AliEveMacro(Int_t src, const TString& mac, const TString& foo, + AliEveMacro(Int_t src, const TString& tags, const TString& mac, const TString& foo, const TString& args="", Bool_t act=kTRUE); virtual ~AliEveMacro() {} Int_t GetSources() const { return fSources; } void SetSources(Int_t x) { fSources = x; } + const TString& GetTags() const { return fTags; } + void SetTags(const TString& x) { fTags = x; } const TString& GetMacro() const { return fMacro; } void SetMacro(const TString& x) { fMacro = x; } const TString& GetFunc() const { return fFunc; } @@ -43,11 +45,12 @@ public: TString FormForDisplay() const; protected: - Int_t fSources; - TString fMacro; - TString fFunc; - TString fArgs; - Bool_t fActive; + Int_t fSources; // Source of data. + TString fTags; // Tags describing the macro (for selection). + TString fMacro; // Macro where func is defined; if null, assume it is there. + TString fFunc; // Function to call. + TString fArgs; // Arguments for the function. + Bool_t fActive; // Flag if macro is active. private: