File indexing completed on 2024-04-06 12:27:52
0001 import FWCore.ParameterSet.Config as cms
0002
0003 '''
0004
0005 Configuration for ChargedHadron producer plugins.
0006
0007 Author: Christian Veelken, LLR
0008
0009
0010 '''
0011
0012 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
0013
0014
0015 chargedPFCandidates = cms.PSet(
0016 name = cms.string("chargedPFCandidates"),
0017 plugin = cms.string("PFRecoTauChargedHadronFromPFCandidatePlugin"),
0018
0019
0020 chargedHadronCandidatesParticleIds = cms.vint32(1, 2, 3),
0021 qualityCuts = PFTauQualityCuts,
0022 dRmergeNeutralHadronWrtChargedHadron = cms.double(0.005),
0023 dRmergeNeutralHadronWrtNeutralHadron = cms.double(0.010),
0024 dRmergeNeutralHadronWrtElectron = cms.double(0.05),
0025 dRmergeNeutralHadronWrtOther = cms.double(0.005),
0026 minBlockElementMatchesNeutralHadron = cms.int32(2),
0027 maxUnmatchedBlockElementsNeutralHadron = cms.int32(1),
0028 dRmergePhotonWrtChargedHadron = cms.double(0.005),
0029 dRmergePhotonWrtNeutralHadron = cms.double(0.010),
0030 dRmergePhotonWrtElectron = cms.double(0.005),
0031 dRmergePhotonWrtOther = cms.double(0.005),
0032 minBlockElementMatchesPhoton = cms.int32(2),
0033 maxUnmatchedBlockElementsPhoton = cms.int32(1),
0034 minMergeNeutralHadronEt = cms.double(1.0),
0035 minMergeGammaEt = cms.double(1.0),
0036 minMergeChargedHadronPt = cms.double(100.),
0037 verbosity = cms.int32(0)
0038 )
0039
0040
0041
0042 tracks = cms.PSet(
0043 name = cms.string("tracks"),
0044 plugin = cms.string("PFRecoTauChargedHadronFromTrackPlugin"),
0045 srcTracks = cms.InputTag('generalTracks'),
0046 dRcone = cms.double(0.5),
0047 dRconeLimitedToJetArea = cms.bool(False),
0048 qualityCuts = PFTauQualityCuts,
0049 dRmergeNeutralHadron = cms.double(0.10),
0050 dRmergePhoton = cms.double(0.05),
0051 minMergeNeutralHadronEt = cms.double(1.0),
0052 minMergeGammaEt = cms.double(1.0),
0053 minMergeChargedHadronPt = cms.double(100.),
0054 verbosity = cms.int32(0)
0055 )
0056
0057
0058 PFNeutralHadrons = chargedPFCandidates.clone(
0059 name = "PFNeutralHadrons",
0060 plugin = "PFRecoTauChargedHadronFromPFCandidatePlugin",
0061
0062
0063 chargedHadronCandidatesParticleIds = [5],
0064 minMergeChargedHadronPt = 0.,
0065 verbosity = 0
0066 )