Visualization Candidate Tutorial

Complete: 5

Responsible: IannaOsborne

Basic Concepts

Candidate is a base class of the physics objects. Candidates can be selected for display only in Event Data Collections tree browser. Right mouse click on Event Data Collections to open the tree (see Examples).

Additional Tags on top of CMSSW_1_6_8

This is a new feature and has not been included in the existing releases yet. To test it with CMSSW_1_6_8 the following packages should be checked out and built in the local area:

  • VisFramework/VisFrameworkBase V02-11-01
  • Iguana/GLBrowsers V01-05-00
  • Iguana/GLModels V01-06-00
  • Iguana/Inventor V01-07-00
  • Iguana/Framework V01-01-00
  • VisReco/VisRecoJets V02-07-00

Configuration File

# This cfg file can be used to visualize the relval samples.
#
# Please, remember to replace yourFile.root with existing file!!!
#
# Use it as follows: 
# iguana cmssw-iguana.cfg

process IGUANA = {

 source = PoolSource {
  untracked vstring fileNames =
  {'file:yourFile.root'}
 }
 
 include "Configuration/StandardSequences/data/FakeConditions.cff"
 include "Configuration/StandardSequences/data/Reconstruction.cff"

 include "VisDocumentation/VisTutorial/iguana-application.cff"

}

This configuration file includes the following iguana-application.cff fragment which you will need to create either in CMSSW_1_6_8/src/VisDocumentation/VisTutorial/ directory or anywhere else in the CMSSW_SEARCH_PATH:

include "FWCore/MessageLogger/data/MessageLogger.cfi"

########################################
# This is a service to configure IGUANA
#
service = VisConfigurationService 
{
  ##########
  # Number of various windows to be popped up and tiled. 
  # Default value is 'RPhi Window'
  #
  # untracked vstring Views = {'3D Window', 'Lego Window', 'RPhi Window', 'RZ Window'}
  untracked vstring Views = {'3D Window', 'Lego Window' }

  # #########
  # Which context data proxies to load (the default value is defined
  # in VisApplicationMain and usually loads all available data proxies):
  untracked vstring  ContentProxies =
   {
     'Reco/Calorimetry',
     'Reco/Jets', 
     'Reco/Candidate'
   }

   untracked vstring  EnabledTwigs = {
    '/Objects/CMS Event and Detector/Calorimetry/HCAL/Hcal Forward'
 }

  untracked double VisEnergyCut = 1.0
  untracked bool VisCaloAnnotation = true
  untracked double VisCaloEnergyScale = 1.0
  untracked double VisLegoScale = 10.0
  untracked bool VisAutoStart = false
  untracked string VisExceptionMessage = "GUI"
  untracked uint32 VisEventTimer = 30000
}

Examples

GUI

-- IannaOsborne - 19 Dec 2007

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg iguana-candidate.jpg r1 manage 173.3 K 2007-12-19 - 14:26 IannaOsborne  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2011-12-16 - IannaOsborne



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