L1 Analyzer

Complete: 4

Introduction

The aim of the package is to provide tools to validate the L1 Emulator and study the performance of the L1 Trigger. This is accomplished by matching the L1 candidates to reference collections (either offline or MC truth) and then calculating resolutions, efficiencies etc.

Implementation

The implementation is spilt into four stages.

  • Define the input collections and convert them into particle candidates. The conversion should become unnecessary when framework views are available in the candidate tools.

  • Make cuts on the input particle candidate collections.

  • Match the L1 to GEN or RECO particles.

  • Calculate efficiencies, resolutions etc.

Installing L1Analyzer

Setup a project area to work with CMSSW 1_7_X and check out the following tag:

cvs co -r V00-02-24 L1TriggerOffline/L1Analyzer

Running L1Analyzer

You can run the L1Analyzer by including one of the following in your cfg file.

include "L1TriggerOffline/L1Analyzer/data/L1NonIsoEmMCAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1NonIsoEmRecoAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1IsoEmMCAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1IsoEmRecoAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1CenJetMCAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1CenJetRecoAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1ForJetMCAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1ForJetRecoAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1MetMCAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1MetRecoAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1MuonMCAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1MuonRecoAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1TauJetMCAnalysis.cff"
include "L1TriggerOffline/L1Analyzer/data/L1TauJetRecoAnalysis.cff"

and including the sequence name (eg. L1NonIsoEmMCAnalysis) in your path. Note that you may also need to have run the L1Emulator, details here.

Output

The output of the default configurations is a ROOT file named l1Analyzer.root. Inside the file is a main directory and inside that are four subdirectories containing simple kinematic distributions, efficiencies and resolutions. The screenshot shows the contents of the resolutions subdirectory for the L1 non-isolated EM match with MC truth.

Screenshot

The ROOT macro test/l1Analyzer.C can be used to plot histograms.

Changing parameters

There are many parameters that can be changed for different studies. A couple to get started with are:

  • Histogram binning and ranges in HistoLimits.cfi
  • The name of the output root file in TFile.cfi

In each of the above cff files there are many parameters to change. As an example take the L1NonIsoEmMCAnalysis.cff

  • Minimum Pt of the L1 non-isolated EM candidates (default 5 GeV)
  • Minimum Pt and eta range of the generator electrons (default 5 GeV and |eta|<3)
  • Maximum delta R for a L1 - generator candidate match (default 0.5)

Possible future plans

  • Add electron isolation
  • Add cff for photons
  • Add Ht and Total Et
  • More selectors? Leading jet? Two eta ranges for forward jet studies?
  • One to many matching?
  • Change MC truth tau to tau jet
  • Macro to merge histograms from different jobs
  • L1 trigger summary
  • Use framework views

Review Status

Editor/Review and date Comments
AlexTapper - 26 Nov 2007 Page Author

Responsible: AlexTapper
Last reviewed by:

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng screenshot.png r2 r1 manage 437.3 K 2007-06-20 - 20:14 AlexTapper  
Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r20 - 2007-11-27 - AlexTapper



 
    • 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