1 // Author: Stefano Carrazza 2010
3 /**************************************************************************
4 * Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. *
5 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
6 * full copyright notice. *
7 **************************************************************************/
9 #if !defined(__CINT__) || defined(__MAKECINT__)
10 #include <TEveElement.h>
12 #include <AliEveEventManager.h>
13 #include <AliEveLego.h>
18 AliEveEventManager *mng = AliEveEventManager::GetMaster();
19 AliEveLego *lego = dynamic_cast<AliEveLego*>(mng->FindGlobal("LegoHisto2D"));
22 lego = new AliEveLego();
23 mng->InsertGlobal("LegoHisto2D",lego);