Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
PhysicsTools
PatAlgos
python
producersLayer1
tauProducer_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
# prepare reco information
4
from
PhysicsTools.PatAlgos.recoLayer0.pfCandidateIsoDepositSelection_cff
import
*
5
from
PhysicsTools.PatAlgos.recoLayer0.tauIsolation_cff
import
*
6
from
PhysicsTools.PatAlgos.recoLayer0.tauDiscriminators_cff
import
*
7
# CV: do **not** load PhysicsTools/PatAlgos/python/recoLayer0/tauJetCorrections_cff
8
# in order to avoid triggering FileInPath to SQLlite file
9
# CondFormats/JetMETObjects/data/TauJec11_V1.db
10
# (which is not included in all _4_2_x/4_3_x/4_4_x CMSSW releases yet)
11
#from PhysicsTools.PatAlgos.recoLayer0.tauJetCorrections_cff import *
12
13
# add PAT specifics
14
from
PhysicsTools.JetMCAlgos.TauGenJets_cfi
import
*
15
from
PhysicsTools.JetMCAlgos.TauGenJetsDecayModeSelectorAllHadrons_cfi
import
*
16
from
PhysicsTools.PatAlgos.mcMatchLayer0.tauMatch_cfi
import
*
17
18
# produce object
19
from
PhysicsTools.PatAlgos.producersLayer1.tauProducer_cfi
import
*
20
21
#check whether we have defined update or not
22
updateDiscriminators=
True
23
try
:
24
from
RecoTauTag.Configuration.updateHPSPFTaus_cff
import
*
25
except
ImportError:
26
updateDiscriminators=
False
27
28
if
updateDiscriminators:
29
makePatTaus = cms.Sequence(
30
# reco pre-production
31
patHPSPFTauDiscriminationUpdate *
32
patPFCandidateIsoDepositSelection *
33
patPFTauIsolation *
34
#patTauJetCorrections *
35
# pat specifics
36
tauMatch *
37
tauGenJets *
38
tauGenJetsSelectorAllHadrons *
39
tauGenJetMatch *
40
# object production
41
patTaus
42
)
43
else
:
44
makePatTaus = cms.Sequence(
45
# reco pre-production
46
patPFCandidateIsoDepositSelection *
47
patPFTauIsolation *
48
#patTauJetCorrections *
49
# pat specifics
50
tauMatch *
51
tauGenJets *
52
tauGenJetsSelectorAllHadrons *
53
tauGenJetMatch *
54
# object production
55
patTaus
56
)
57
TauGenJetsDecayModeSelectorAllHadrons_cfi
Config
updateHPSPFTaus_cff
TauGenJets_cfi
tauIsolation_cff
pfCandidateIsoDepositSelection_cff
tauProducer_cfi
tauDiscriminators_cff
tauMatch_cfi
Generated for CMSSW Reference Manual by
1.8.5