#include <TQObject.h>
#include <TObjArray.h>
+#include <AliEventInfo.h>
+
class AliEveMacroExecutor;
-class AliEveEventSelector;
+class AliEveEventSelector;
class AliRunLoader;
class AliESDEvent;
class AliRawReader;
class AliGRPObject;
+class AliRecoParam;
class AliMagF;
+class TEveElement;
class TFile;
class TTree;
class TGeoManager;
+class TString;
+class TMap;
//==============================================================================
//
static void SetCdbUri (const TString& cdb);
static void SetAssertElements(Bool_t assertRunloader, Bool_t assertEsd,
Bool_t assertAod, Bool_t assertRaw);
-
+ static void SearchRawForCentralReconstruction();
AliEveEventManager(const TString& name="Event");
AliEveEventManager(const TString& name, const TString& path, Int_t ev=0);
virtual Int_t GetMaxEventId(Bool_t refreshESD=kFALSE) const;
virtual void GotoEvent(Int_t event);
virtual void NextEvent();
- virtual void PrevEvent();
+ virtual void PrevEvent();
virtual void Close();
+ void Timeout(); // * SIGNAL*
Int_t GetEventId() const { return fEventId; }
AliRunLoader* GetRunLoader() const { return fRunLoader; }
AliEveEventSelector* GetEventSelector() const { return fPEventSelector; }
TString GetEventInfoHorizontal() const;
TString GetEventInfoVertical() const;
+ const AliEventInfo* GetEventInfo();
+
+ static Int_t CurrentEventId();
static Bool_t HasRunLoader();
static Bool_t HasESD();
static AliMagF* AssertMagField();
static TGeoManager* AssertGeometry();
+ static AliRecoParam* AssertRecoParams();
static AliEveEventManager* AddDependentManager(const TString& name, const TString& path);
static AliEveEventManager* GetDependentManager(const TString& name);
Bool_t GetAutoLoad() const { return fAutoLoad; }
void SetAutoLoadTime(Float_t time);
void SetAutoLoad(Bool_t autoLoad);
+ void SetTrigSel(Int_t trig);
void AutoLoadNextEvent();
Bool_t AreEventFilesOpened() const { return fIsOpen; }
Bool_t IsEventAvailable() const { return fHasEvent; }
Bool_t IsUnderExternalControl() const { return fExternalCtrl; }
+
+ Bool_t InsertGlobal(const TString& tag, TEveElement* model);
+ Bool_t InsertGlobal(const TString& tag, TEveElement* model,
+ Bool_t replace, Bool_t update);
+ TEveElement* FindGlobal(const TString& tag);
virtual void AfterNewEventLoaded();
+ void NewEventDataLoaded(); // *SIGNAL*
void NewEventLoaded(); // *SIGNAL*
AliEveMacroExecutor* GetExecutor() const { return fExecutor; }
AliAODEvent *fAOD; // AODEvent object.
AliRawReader *fRawReader; // Raw-data reader.
-
+ AliEventInfo fEventInfo; // Current Event Info
+
Bool_t fAutoLoad; // Automatic loading of events (online)
Float_t fAutoLoadTime; // Auto-load time in seconds
TTimer *fAutoLoadTimer; // Timer for automatic event loading
Bool_t fHasEvent; // Is an event available.
Bool_t fExternalCtrl; // Are we under external event-loop.
+ TMap* fGlobal;
+ Bool_t fGlobalReplace; // Are global replace
+ Bool_t fGlobalUpdate; // Are global updates
+
AliEveMacroExecutor *fExecutor; // Executor for std macros
TEveElementList *fTransients; // Container for additional transient (per event) elements.
static TList *fgAODfriends; // Global list of AOD friend names to be attached during opening of the event-data (empty by default).
- static AliGRPObject *fgGRPData; // Global run parameters.
+ static Bool_t fgRawFromStandardLoc; // Global flag to enable looking for raw data in ../../../raw/, as it is stored for central reco.
+
+ static Bool_t fgGRPLoaded; // Global run parameters loaded?
static AliMagF *fgMagField; // Global pointer to magnetic field.
+ static AliRecoParam* fgRecoParam;
static Bool_t fgUniformField; // Track with uniform field.
private:
void StopAutoLoadTimer();
static Bool_t InitGRP();
- static Bool_t SetFieldMap(Float_t l3Cur, Float_t diCur,
- Float_t l3Pol, Float_t diPol,
- Float_t beamenergy = 7000,
- const Char_t *beamtype = "pp",
- const Char_t *path = "$(ALICE_ROOT)/data/maps/mfchebKGI_sym.root");
+ static Bool_t InitRecoParam();
Bool_t fAutoLoadTimerRunning; // State of auto-load timer.