Changes between Initial Version and Version 1 of InstallingHealpixForMars


Ignore:
Timestamp:
10/04/19 18:44:52 (6 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingHealpixForMars

    v1 v1  
     1[[TOC]]
     2
     3A !HealPix implementation for ROOT is available at https://github.com/akira-okumura/RootHealPix. You can compile that into your Mars libarary.
     4
     5After checking out Mars from the repository (see InstallingMars), simple extract the attached zip-file into your Mars source directory or get !RootHealPix from git:
     6
     7{{{
     8[0] cd Mars
     9[1] git clone https://github.com/akira-okumura/RootHealPix.git
     10}}}
     11
     12If !RootHealPix is located in your Mars source directory, cmake should find it automatically and compile the healpix classes into the Mars library, otherwise call cmake with the corresponding path:
     13
     14{{{
     15[2] cmake -DHEALPIX_PREFIX=<path-to-RootHealPix>
     16}}}
     17
     18To test the installation, start root in your Mars build directory and try something like:
     19
     20{{{cpp
     21THealPixD hp("name", "", 2);
     22for (int i=0; i<10000; i++)
     23   hp.Fill(gRandom->Uniform()*90, gRandom->Uniform()*180);
     24hp.Draw("COLZ");
     25}}}