Introduction

  • This page describes steps for performing truth study for charge mis-id electrons
  • Our goals to understand precisely sources of charge mis-id and possible new ways to identify such electrons

Planning

Phase 1

  • Prepare detailed electron displays using information available with xAOD - done
  • Presented in EGamma meeting on May 3rd

Phase 2

  • Prepare detailed electron displays using information xAOD and ESD samples produced with release 21 - in progress

Proposed Phase 2 tasks

  • Find out which ESD and xAOD MC samples we should use with release 21
  • Convert PhysicsAth to compile with release 21 using CMake
  • Repeat xAOD studies using release 21 MC samples
  • Add superclusters to electron displays?
  • Write new algorithms to read ESD collections for: electrons, tracks, hits, clusters, truth
  • Prepare new ntuples that contain track hits and EM calorimeter clusters
  • Include track hits and clusters into display

Phase 3

  • Develop new truth classification

Proposed Phase 3 tasks

  • Design criteria for new truth classification for charge mis-id electrons
  • Collect feedback and develop implementation plan

Running on xAOD

First time setup

  • Steps for checking out and compiling ntuple production code:
   $ ssh lxplus042
   $ mkdir -p ~/testarea/ChargeAth
   $ cd ~/testarea/ChargeAth
   $ svn co svn+ssh://svn.cern.ch/reps/manc/PhysicsNtuple/PhysicsAth/trunk/macros/setup
   $ source setup/setup_first_new.sh
   $ exit

Producing ntuples

  • Steps for running athena jobs to produce ntuples:
   $ ssh lxplus042
   $ cd ~/testarea/ChargeAth
   $ source setup_atlas_release_cvmfs.sh
   $ athena $TestArea/PhysicsNtuple/PhysicsAth/share/procReadFxAOD.py -c "inputDir='/tmp/rustem/FULL_xAOD';outFile='zee_xaod_ntuple.root';EvtMax=1000"

  • FULL_xAOD is link to two files from this MC dataset:
    • mc15_13TeV.361106.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zee.merge.AOD.e3601_s2576_s2132_r7725_r7676
  • src/ReadSimpleTruth.cxx - class to save truth records

Running truth study

First time setup

  • Steps for checking out and compiling analysis code:
   $ ssh lxplus042
   $ mkdir -p ~/testarea/ChargeLight
   $ cd ~/testarea/ChargeLight
   $ svn co svn+ssh://svn.cern.ch/reps/manc/PhysicsNtuple/PhysicsLight/trunk/macros/setup
   $ source setup/setup_first_new.sh
   $ exit

Running truth study

  • Steps for running analysis to study truth of charge mis-id electrons:
   $ ssh lxplus042
   $ cd ~/testarea/ChargeLight
   $ source setup_atlas_release_cvmfs.sh
   $ python $TestArea/PhysicsNtuple/PhysicsLight/macros/charge/showChargeMisIdxAOD.py /tmp/rustem/zee_xaod_ntuple.root -o show.root -n 100 --print-true &> log &
   $ tail -f log
  • Remove "--print-true" flag for less verbose processing
  • Change this option to run over all events: "-n 0"
  • This example uses a test file from "/tmp/rustem/"

Code links

Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r10 - 2017-05-05 - RustemOspanov
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main 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