[go: up one dir, main page]

Skip to content

CMSTrackingPOG/BeamspotTools

 
 

Repository files navigation

Beamspot Tools

Standalone package to handle beam spot stuff

Installation under CMSSW

  cmsrel CMSSW_X_Y_Z  
  cd CMSSW_X_Y_Z/src
  cmsenv
  git-cms-addpkg RecoVertex/BeamSpotProducer
  cd RecoVertex/BeamSpotProducer/python
  git clone https://github.com/MilanoBicocca-pix/BeamspotTools.git
  cd $CMSSW_BASE/src
  scram b -r -j8

Installation as standalone

  git clone https://github.com/MilanoBicocca-pix/BeamspotTools.git
  cd BeamspotTools
  source set_environment.[c]sh   # this adds the base BeamspotTools directory to your PYTHONPATH variable 

Installation of python package 'uncertainties'

This is used in BeamSpot class to correctly propagate the uncertainties when computing the proper beam spot width from projections and tilts.

For the package information:
https://pythonhosted.org/uncertainties/

  # local installation, e.g. on lxplus, by default this points to the python2.6 library
  pip install --user uncertainties
  # but you need to have uncertainties available in python2.7, which is CMSSW's python, so, in a fresh shell do
  scl enable python27 csh
  pip install --user uncertainties

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%