Skip to content

cp3-llbb/plotIt

 
 

Repository files navigation

plotIt

Build Status

An utility to plot ROOT histograms.

First time setup instructions

git clone -o upstream git@github.com:cp3-llbb/plotIt.git
cd plotIt/

# Initialize the git remotes
source firstsetup.sh 
# Within-CMSSW and on ingrid specific install
cms_env # specific to ingrid, aka 'module purge; module load grid/grid_environment_sl6; module load crab/crab3; module load cms/cmssw;'
cmsenv
source setup_for_cms_env.sh
# For a non-CMSSW and non-ingrid install (beware there is no cmsenv at all in this case):
# source setup_sl6_env.sh

# Build externals
cd external
./build-external.sh
# Build the executable itself
cd ..
make -j 4

Alternatively, plotIt can be built with cmake (if the Boost and ROOT installations that are found are recent enough to define targets for the components):

cmake -DCMAKE_INSTALL_PREFIX=optional-install-prefix path/to/plotIt
make
make install

Test run (command line)

# Load the proper environment (if not already done)
source setup_sl6_env.sh
# Create some dumb root files to play with
cd test
root -l -b -q generate_files.C
# Now plot stuff
./../plotIt -o plots/ ../examples/example.yml
# Go to the plots directory to observe the beautiful plots

Releases

No releases published

Packages

No packages published

Languages

  • C++ 69.4%
  • Python 24.4%
  • C 4.0%
  • CMake 1.1%
  • Other 1.1%