90 |
|
svTILabel = 'secondaryVertexTagInfos' + label + postfix |
91 |
|
ivfTILabel = 'inclusiveSecondaryVertexFinderTagInfos' + label + postfix |
92 |
|
#nvTILabel = '' + label + postfix |
93 |
< |
#seTILabel = 'softElectronTagInfos' + label + postfix |
93 |
> |
seTILabel = 'softElectronTagInfos' + label + postfix |
94 |
|
smTILabel = 'softMuonTagInfos' + label + postfix |
95 |
|
|
96 |
|
## produce tag infos |
98 |
|
setattr( process, svTILabel, btag.secondaryVertexTagInfos.clone(trackIPTagInfos = cms.InputTag(ipTILabel)) ) |
99 |
|
setattr( process, ivfTILabel, btag.inclusiveSecondaryVertexFinderTagInfos.clone(trackIPTagInfos = cms.InputTag(ipTILabel)) ) |
100 |
|
#setattr( process, nvTILabel, nbtag.secondaryVertexNegativeTagInfos.clone(trackIPTagInfos = cms.InputTag(ipTILabel)) ) |
101 |
< |
#setattr( process, seTILabel, btag.softElectronTagInfos.clone(jets = jetCollection) ) |
101 |
> |
setattr( process, seTILabel, btag.softElectronTagInfos.clone(jets = jetCollection) ) |
102 |
|
setattr( process, smTILabel, btag.softMuonTagInfos.clone(jets = jetCollection) ) |
103 |
|
|
104 |
|
## make VInputTag from strings |
114 |
|
#setattr( process, 'simpleSecondaryVertexNegativeBJetTags'+label+postfix, nbtag.simpleSecondaryVertexNegativeBJetTags.clone(tagInfos = vit(nvTILabel)) ) |
115 |
|
setattr( process, 'combinedSecondaryVertexBJetTags'+label+postfix, btag.combinedSecondaryVertexBJetTags.clone(tagInfos = vit(ipTILabel, svTILabel)) ) |
116 |
|
setattr( process, 'combinedInclusiveSecondaryVertexBJetTags'+label+postfix, btag.combinedInclusiveSecondaryVertexBJetTags.clone(tagInfos = vit(ipTILabel, ivfTILabel)) ) |
117 |
< |
setattr( process, 'combinedMVABJetTags'+label+postfix, btag.combinedInclusiveSecondaryVertexBJetTags.clone(tagInfos = vit(ipTILabel, ivfTILabel)) ) |
117 |
> |
setattr( process, 'combinedMVABJetTags'+label+postfix, btag.combinedMVABJetTags.clone(tagInfos = vit(ipTILabel, ivfTILabel,smTILabel,seTILabel)) ) |
118 |
|
setattr( process, 'combinedSecondaryVertexMVABJetTags'+label+postfix, btag.combinedSecondaryVertexMVABJetTags.clone(tagInfos = vit(ipTILabel, svTILabel)) ) |
119 |
|
#setattr( process, 'softElectronByPtBJetTags'+label+postfix, btag.softElectronByPtBJetTags.clone(tagInfos = vit(seTILabel)) ) |
120 |
|
#setattr( process, 'softElectronByIP3dBJetTags'+label+postfix, btag.softElectronByIP3dBJetTags.clone(tagInfos = vit(seTILabel)) ) |
124 |
|
|
125 |
|
## define vector of (output) labels |
126 |
|
labels = { 'jta' : jtaLabel, |
127 |
< |
#'tagInfos' : (ipTILabel,svTILabel,seTILabel,smTILabel), |
128 |
< |
'tagInfos' : (ipTILabel,svTILabel,ivfTILabel,smTILabel), |
127 |
> |
# 'tagInfos' : (ipTILabel,svTILabel,seTILabel,smTILabel), |
128 |
> |
'tagInfos' : (ipTILabel,svTILabel,ivfTILabel,smTILabel,seTILabel), |
129 |
|
'jetTags' : [ (x + label+postfix) for x in ('jetBProbabilityBJetTags', |
130 |
|
'jetProbabilityBJetTags', |
131 |
|
'trackCountingHighPurBJetTags', |