Studying Particle Flow with Fireworks

Overview

This page explains how to set up an experimental version of Fireworks, to study the particle flow reconstruction.

The modified version of Fireworks is able to display

  • ECAL and HCAL rechits
  • PFClusters
  • Tracks, with their extrapolated position in the calorimeters
  • PFBlocks
  • PFCandidates
  • PFJets
It is a tool to understand how the particle flow algorithm identifies and reconstructs particles, using these inputs.

To display the particles created by the particle flow algorithm, just use the standard version of Fireworks.

Installation recipes

cmsShow 4.1

1. Download the latest stable version of Fireworks, follow the standard installing instructions and test program execution. The following is assumed:

  • Your fireworks directory is ~/Documents/cmsShow-vNum
  • You are either:
    • working on a mac with xcode installed,
    • using an slc5 terminal, have access to an slc5 terminal (e.g. ssh username@lxplus5.cern.ch)
    • using the chroot method explained here.

2. Assuming successful execution, a CVS environment will now need to be set up in order to obtain the latest particle flow source code. In your fireworks directory (e.g. ~/Documents/cmsShow-vNum) run the following commands:

  cd src/
  export CVSROOT=:ext:YOURUSERNAME@cmssw.cvs.cern.ch:/cvs/CMSSW
  export CVS_RSH=ssh
  rm -rf Fireworks/ParticleFlow
  cvs co Fireworks/ParticleFlow

3. Recompile with the new source code.

  cd ../
  make

4. You should now be able to run Fireworks as normal

Current release with FWlite: 4_1_3

Most information about this can be found at the standard Fireworks twiki page but the basic instructions for installation are also shown below.

Linux:

  wget http://cmsrep.cern.ch/cms/cpt/Software/download/cms/TARS/slc5_amd64_gcc434/CMSSW_4_1_3_FWLITE-slc5_amd64_gcc434.tar.gz
  tar xzf CMSSW_4_1_3_FWLITE-slc5_amd64_gcc434.tar.gz
  cd CMSSW_4_1_3_FWLITE
  ./install.sh
  ./cmsShow http://cern.ch/fireworks/Run2011A-MuHad-AOD-PromptReco-v1.root

Mac:

  curl -OL http://cmsrep.cern.ch/cms/cpt/Software/download/cms/TARS/osx106_amd64_gcc421/CMSSW_4_1_3_FWLITE-osx106_amd64_gcc421.tar.gz
  tar xzf CMSSW_4_1_3_FWLITE-osx106_amd64_gcc421.tar.gz
  cd CMSSW_4_1_3_FWLITE
  ./install.sh
  ./cmsShow http://cern.ch/fireworks/Run2011A-MuHad-AOD-PromptReco-v1.root

ParticleFlow plugins

The ParticleFlow plugins are not built in to this release and hence need to be added.

  cd wherever-you-installed-fwlite-
  . fwlite_setup.sh
  cd work/CMSSW_4_1_3_FWLITE/src
  cmsenv
  cvs co Fireworks/ParticleFlow

If you get any problems when running the last line of instruction (e.g. "cvs checkout: CVSROOT is set for a GSSAPI access method but your CVS executable doesn't support it.") then try the following instead:

  export CVSROOT=:ext:YOURUSERNAME@cmssw.cvs.cern.ch:/cvs/CMSSW
  export CVS_RSH=ssh
  cvs co Fireworks/ParticleFlow

Note: The environment has to be setup like this every time you want to use this module.

How-to

If you wish to start Fireworks with the PF configuration file then a new command line argument must be passed.

   ./cmsShow -c pflow.fwc data.root
This method can also be used to pass other configuration files to Fireworks upon start-up. e.g.
   ./cmsShow -c example.fwc data.root 
The particle flow configuration file can also be loaded during runtime. In the main Fireworks interface go to File and select Load Configuration OR, press Ctrl and l simultaneously. In the new window open pflow.fwc.

-- ColinBernet - 08-Feb-2011

Edit | Attach | Watch | Print version | History: r33 | r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2011-04-22 - unknown


ESSENTIALS

ADVANCED TOPICS


 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback