visualisation tool dave bailey. what do you need? various packages clhep use version = 1.8.2.0 as...

6
Visualisation Tool Visualisation Tool Dave Bailey Dave Bailey

Upload: toby-ferguson

Post on 19-Jan-2018

214 views

Category:

Documents


0 download

DESCRIPTION

Building  Compiling the vis package is straightforward –Just change the 4 top level makefile includes to point to your versions of CLHEP, Qt, Coin –If using CLHEP < 2.0 no changes needed  Make sure CLHEP is a shared library, static didn’t seem to work for me…  If using CLHEP > 2.0 you need to add using namespace CLHEP; to the top of Drawables/Ellipsoid.cc

TRANSCRIPT

Page 1: Visualisation Tool Dave Bailey. What Do You Need?  Various packages CLHEP  Use version = 1.8.2.0 as there is a bug in anything earlier.  I used CLHEP

Visualisation ToolVisualisation Tool

Dave BaileyDave Bailey

Page 2: Visualisation Tool Dave Bailey. What Do You Need?  Various packages CLHEP  Use version = 1.8.2.0 as there is a bug in anything earlier.  I used CLHEP

What Do You Need?What Do You Need?

Various packagesVarious packages– CLHEPCLHEP

Use version >= 1.8.2.0 as there is a bug in anything Use version >= 1.8.2.0 as there is a bug in anything earlier. earlier.

I used CLHEP 2.0.1.0I used CLHEP 2.0.1.0– QtQt– CoinCoin

Both are freely available on *nix. I just got the latest Both are freely available on *nix. I just got the latest versions of bothversions of both

Page 3: Visualisation Tool Dave Bailey. What Do You Need?  Various packages CLHEP  Use version = 1.8.2.0 as there is a bug in anything earlier.  I used CLHEP

BuildingBuilding

Compiling the vis package is straightforwardCompiling the vis package is straightforward– Just change the 4 top level makefile includes to Just change the 4 top level makefile includes to

point to your versions of CLHEP, Qt, Coinpoint to your versions of CLHEP, Qt, Coin– If using CLHEP < 2.0 no changes neededIf using CLHEP < 2.0 no changes needed

Make sure CLHEP is a shared library, static didn’t Make sure CLHEP is a shared library, static didn’t seem to work for me…seem to work for me…

If using CLHEP > 2.0 you need to addIf using CLHEP > 2.0 you need to addusing namespace CLHEP;using namespace CLHEP;to the top of Drawables/Ellipsoid.ccto the top of Drawables/Ellipsoid.cc

Page 4: Visualisation Tool Dave Bailey. What Do You Need?  Various packages CLHEP  Use version = 1.8.2.0 as there is a bug in anything earlier.  I used CLHEP

Running It…Running It… Package requires you Xserver to support OpenGL Package requires you Xserver to support OpenGL

(GLX extension in the jargon)(GLX extension in the jargon)– If you’re on a *nix console, no problemIf you’re on a *nix console, no problem– If you run Exceed on a windows box you’ve had it!If you run Exceed on a windows box you’ve had it!

No support for GLX unless you buy Exceed3D which costs No support for GLX unless you buy Exceed3D which costs more for a site license than Exceed itselfmore for a site license than Exceed itself

– Maybe look at using XWin-32 as that has GLX supportMaybe look at using XWin-32 as that has GLX support Or, perhaps, look at making the software more Or, perhaps, look at making the software more

friendly to non-OpenGL systems. It ought to be friendly to non-OpenGL systems. It ought to be possiblepossible– Most likely a question to take up with the authorsMost likely a question to take up with the authors

Page 5: Visualisation Tool Dave Bailey. What Do You Need?  Various packages CLHEP  Use version = 1.8.2.0 as there is a bug in anything earlier.  I used CLHEP

This is what you getThis is what you get

Reconstructed VertexMonte Carlo vertices and particles

Page 6: Visualisation Tool Dave Bailey. What Do You Need?  Various packages CLHEP  Use version = 1.8.2.0 as there is a bug in anything earlier.  I used CLHEP

OverallOverall

It’s OK…It’s OK…– I didn’t find it all that easy to driveI didn’t find it all that easy to drive

Lack of documentation doesn’t make life easy…Lack of documentation doesn’t make life easy…– It does let you examine individual objectsIt does let you examine individual objects– You can rotate, zoom etc.You can rotate, zoom etc.– You can save pictures in postscriptYou can save pictures in postscript

I’d suggest that a few more of us give it a try I’d suggest that a few more of us give it a try for nowfor now