Giter Club home page Giter Club logo

cms-hcal-debug's Introduction

Setup

Install with:

git clone [email protected]:cms-hcal-trigger/cms-hcal-debug.git Debug/HcalDebug
scram b -j 8

Examples

With Workflows from runTheMatrix.py

Run with:

runTheMatrix.py -w upgrade -l 10039
cmsRun Debug/HcalDebug/test/cmp_legacy.py

Change to the output directory and then analyze the second step:

cmsDriver.py analyze \
  --conditions auto:phase1_2017_realistic \
  -s RAW2DIGI,DIGI --geometry DB:Extended --era Run2_2017 \
  --customise Debug/HcalDebug/customize.analyze_raw_tp \
  --customise Debug/HcalDebug/customize.analyze_reemul_tp \
  --filein file:step2.root \
  -n 10

Datasets from DAS

Use as input to the cmsDriver.py command:

cmsDriver.py analyze \
  --conditions auto:phase1_2017_realistic \
  -s RAW2DIGI,DIGI --geometry DB:Extended --era Run2_2017 \
  --customise Debug/HcalDebug/customize.analyze_raw_tp \
  --customise Debug/HcalDebug/customize.analyze_reemul_tp \
  --filein das:/RelValTTbarLepton_13/CMSSW_9_0_0_pre6-90X_upgrade2017_realistic_v15-v1/GEN-SIM-DIGI-RAW \
  -n 1000

From Data, Using L1T Digis

Using a run with HF FG bit mis-matches between L1T inputs (HCAL RAW does not include FG bits) and re-emulation:

cmsDriver.py analyze \
  --data --conditions auto:run2_data \
  -s RAW2DIGI --geometry DB:Extended --era Run2_2017 \
  --customise Debug/HcalDebug/customize.analyze_l1t_tp \
  --customise Debug/HcalDebug/customize.analyze_raw_tp \
  --customise Debug/HcalDebug/customize.analyze_reemul_tp \
  --customise Debug/HcalDebug/customize.compare_l1t_reemul_tp \
  --customise Debug/HcalDebug/customize.use_data_reemul_tp \
  --filein /store/data/Run2017C/HcalNZS/RAW/v1/000/299/844/00000/AE36B18A-5271-E711-A223-02163E013895.root,/store/data/Run2017C/HcalNZS/RAW/v1/000/299/844/00000/46B78BA1-5271-E711-8820-02163E01A60E.root \
  -n -1

From Data, Using L1T Digis and comparing with RecHits

As before, but using files to contain primary and secondary inputs, and adding TriggerPrimitive to RecHit comparisons:

cmsDriver.py analyze \
  --data --conditions 92X_dataRun2_Prompt_v8 \
  -s RAW2DIGI --geometry DB:Extended --era Run2_2017 \
  --no_output \
  --customise Debug/HcalDebug/customize.analyze_l1t_tp \
  --customise Debug/HcalDebug/customize.analyze_raw_tp \
  --customise Debug/HcalDebug/customize.analyze_reemul_tp \
  --customise Debug/HcalDebug/customize.compare_l1t_reemul_tp \
  --customise Debug/HcalDebug/customize.compare_raw_reco_sev9 \
  --customise Debug/HcalDebug/customize.compare_raw_reco_sev9999 \
  --customise Debug/HcalDebug/customize.use_data_reemul_tp \
  --filein=$(<~/JetHTRECO.txt) \
  --secondfilein=$(<~/JetHT.txt) \
  -n 50000

cms-hcal-debug's People

Contributors

matz-e avatar christopheralanwest avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.