PAT v2 Workflow Overview

Complete: 1

Introduction

The PAT v2 Workflow is logically subdivided in some steps, which correspond to CMSSW sequences:

patAODReco : Extra reconstruction on top of AOD

patAODCoreReco : Production of extra AOD candidates.

Definition: recoLayer0/aodReco_cff.py

Aim: Produces candidates that will be turned into PAT objects

Default Contents:

  • produce electronsNoDuplicates : subset of pixelMatchGsfElectrons removing duplicates (those that share a track or superCluster, take |E/P| closest to 1)

Customization:

  • The 'particles from generic tracks' tools add to this sequence the modules to produce the RecoChargedCandidates to make PAT Candidates from
  • You can append to this sequence extra modules that have to be there when patAODExtraReco is run
    process.patAODCoreReco += process.someModule

patAODExtraReco: Produce external information to be put in PAT objects

Definition: recoLayer0/aodReco_cff.py

Customization:

  • Most of the python helpers for jets, taus and tracks modify this sequence
  • You can append to this sequence extra modules that need input from patAODCoreReco and produce data used by the PAT Object producers
    process.patAODExtraReco += process.someModule

patBTagging

Definition: recoLayer0/bTagging_cff.py

Aim:

Default Contents: Empty, and commented out because empty sequences are no longer allowed

Twiki: SWGuideBTagging

Contact: Francisco Yumiceva

patElectronId

Definition: recoLayer0/electronId_cff.py

Aim: Compute extra electron IDs which are not in AOD already

Default Contents:

  • eidRobustHighEnergy

Customization:

  • You can add other electron IDs here, and then add their InputTags in the producer of PAT Electrons (module allLayer1Electrons )

Twiki: SWGuideElectronID

Contact: Roberto Salerno

patElectronIsolation

Definition: recoLayer0/electronIsolation_cff.py

Aim: Compute extra electron isolation that is not in AOD

Default Contents:

  • eleIsoFromDepsTk , eleIsoFromDepsEcalFromHits : POG modules to compute isolation from IsoDeposits that are already in AOD
  • eleIsoDepositHcalFromTowers : make IsoDeposits from CaloTowers
  • eleIsoFromDepsHcalFromTowers : compute HCal isolation from the above

Customization:

Twiki: https://twiki.cern.ch/twiki/bin/view/CMS/IsolationIn2_1And2_2AndPlansFor3_0

Contact: Matthew LeBurgeois

patJetMETCorrections

Definition: recoLayer0/jetMETCorrections_cff.py

Aim: Produce JES correction factors, compute MET corrections

Default Contents:

  • jetCorrFactors : compute all JES corrections and save them into the event
  • corMetType1Icone5Muons (and prerequisites): compute the MET with Type1 + Muon corrections

Customization:

  • Jet helper tools modify the contents of this collection when you switch jet collection or add another one
  • You can add multiple JES correction sets, but there is no example for it yet.

Twiki: ?

Contacts: Christian Autermann, Roger Wolf

patJetTracksCharge

Definition: recoLayer0/jetTracksCharge_cff.py

Aim: take care of jet tracks association and jet charge

Default Contents:

  • patJetCharge : compute the jet charge from a pre-existing jet tracks associator. Uses tracks weighted by Pt.

Customization:

  • Jet helper tools modify the contents of this collection when you switch jet collection or add another one

Notes:

  • Now we take the jet tracks association directly from AOD or make it with the POG module, so you can't apply a filter on the tracks here.

patMuonIsolation

Definition: recoLayer0/muonIsolation_cff.py

Aim: Produce extra muon isolation

Default Contents: Empty. As the framework does not allow empty sequences now, it's commented out in recoLayer0/aodReco_cff.py

Twiki: SWGuideMuonIsolation

Contacts: Vyacheslav Krutelyov, Dmytro Kovalskyi

patPhotonID

Definition: recoLayer0/photonId_cff.py

Aim: Produce extra photon id

Default Contents: Empty. As the framework does not allow empty sequences now, it's commented out in recoLayer0/aodReco_cff.py

Twiki: PhotonIDAnalysis

Contact: Andrew Askey

patPhotonIsolation

Definition: recoLayer0/photonIsolation_cff.py

Aim: Compute extra photon isolation that is not in AOD

Default Contents:

  • gamIsoFromDepsTk , gamIsoFromDepsEcalFromHits : POG modules to compute isolation from IsoDeposits that are already in AOD
  • gamIsoDepositHcalFromTowers : make IsoDeposits from CaloTowers
  • gamIsoFromDepsHcalFromTowers : compute HCal isolation from the above

Twiki: IsolationIn2_1And2_2AndPlansFor3_0

Contact: Matthew LeBurgeois

patTauDiscrimination

Definition: recoLayer0/tauDiscriminators_cff.py

Aim: define tau discriminator sequences for AOD

Default Contents:

  • The sequence is empty, and commented out as empty sequences are not allowed.
  • Nevertheless the tauDiscriminators_cff.py file defines also the sequences that can be run on AOD * define but not run a sequence with all PFTau discriminators patPFTauDiscrimination * define but not run a sequence of CaloTau discriminators that can run on AOD patCaloTauDiscrimination

Customization:

  • When running on 21X AODSIM you will probably want to run the patCaloTauDiscrimination sequence to compute the missing discriminators Note this is done automatically if you're using the python tool to run on Summer08 AODSIMs
  • If working with CaloTau and you're on RECO you can add caloRecoTauDiscriminationAgainstElectron to the patCaloTauDiscrimination sequence, and add it to the producer of taus

Contact: Christian Veelken ?

patMCTruth: MC Matching

Definition: mcMatchSequences_cff.py

Contact: Wolfgang Adam

jetFlavourId

Definition: mcMatchLayer0/jetFlavourId_cff.py

Aim: Compute the MC flavour of jets

Default Contents:

  • jetPartons : single module to select partons among genParticles.
  • jetPartonAssociation : associate the partons to a jet collection (by deltaR 0.3)
  • jetFlavourAssociation : get the flavour from the associated parton (algorithmic definition is the default)

Customization:

  • Helper tool for jets adds here the extra modules for other jet collections

Twiki: ??

Contact: Attilio Santocchia?

Notes:

  • Should go in the MC truth part!

patTrigMatch: Trigger Matching

Definition: trigMatchSequences_cff.py

Contact: Volker Adler

allLayer1Objects: produce PAT objects from AOD ones

Definition: producersLayer1/allLayer1Objects_cff.py

Aim: Produce PAT objects, one to one with AOD ones

Default Contents:

  • allLayer1Electrons from the electronsNoDuplicates subset of pixelMatchGsfElectrons described above
  • allLayer1Muons from all muons
  • allLayer1Taus from all PF taus in pfRecoTauProducer (no longer only the isolated ones)
  • allLayer1Photons : from all photons
  • allLayer1Jets : from iterativeCone5CMS.CaloJets.
  • allLayer1METs : from Type1 + Muon corrected CaloMET
  • allLayer1Summary : compute summary table of the number of items in each collection

Customization:

  • Use python tools to change or add jet collections (instruction). You can't just replace the input tags here, as you'll get in trouble with the other information like b-tagging or JEC
  • Use python tools to switch to CaloTau: see the test example under CMS.PhysicsTools/PatAlgos/test As for jets, just changing the input tag won't be enough
  • Allow duplicated electrons, by changing the input tag of allLayer1Electrons to point directly to pixelMatchGsfElectrons . Here there are no problems with external associations, because the non-duplicated electrons are just a subset of all the electrons.
  • The tool for generic particles from tracks will add one extra module here

selectedLayer1Objects: apply selection to PAT objects, make hemispheres

Definition: selectionLayer1/selectedLayer1Objects_cff.py

Aim: Apply individual selection cuts to PAT objects: objects that pass the cut are kept, the others are dropped.

Default Contents:

  • selectedLayer1Electrons : no selection
  • selectedLayer1Muons : no selection
  • selectedLayer1Taus : no selection
  • selectedLayer1Photons : no selection
  • selectedLayer1Jets : no selection
  • selectedLayer1METs : no selection.
  • selectedLayer1Hemispheres : compute hemispheres from the above.
  • selectedLayer1Summary : compute summary table of the number of items in each collection

Customization:

  • Change the selection cuts
    • Note that it doesn't make any sense to apply a selection to MET here: there is one and only one MET object per event, so you don't want to drop it.
  • Change parameters of the hemisphere reconstruction

countLayer1Objects: filter events by counting the number of selecteted layer 1 objects

Definition: selectionLayer1/countLayer1Objects_cff.py

Review status

Reviewer/Editor and Date (copy from screen) Comments
GiovanniPetrucciani - 13 Jan 2009 created page

Responsible: PAT contacts

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2009-05-12 - RogerWolf
 
    • 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