CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BDHadronTrackValidation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Need to add pfImpactParameterTagInfos to the pat jets --> make personal patJet collection
4 # and rerun PAT (because sometimes validation is ran without PAT sequence enables)
6 patJetsBDHadron = patJets.clone(
7  tagInfoSources = cms.VInputTag('pfImpactParameterTagInfos'),
8  addTagInfos = True
9 )
10 
11 # my analyzer
14 BDHadronTrackMonitoringAnalyze.PatJetSource = cms.InputTag('patJetsBDHadron')
15 
16 bdHadronTrackValidationSeq = cms.Sequence(BDHadronTrackMonitoringAnalyze,
17  cms.Task(patJetCorrectionsTask
18  , patJetCharge
19  , patJetPartonMatch
20  , patJetGenJetMatch
21  , patJetFlavourIdLegacyTask
22  , patJetFlavourIdTask
23  , patJetsBDHadron
24  , tpClusterProducer)
25 )
26 
27 
28 bdHadronTrackPostProcessor = cms.Sequence(BDHadronTrackMonitoringHarvest)