2 // Author: Matevz Tadel 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
16 //______________________________________________________________________________
17 // Short description of AliEveMacro
20 class AliEveMacro : public TObject
22 friend class AliEveMacroEditor;
25 enum DataSource_e { kNone = 0, kRunLoader, kESD, kESDfriend, kRawReader };
27 AliEveMacro(Int_t src, const TString& mac, const TString& foo,
28 const TString& args="", Bool_t act=kTRUE);
29 virtual ~AliEveMacro() {}
31 Int_t GetSources() const { return fSources; }
32 void SetSources(Int_t x) { fSources = x; }
33 const TString& GetMacro() const { return fMacro; }
34 void SetMacro(const TString& x) { fMacro = x; }
35 const TString& GetFunc() const { return fFunc; }
36 void SetFunc(const TString& x) { fFunc = x; }
37 const TString& GetArgs() const { return fArgs; }
38 void SetArgs(const TString& x) { fArgs = x; }
39 Bool_t GetActive() const { return fActive; }
40 void SetActive(Bool_t x) { fActive = x; }
42 TString FormForExec() const;
43 TString FormForDisplay() const;
54 ClassDef(AliEveMacro, 0); // Short description.