CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRecoJets_cff.py
Go to the documentation of this file.
2 
4 
5 ## Default Parameter Sets
8 
9 caloTowers = cms.EDProducer("CaloTowerCandidateCreator",
10  src = cms.InputTag("towerMaker"),
11  e = cms.double(0.0),
12  verbose = cms.untracked.int32(0),
13  pt = cms.double(0.0),
14  minimumE = cms.double(0.0),
15  minimumEt = cms.double(0.0),
16  et = cms.double(0.0)
17 )
18 
19 ## Iterative Cone
20 iterativeConePu5CaloJets = cms.EDProducer(
21  "FastjetJetProducer",
22  HiCaloJetParameters,
23  AnomalousCellParameters,
24  MultipleAlgoIteratorBlock,
25  jetAlgorithm = cms.string("IterativeCone"),
26  rParam = cms.double(0.5)
27  )
28 iterativeConePu5CaloJets.radiusPU = 0.5
29 
30 iterativeConePu7CaloJets = cms.EDProducer(
31  "FastjetJetProducer",
32  HiCaloJetParameters,
33  AnomalousCellParameters,
34  MultipleAlgoIteratorBlock,
35  jetAlgorithm = cms.string("IterativeCone"),
36  rParam = cms.double(0.7)
37  )
38 iterativeConePu7CaloJets.radiusPU = 0.7
39 
40 ## kT
41 ktPu4CaloJets = cms.EDProducer(
42  "FastjetJetProducer",
43  HiCaloJetParameters,
44  AnomalousCellParameters,
45  MultipleAlgoIteratorBlock,
46  jetAlgorithm = cms.string("Kt"),
47  rParam = cms.double(0.4)
48  )
49 ktPu4CaloJets.radiusPU = 0.5
50 
51 ktPu6CaloJets = cms.EDProducer(
52  "FastjetJetProducer",
53  HiCaloJetParameters,
54  AnomalousCellParameters,
55  MultipleAlgoIteratorBlock,
56  jetAlgorithm = cms.string("Kt"),
57  rParam = cms.double(0.6)
58  )
59 ktPu6CaloJets.radiusPU = 0.7
60 
61 ## anti-kT
62 akPu5CaloJets = cms.EDProducer(
63  "FastjetJetProducer",
64  HiCaloJetParameters,
65  AnomalousCellParameters,
66  MultipleAlgoIteratorBlock,
67  jetAlgorithm = cms.string("AntiKt"),
68  rParam = cms.double(0.5)
69  )
70 akPu5CaloJets.radiusPU = 0.5
71 
72 akPu7CaloJets = cms.EDProducer(
73  "FastjetJetProducer",
74  HiCaloJetParameters,
75  AnomalousCellParameters,
76  MultipleAlgoIteratorBlock,
77  jetAlgorithm = cms.string("AntiKt"),
78  rParam = cms.double(0.7)
79  )
80 akPu7CaloJets.radiusPU = 0.7
81 
82 ## Algos without offset pileup correction
83 ic5CaloJets = iterativeConePu5CaloJets.clone()
84 ic5CaloJets.doRhoFastjet = True
85 ic5CaloJets.doPUOffsetCorr = False
86 
87 ic7CaloJets = iterativeConePu7CaloJets.clone()
88 ic7CaloJets.doRhoFastjet = True
89 ic7CaloJets.doPUOffsetCorr = False
90 
91 ak4CaloJets = akPu5CaloJets.clone()
92 ak4CaloJets.doRhoFastjet = True
93 ak4CaloJets.doPUOffsetCorr = False
94 
95 ak7CaloJets = akPu7CaloJets.clone()
96 ak7CaloJets.doRhoFastjet = True
97 ak7CaloJets.doPUOffsetCorr = False
98 
99 kt4CaloJets = ktPu4CaloJets.clone()
100 kt4CaloJets.doRhoFastjet = True
101 kt4CaloJets.doPUOffsetCorr = False
102 
103 kt6CaloJets = ktPu6CaloJets.clone()
104 kt6CaloJets.doRhoFastjet = True
105 kt6CaloJets.doPUOffsetCorr = False
106 
107 ## Default Sequence
108 hiRecoJets = cms.Sequence(caloTowersRec*caloTowers*iterativeConePu5CaloJets)
109 
110 ## Extended Sequence
111 hiRecoAllJets = cms.Sequence(caloTowersRec*caloTowers*iterativeConePu5CaloJets+iterativeConePu7CaloJets+ic5CaloJets+ic7CaloJets+akPu5CaloJets+akPu7CaloJets+ak4CaloJets+ak7CaloJets + ktPu4CaloJets + ktPu6CaloJets + kt4CaloJets + kt6CaloJets)
112 
113