CMS 3D CMS Logo

displacedMuonPFIsolationDeposits_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 
6 #Now prepare the iso deposits for displacedMuons
7 dispMuPFIsoDepositCharged=isoDepositReplace('displacedMuons1stStep','pfAllChargedHadrons')
8 dispMuPFIsoDepositChargedAll=isoDepositReplace('displacedMuons1stStep','pfAllChargedParticles')
9 dispMuPFIsoDepositNeutral=isoDepositReplace('displacedMuons1stStep','pfAllNeutralHadrons')
10 dispMuPFIsoDepositGamma=isoDepositReplace('displacedMuons1stStep','pfAllPhotons')
11 dispMuPFIsoDepositPU=isoDepositReplace('displacedMuons1stStep','pfPileUpAllChargedParticles')
12 
13 displacedMuonPFIsolationDepositsTask = cms.Task(
14  dispMuPFIsoDepositCharged,
15  dispMuPFIsoDepositChargedAll,
16  dispMuPFIsoDepositGamma,
17  dispMuPFIsoDepositNeutral,
18  dispMuPFIsoDepositPU
19  )
20 displacedMuonPFIsolationDepositsSequence = cms.Sequence(displacedMuonPFIsolationDepositsTask)
def isoDepositReplace(toBeIsolated, isolating)
Definition: tools_cfi.py:6