3.4.4 Studying Particle Flow with Fireworks

Complete: 5

This page is under construction. An archive of an older version is found in [https://twiki.cern.ch/twiki/bin/view/CMSPublic/ParticleFlowFireWorks?rev=27][in this page]].


This page explains how to set up an experimental version of Fireworks, to study the particle flow reconstruction. This version of Fireworks can be used to create a display of the particles created by the particle flow algorithm:

  • PFCandidates
  • PFJets

In addition to this, you can also use a modified version of Fireworks which is designed to help you understand how the particle flow algorithm identifies and reconstructs particles, using the following inputs:

  • ECAL and HCAL rechits
  • PFClusters
  • Tracks, with their extrapolated position in the calorimeters
  • PFBlocks

Installation recipes and Examples

You can find the latest recipes to install FireWorks here. You can also find the instructions on how to run FireWorks there.


A Quick Example

You can quickly run a sample dataset. In this workbook we'll be using CMSSW_10_2_X data. Follow the instructions for installation here. Do not forget to install the header files.

Once installed run

./cmsShow data.root

At the top of the window, you can change navigate the different event by changing the event number. There is also a filter field that allows you to select for example events with muons whose transverse momentum is greater than 20 GeV. You can click on the filter button and type in the event filter expression as "$Muons.pt()>20". If you apply "$Tracks.pt()>1$", you will see that only 9 out of the 15 events are left.

At the left side of the window you should see a summary of the object collections that are shown on the event display. You can check and uncheck the tick boxes to control which collections get displayed. You can also click on the "Add collection" in order to display more collections not currently shown.

The different viewing windows show the rho-z, rho-phi, and eta-phi projections. Once you are happy with the configurations, you have the option to save the images by clicking on the information button.

How to load a config file at runtime

In the main interface go to File and select Load Configuration OR, press Ctrl and l simultaneously. In the new window navigate to, and then open the desired config file (e.g. pflow.fwc or pflow_algo.fwc).

How to study PF Blocks

In order to study the PF Block objects clearly it's best if you don't display them at the same time as the PF Clusters and/or PF Tracks. Use the collection controller on the left hand side of the main Fireworks window in order to change a collections visibility. This is done by either ticking or un-ticking the box at the side of the relevant collection. In this case, you should un-tick the boxes by the side of "PF Tracks", "PF Cluster - ECAL" and "PF Cluster - HCAL" when displaying PF Block objects.

The visibility options are changed because drawing conflicts occur if the aforementioned objects are displayed together i.e. objects will overlap and it will become difficult to select/view any one in particular.

Wish-list & bug reports

This section is used to list bugs that are currently known as well as features that we are currently working towards getting implemented.

Known Bugs

  • Some of the track objects aren't extrapolated far enough to reach the endcaps
  • Ecal Rechit display in PF Rho Phi view isn't updated correctly after a filter is applied
  • If PFBlock's are displayed with PFTrack and/or PFCluster objects then object overlap may occur. This will make it difficult to select between these objects. See the How-to for information on studying PFBlocks.

Bug Fixes

This is a list of known bugs that can be fixed if you use the second installation recipe and compile the source code acquired from cvs.

The Wish-list (feature requests)

-- ColinBernet - 08-Feb-2011

Review status

Reviewer/Editor and Date (copy from screen) Comments
Uzziel Perez - 22 June 2019 Minor updates to installation recipes
AntonioMorelosPineda - 17 Apr 2013 Upgrade to workbook style
AljaMrakTadel -11 Jul 2011 Created.

Upgrade to workbook style, A.Morelos,17-Apr-2013

Responsible: AljaMrakTadel
Last reviewed by: AntonioMorelosPineda - 17 Apr 2013

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng AddCollection_AltCand.png r1 manage 150.0 K 2011-07-26 - 12:23 UnknownUser Add Collection dialog for Alt Candidates
PNGpng altCandidate_display.png r1 manage 145.6 K 2011-07-26 - 12:23 UnknownUser Alternative Candidate display
Unknown file formatfwc pflow.fwc r1 manage 51.6 K 2019-09-09 - 05:40 CiliciaUzzielPerez  
Unknown file formatfwc pflow_algo.fwc r1 manage 51.3 K 2019-09-09 - 05:40 CiliciaUzzielPerez  
PNGpng pflow_algo_fwc.png r1 manage 205.3 K 2011-05-26 - 18:16 UnknownUser A screenshot after loading Fireworks with the pflow_algo.fwc config file
PNGpng pflow_fwc.png r1 manage 218.4 K 2011-05-26 - 17:24 UnknownUser A screenshot after loading Fireworks with the pflow.fwc config file
Edit | Attach | Watch | Print version | History: r34 < r33 < r32 < r31 < r30 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r33 - 2019-09-09 - CiliciaUzzielPerez



    • 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-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback