1 / 8

Browsing configuration

Browsing configuration. Purpose of this talk: Learn PAT by exploring it yourself Example problem: What jet algorithm is used for PAT jets by default? You may repeat this tutorial in the afternoon or just use the described tool to support your exercises

monita
Download Presentation

Browsing configuration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Browsing configuration • Purpose of this talk: • Learn PAT by exploring it yourself • Example problem: • What jet algorithm is used for PAT jets by default? • You may repeat this tutorial in the afternoonorjust use the described tool to support your exercises • All information in the PAT Workbook:https://twiki.cern.ch/twiki/bin/view/CMS/WorkBookPAT PAT tutorial March 2010 Browsing configuration Andreas Hinzmann 1

  2. Identify name of PAT jets • What jet algorithm is used for PAT jets by default? • Step 0: Setup CMSSW environment • cmsrel CMSSW_3_5_4 • cd CMSSW_3_5_4/src • cmsenv • Step 1: Produce a default PAT tuple and explore it • cvscoPhysicsTools/PatAlgos/test/patLayer1_fromAOD_full_cfg.py • cmsRunPhysicsTools/PatAlgos/test/patLayer1_fromAOD_full_cfg.py • edmDumpEventContent PATLayer1_Output.fromAOD_full.root • vector<pat::Jet> “cleanPatJets“ ““ “PAT.“ • or inspect PATLayer1_Output.fromAOD_full.root with ROOT::TBrowser • Name of module that produces PAT jets: cleanPatJets • Information in the PAT Workbook https://twiki.cern.ch/twiki/bin/view/CMS/WorkBookPATDataFormats PAT tutorial March 2010 Browsing configuration Andreas Hinzmann 2

  3. Explore configuration using CVS+LXR • Browse CVS to find cleanPatJetshttp://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/PhysicsTools/PatAlgos/python/?hideattic=0&sortdir=down&pathrev=CMSSW_3_5_3 • Use LXR to find cleanPatJetshttp://cmslxr.fnal.gov/lxr/search • You will be reading many files until you find the jet algorithm! PAT tutorial March 2010 Browsing configuration Andreas Hinzmann 3

  4. Explore configuration using Config Editor • Getting started with Config Editor and Manual:https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideConfigEditor • Step 0: Setup CMSSW environment • cmsrel CMSSW_3_5_4 • cd CMSSW_3_5_4/src • cmsenv • Step 1: Open default PAT configuration in Config Editor • cvscoPhysicsTools/PatAlgos/test/patLayer1_fromAOD_full_cfg.py • edmConfigEditorPhysicsTools/PatAlgos/test/patLayer1_fromAOD_full_cfg.py PAT tutorial March 2010 Browsing configuration Andreas Hinzmann 4

  5. Screenshot of Config Editor PAT sequences PAT modules PAT tutorial March 2010 Browsing configuration Andreas Hinzmann 5

  6. Finding cleanPatJets • Step 2: Find cleanPatJets • Edit -> Find (CTRL-F) • Label: cleanPatJets • In centerviewConnection structuredouble-clickcleanPatJets cleanPatJets is in sequence cleanPatCandidates cleanPatJets has input source selectedPatJets this module checks overlap PAT tutorial March 2010 Browsing configuration Andreas Hinzmann 6

  7. Finding the jet algorithm • Step 3: Finding the jet algorithm • In centerviewConnection structuredouble-clickselectedPatJets • Click patJets patJets is in sequence makePatJets selectedPatJets has input source patJets jet source of patJets is ak5CaloJets PAT tutorial March 2010 Browsing configuration Andreas Hinzmann 7

  8. Study configuration code • Step 4: Study the corresponding Python configuration • Config -> Choosecustomeditor (choose e.g. emacs) • Config -> Open in customeditor jet source of patJets is ak5CaloJets If you modify this configuration file, you change the default settings of your CMSSW area! Don’t do this! Change parameters in a user configuration file (more tomorrow): process.patJets.jetSource = cms.InputTag(“otherJets”) PAT tutorial March 2010 Browsing configuration Andreas Hinzmann 8

More Related