Test PF Isolation

Some code update is needed to compute PF isolation for muon candidates.

The template is in confDB here: /users/hbrun/exampleSeq/PFmuonInRelease It contains two paths:

  • HLT_IsoMu24_eta2p1_v1 is the path with sequential cuts on relative PFecalIso (hltMuonEcalIsoFilterUnseeded), relative PFhcalIso (hltMuonHcalIsoFilterUnseeded) and relative tracker isolation (hltL3MuonTkRelIsolationsIterTrkRegIter02).
  • HLT_combIsoMu24_eta2p1_v1 is an example of a path with a cut on the relative combined isolation (in hltL3pfIsoTkIsoClusterUnseededCombIso)
  • the timing cut on the ECAL RecHits is add by default in this area

Example of commandes to get started:

scramv1 project -n CMSSW_7_3_0_testHLT CMSSW CMSSW_7_3_0
cd CMSSW_7_3_0_testHLT/src/
cmssw
git cms-merge-topic HuguesBrun:makePFregional
hltGetConfiguration /users/hbrun/exampleSeq/PFmuonInRelease/V20 --full --offline --mc --unprescale --process TEST --globaltag auto:run2_mc_GRun --output minimal --input /store/relval/CMSSW_7_3_0_pre3/RelValZMM_13/GEN-SIM-DIGI-RAW-HLTDEBUG/MCRUN2_73_V5-v1/00000/2E6D157C-2176-E411-BE34-003048FEAECC.root --max-events -1 > runTheHLTpfMuons.py
cmsRun runTheHLTpfMuons.py 

scramv1 project -n CMSSW_7_2_1_patch1_testPF CMSSW CMSSW_7_2_1_patch1
cd CMSSW_7_2_1_patch1_testPF/src/
cmssw
git cms-merge-topic HuguesBrun:pfIsoIn72
hltGetConfiguration /users/hbrun/exampleSeq/PFclusterExample/V12 --full --offline --mc --unprescale --process TEST --globaltag auto:run2_mc_GRun --output minimal --input /store/relval/CMSSW_7_2_0/RelValTTbarLepton_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PRE_LS172_V15-v2/00000/54822A05-AB59-E411-96A9-0025905A6104.root --max-events -1 > runTheHLTpfMuons.py
wget --no-check-certificate https://raw.githubusercontent.com/HuguesBrun/scriptsHLT/master/convertConfig.py
python convertConfig.py runTheHLTpfMuons.py 
cmsRun runTheHLTpfMuons_Customized.py 

(deprecated)
  • add the hltCleanOOTEcalRecHit producer (for example after the hltEcalRecHit)
process.hltCleanOOTEcalRecHit = cms.EDProducer("EgammaHLTTimeCleanedRechitProducer",
                                               ecalhitLabels = cms.VInputTag( 'hltEcalRecHit:EcalRecHitsEB','hltEcalRecHit:EcalRecHitsEE' ),
                                               productLabels = cms.vstring('EcalTimeCleanedRecHitsEB','EcalTimeCleanedRecHitsEE'),
                                               TimeCut = cms.double( 10.)
                                               )

  • add the hltCleanOOTEcalRecHit producer in the HLTDoFullUnpackingEgammaEcalSequence sequence, right after the process.hltEcalRecHit

  • replace hltEcalRecHit:EcalRecHitsEB by hltCleanOOTEcalRecHit:EcalTimeCleanedRecHitsEB in the 2 following producers hltTowerMakerForAll and hltParticleFlowRecHitECALUnseeded

Tree for PF isolation studies:

  • the trees are available on CERN EOS at the following address: /store/group/phys_muon/hbrun/HLTtest/singleMuonIsolationStudies/Fall13_PU40_BS25/
  • there is 1 entry in the tree per event, the content of the tree is the following:
    • T_Trig_* = vector containing the infos related to the trigger object saved in the event
    • T_Gen_* = vector containing the infos related to the GEN particle in the event

Isolation information:

Info The value of the EffAreas are given with the OOT cut.

type of isolation Branch Name *EffArea Barrel ( eta <1.479)* *EffArea Endcap ( eta >1.479)*
detector based isolation tracker isolation T_Trig_TkIsoVeto X X
ECAL isolation T_Trig_detBasedECAL 0.103 0.035
HCAL isolation T_Trig_detBasedHCAL 0.092 0.261
ECAL+HCAL isolation T_Trig_detBasedHCAL 0.198 0.296
PF cluster isolation tracker isolation T_Trig_TkIsoVeto X X
ECAL PF isolation T_Trig_PFecalUnseeded 0.100 0.042
HCAL PF isolation T_Trig_PFhcalUnseeded 0.107 0.296
ECAL+HCAL PF isolation T_Trig_PFecalUnseeded + T_Trig_PFhcalUnseeded 0.207 0.342

Usage of rho correction:

Example of usage of the rho correction:

float PFecalIsoCorrected = std::max(0, T_Trig_PFecalUnseeded->at(i) - EffArea * T_Trig_rho->at(i) );

-- HuguesBrun - 2014-11-03

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r9 - 2014-12-17 - HuguesBrun
 
    • 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-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