X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVE%2FEveBase%2FAliEveBeamsInfo.h;h=a43452e030cfe4ac1c606ac4d34be0e1c6cb6571;hb=fab31805076eec0fa442a137a023ce513d412616;hp=1e6a57d1cebdf059a1b75a73f88103221ed0ec94;hpb=6e994a7b77dccb1a6042ce94049df51b941c83ac;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVE/EveBase/AliEveBeamsInfo.h b/EVE/EveBase/AliEveBeamsInfo.h index 1e6a57d1ceb..a43452e030c 100644 --- a/EVE/EveBase/AliEveBeamsInfo.h +++ b/EVE/EveBase/AliEveBeamsInfo.h @@ -1,5 +1,5 @@ // $Id$ -// Author: Stefano Carrazza 2010 +// Author: Stefano Carrazza 2010, CERN, stefano.carrazza@cern.ch /************************************************************************** * Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. * @@ -20,9 +20,8 @@ class AliEveMultiView; class TGLOverlayButton; class TEveViewer; - //______________________________________________________________________________ -// Display beams and triggers information on gl-viewers. +// Display beams and triggers information on AliEve viewers, from ESD. // class AliEveBeamsInfo : public TEveElementList @@ -30,27 +29,63 @@ class AliEveBeamsInfo : public TEveElementList public: AliEveBeamsInfo(const char* name="AliEveBeamsInfo"); virtual ~AliEveBeamsInfo(); + void ShowEventSelection(Bool_t status); // Set Methods - void ShowEventSelection(); + void SetAlpha(Double_t val); + + // Get Methods + TString * SepareTriggerClasses(Int_t &fNumberOfClasses, TString fTriggerSource); // Functions - void ShowBeamsInfo(Bool_t show, Bool_t updateonly = kFALSE); - void Update(); + void AddOverlayButton(TGLOverlayButton *button); + void AddTriggerClasses(); + void CreateEventPanel(); + void CreateRunPanel(); + void RemoveOverlayButton(TGLOverlayButton *button); + void RemoveTriggerClasses(); void SelectEventSelection(Int_t id); + void ShowBeamsInfo(Bool_t show, Bool_t updateonly = kFALSE); void ShowPrevEvent(); void ShowNextEvent(); + void SwitchDataType(Bool_t status); + void Update(); + void UpdateTriggerClasses(); private: - AliESDEvent *fEsd; // esd event - Bool_t fShowEventsInfo; // determine if show events info - AliPhysicsSelection *fPhysicsSelection; // physics selection object - TGLOverlayButton *fCollisionCandidate; // AliPhysicsSelection button output - TGLOverlayButton *fBeam1; // beam 1 information - TGLOverlayButton *fBeam2; // beam 2 information - AliEveMultiView *fAl; // multiview instance - TEveViewer *fHisto2dv; // 2D lego view - AliEveEventSelector *fEventSelector; // current event selector + Double_t fAlpha; // Alpha value + Bool_t fIsMC; // Check data type + AliESDEvent *fEsd; // Esd event + Bool_t fShowEventsInfo; // Determine if show events info + AliPhysicsSelection *fPhysicsSelection; // Physics selection object + + TGLOverlayButton *fEventNumber; // Event number + TGLOverlayButton *fCollisionCandidate; // AliPhysicsSelection button output + TGLOverlayButton *fCollisionBoolean; // Collision boolean + + TGLOverlayButton *fBeam1; // Beam 1 information + TGLOverlayButton *fBeam1Boolean; // Beam 1 boolean + TGLOverlayButton *fBeam2; // Beam 2 information + TGLOverlayButton *fBeam2Boolean; // Beam 2 boolean + + TGLOverlayButton *fRunNumber; // Show data run number + TGLOverlayButton *fEventType; // Show event type + TGLOverlayButton *fEventTypeLabel; // Show event type label + TGLOverlayButton *fPeriod; // Show event period + TGLOverlayButton *fOrbit; // Show orbit + TGLOverlayButton *fBC; // Show bc + + TGLOverlayButton *fTimeStamp; // Time stamp information + TGLOverlayButton *fMagnetField; // Magnetic field + TGLOverlayButton *fTrigger; // Trigger + + TGLOverlayButton *fTriggerClassesPanel; // Active trigger classes panel + Int_t fNumberOfActiveTriggerClasses; // Number of active trigger classes + TGLOverlayButton **fTriggerClasses; // Active trigger classes + + AliEveMultiView *fAl; // Multiview instance + TEveViewer *fHisto2dv; // 2D lego view + AliEveEventSelector *fEventSelector; // Current event selector AliEveBeamsInfo(const AliEveBeamsInfo&); // Not implemented AliEveBeamsInfo& operator=(const AliEveBeamsInfo&); // Not implemented