2 // Author: Stefano Carrazza 2010
4 /**************************************************************************
5 * Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 #ifndef ALIEVEBEAMSINFO_H
11 #define ALIEVEBEAMSINFO_H
13 #include "TEveElement.h"
16 class AliPhysicsSelection;
17 class AliEveEventSelector;
18 class AliEveMultiView;
20 class TGLOverlayButton;
24 //______________________________________________________________________________
25 // Display beams and triggers information on gl-viewers.
28 class AliEveBeamsInfo : public TEveElementList
31 AliEveBeamsInfo(const char* name="AliEveBeamsInfo");
32 virtual ~AliEveBeamsInfo();
35 void ShowEventSelection();
38 void ShowBeamsInfo(Bool_t show, Bool_t updateonly = kFALSE);
40 void SelectEventSelection(Int_t id);
45 AliESDEvent *fEsd; // esd event
46 Bool_t fShowEventsInfo; // determine if show events info
47 AliPhysicsSelection *fPhysicsSelection; // physics selection object
48 TGLOverlayButton *fCollisionCandidate; // AliPhysicsSelection button output
49 TGLOverlayButton *fBeam1; // beam 1 information
50 TGLOverlayButton *fBeam2; // beam 2 information
51 AliEveMultiView *fAl; // multiview instance
52 TEveViewer *fHisto2dv; // 2D lego view
53 AliEveEventSelector *fEventSelector; // current event selector
55 AliEveBeamsInfo(const AliEveBeamsInfo&); // Not implemented
56 AliEveBeamsInfo& operator=(const AliEveBeamsInfo&); // Not implemented
58 ClassDef(AliEveBeamsInfo, 0); // Short description.