1 import FWCore.ParameterSet.Config
as cms
4 tcMet = cms.EDProducer(
6 alias = cms.string(
'tcMet'),
7 electronVetoCone = cms.bool(
True),
8 electronInputTag = cms.InputTag(
"gedGsfElectrons"),
9 muonInputTag = cms.InputTag(
"muons"),
10 trackInputTag = cms.InputTag(
"generalTracks"),
11 metInputTag = cms.InputTag(
"caloMet"),
12 beamSpotInputTag = cms.InputTag(
"offlineBeamSpot"),
13 vertexInputTag = cms.InputTag(
"offlinePrimaryVertices"),
14 muonDepValueMap = cms.InputTag(
"muonMETValueMapProducer" ,
"muCorrData"),
15 tcmetDepValueMap = cms.InputTag(
"muonTCMETValueMapProducer",
"muCorrData"),
16 pt_min = cms.double(1.0),
17 pt_max = cms.double(100.),
18 eta_max = cms.double(2.65),
19 chi2_max = cms.double(5),
20 nhits_min = cms.double(6),
21 ptErr_max = cms.double(0.2),
22 track_quality = cms.vint32(2),
23 track_algos = cms.vstring(),
24 isCosmics = cms.bool(
False),
25 rf_type = cms.int32(1),
26 correctShowerTracks = cms.bool(
False),
27 usePvtxd0 = cms.bool(
False),
28 nMinOuterHits = cms.int32(2),
29 usedeltaRRejection = cms.bool(
False),
30 deltaRShower = cms.double(0.01),
31 checkTrackPropagation = cms.bool(
False),
32 radius = cms.double(130.),
33 zdist = cms.double(314.),
34 corner = cms.double(1.479),
35 d0cuta = cms.double(0.015),
36 d0cutb = cms.double(0.5),
37 maxd0cut = cms.double(0.3),
38 chi2_tight_max = cms.double(5.0),
39 nhits_tight_min = cms.double(9),
40 ptErr_tight_max = cms.double(0.2),
41 eVetoDeltaR = cms.double(0.015),
42 eVetoDeltaPhi = cms.double(100.0),
43 eVetoDeltaCotTheta = cms.double(100.0),
44 eVetoMinElectronPt = cms.double(10.0),
45 hOverECut = cms.double(0.1),
46 trackAlgos = cms.vstring(
"undefAlgorithm",
"ctf",
"rs",
"cosmics",
"initialStep",
"lowPtTripletStep",
"pixelPairStep",
"detachedTripletStep"),
47 nLayers = cms.int32(0),
48 nLayersTight = cms.int32(0),
49 vertexNdof = cms.int32(4),
50 vertexZ = cms.double(15.),
51 vertexRho = cms.double(2.),
52 vertexMaxDZ = cms.double(0.2),
53 maxpt_eta25 = cms.double(0.),
54 maxpt_eta20 = cms.double(100.),
55 vetoDuplicates = cms.bool(
False),
56 dupMinPt = cms.double(0.),
57 dupDPhi = cms.double(0.03),
58 dupDCotTh = cms.double(0.0006),
59 PFClustersECAL = cms.InputTag(
"particleFlowClusterECAL"),
60 PFClustersHCAL = cms.InputTag(
"particleFlowClusterHCAL"),
61 PFClustersHF = cms.InputTag(
"particleFlowClusterHF"),
62 usePFClusters = cms.bool(
False)
66 tcMetWithPFclusters = tcMet.clone()
67 tcMetWithPFclusters.alias = cms.string(
'tcMetWithPFclusters')
68 tcMetWithPFclusters.usePFClusters = cms.bool(
True)