예제 #1
0
pfTauEISequence = cms.Sequence(
    pfTausPreSequence+
    pfTausBaseSequence+
    pfTausEI+
    pfTausPtrsEI
    )

#### B-tagging ####
pfJetTrackAssociatorEI = ak4JetTracksAssociatorAtVertex.clone (
    src = cms.InputTag("pfJetsEI")
    )
impactParameterTagInfosEI = impactParameterTagInfos.clone(
    jetTracks = cms.InputTag( 'pfJetTrackAssociatorEI' )
    )
secondaryVertexTagInfosEI = secondaryVertexTagInfos.clone(
    trackIPTagInfos = cms.InputTag( 'impactParameterTagInfosEI' )
    )
combinedSecondaryVertexBJetTagsEI = combinedSecondaryVertexBJetTags.clone(
    tagInfos = cms.VInputTag(cms.InputTag("impactParameterTagInfosEI"),
                             cms.InputTag("secondaryVertexTagInfosEI"))
    )



#### MET ####
pfMetEI = pfMET.clone(jets=cms.InputTag("pfJetsEI"))

#EITopPAG = cms.Sequence(
EIsequence = cms.Sequence(
    pfPileUpEI +
    pfPileUpJMEEI +
예제 #2
0
#### Taus ####
pfTausEI = pfTaus.clone()
pfTausPtrsEI = pfTausPtrs.clone(src=cms.InputTag("pfTausEI"))
pfNoTauEI = pfNoTau.clone(topCollection=cms.InputTag('pfTausPtrsEI'),
                          bottomCollection=cms.InputTag('pfJetsPtrsEI'))

pfTauEISequence = cms.Sequence(pfTausPreSequence + pfTausBaseSequence +
                               pfTausEI + pfTausPtrsEI)

#### B-tagging ####
pfJetTrackAssociatorEI = ak4JetTracksAssociatorAtVertex.clone(
    src=cms.InputTag("pfJetsEI"))
impactParameterTagInfosEI = impactParameterTagInfos.clone(
    jetTracks=cms.InputTag('pfJetTrackAssociatorEI'))
secondaryVertexTagInfosEI = secondaryVertexTagInfos.clone(
    trackIPTagInfos=cms.InputTag('impactParameterTagInfosEI'))
combinedSecondaryVertexBJetTagsEI = combinedSecondaryVertexBJetTags.clone(
    tagInfos=cms.VInputTag(cms.InputTag("impactParameterTagInfosEI"),
                           cms.InputTag("secondaryVertexTagInfosEI")))

#### MET ####
pfMetEI = pfMET.clone(jets=cms.InputTag("pfJetsEI"))

#EITopPAG = cms.Sequence(
EIsequence = cms.Sequence(pfPileUpEI + pfPileUpJMEEI + pfNoPileUpEI +
                          pfNoPileUpJMEEI + pfAllMuonsEI +
                          pfMuonsFromVertexEI + pfIsolatedMuonsEI + pfNoMuon +
                          pfNoMuonJME + pfAllElectronsEI +
                          pfElectronsFromVertexEI + pfIsolatedElectronsEI +
                          pfNoElectron + pfNoElectronJME + pfJetSequenceEI +
                          pfNoJetEI + pfTauEISequence + pfNoTauEI + pfMetEI +
예제 #3
0
# To print Jets info using class printJetFlavourInfo in 5_3_X release cmssw/PhysicsTools/JetExamples/test/
#process.printEventAK5PFJets = cms.EDAnalyzer("printJetFlavourInfo",
#    jetFlavourInfos = cms.InputTag("jetFlavourInfosAK5PFJets")
#)

# Impact Parameter Tag Collection Info
from RecoBTag.ImpactParameter.impactParameter_cfi import impactParameterTagInfos

process.impactParameterTagInfoTrack = impactParameterTagInfos.clone()
process.impactParameterTagInfosV2 = impactParameterTagInfos.clone()

# Secondary Vertes Tag Collection Info
from RecoBTag.SecondaryVertex.secondaryVertexTagInfos_cfi import secondaryVertexTagInfos

process.secondaryVertexTagInfosV2 = secondaryVertexTagInfos.clone()
process.secondaryVertexTagInfosV2.trackIPTagInfos = cms.InputTag(
    "impactParameterTagInfosV2")  # !!!! Is this line fine?????
####

process.load('Configuration.StandardSequences.Services_cff')
process.load(
    'Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

# True : when running in OpenData virtual machine
# False: when runing in lxplus
runOnVM = False
#runOnVM = True

# Local input
######################################################