CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQM/Physics/python/topDiLeptonOfflineDQM_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 TopDiLeptonOfflineDQM = cms.EDAnalyzer("TopDiLeptonOfflineDQM",
00005   ## ------------------------------------------------------
00006   ## SETUP
00007   ##
00008   ## configuration of the MonitoringEnsemble(s)
00009   ## [mandatory] : optional PSets may be omitted
00010   ##
00011   setup = cms.PSet(
00012     ## sub-directory to write the monitor histograms to
00013     ## [mandatory] : should not be changed w/o explicit 
00014     ## communication to TopCom!
00015     directory = cms.string("Physics/Top/TopDiLeptonDQM/"),
00016 
00017     ## [mandatory]
00018     sources = cms.PSet(
00019       muons = cms.InputTag("muons"),
00020       elecs = cms.InputTag("gsfElectrons"),
00021       jets  = cms.InputTag("ak5CaloJets"),
00022       mets  = cms.VInputTag("met", "tcMet", "pfMet")
00023     ),
00024     ## [optional] : when omitted the verbosity level is set to STANDARD
00025     monitoring = cms.PSet(
00026       verbosity = cms.string("DEBUG")
00027     ),
00028     ## [optional] : when omitted all monitoring plots for electrons
00029     ## will be filled w/o extras
00030     elecExtras = cms.PSet(
00031       ## when omitted electron plots will be filled w/o cut on electronId
00032       electronId = cms.InputTag("eidRobustLoose"),
00033       ## when omitted electron plots will be filled w/o additional pre-
00034       ## selection of the electron candidates                                                 
00035       select = cms.string("pt>5 && abs(eta)<2.4 && abs(gsfTrack.d0)<1 && abs(gsfTrack.dz)<20"),
00036       ## when omitted isolated electron multiplicity plot will be equi-
00037       ## valent to inclusive electron multiplicity plot                                                
00038       isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.2"),
00039     ),
00040     ## [optional] : when omitted all monitoring plots for muons
00041     ## will be filled w/o extras
00042     muonExtras = cms.PSet(
00043       ## when omitted muon plots will be filled w/o additional pre-
00044       ## selection of the muon candidates   
00045       select = cms.string("pt>1 && abs(eta)<2.4 && abs(globalTrack.d0)<1 && abs(globalTrack.dz)<20"),
00046       ## when omitted isolated muon multiplicity plot will be equi-
00047       ## valent to inclusive muon multiplicity plot                                                  
00048       isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
00049     ),
00050     ## [optional] : when omitted all monitoring plots for jets will
00051     ## be filled from uncorrected jets
00052     jetExtras = cms.PSet(
00053       ## when omitted monitor plots for pt will be filled from uncorrected
00054       ## jets    
00055       jetCorrector = cms.string("ak5CaloL2L3"),
00056       ## when omitted monitor plots will be filled w/o additional cut on
00057       ## jetID                                                   
00058       jetID  = cms.PSet(
00059         label  = cms.InputTag("ak5JetID"),
00060         select = cms.string("n90Hits>1 & restrictedEMF<1")
00061       ),
00062       ## when omitted no extra selection will be applied on jets before
00063       ## filling the monitor histograms; if jetCorrector is present the
00064       ## selection will be applied to corrected jets
00065       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01 & emEnergyFraction<0.95"), 
00066     ),
00067     ## [optional] : when omitted no mass window will be applied
00068     ## for the same flavor lepton monitoring plots 
00069     massExtras = cms.PSet(
00070       lowerEdge = cms.double(3.0),
00071       upperEdge = cms.double(3.2)
00072     ),
00073     ## [optional] : when omitted all monitoring plots for triggering
00074     ## will be empty
00075     triggerExtras = cms.PSet(
00076       src = cms.InputTag("TriggerResults","","HLT"),
00077       pathsELECMU = cms.vstring(['HLT_Mu9:HLT_Ele15_SW_L1R',
00078                                  'HLT_Mu15:HLT_Ele15_SW_L1R',
00079                                  'HLT_DoubleMu3:HLT_Ele15_SW_L1R',
00080                                  'HLT_Ele15_SW_L1R:HLT_Mu9',
00081                                  'HLT_Ele15_SW_L1R:HLT_DoubleMu3']),
00082       pathsDIMUON = cms.vstring(['HLT_Mu15:HLT_Mu9',
00083                                  'HLT_DoubleMu3:HLT_Mu9',
00084                                  'HLT_Mu9:HLT_DoubleMu3',
00085                                  'HLT_Mu15:HLT_DoubleMu3'])
00086     )    
00087   ),
00088                                   
00089   ## ------------------------------------------------------
00090   ## PRESELECTION
00091   ##
00092   ## setup of the event preselection, which will not
00093   ## be monitored
00094   ## [mandatory] : but may be empty
00095   ##
00096   preselection = cms.PSet(
00097     ## [optional] : when omitted no preselection is applied
00098     trigger = cms.PSet(
00099       src    = cms.InputTag("TriggerResults","","HLT"),
00100       select = cms.vstring(['HLT_Mu9','HLT_Ele15_SW_L1R','HLT_DoubleMu3'])
00101     ),
00102     ## [optional] : when omitted no preselection is applied
00103     vertex = cms.PSet(
00104       src    = cms.InputTag("offlinePrimaryVertices"),
00105       select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
00106     )
00107   ),
00108   
00109   ## ------------------------------------------------------    
00110   ## SELECTION
00111   ##
00112   ## monitor histrograms are filled after each selection
00113   ## step, the selection is applied in the order defined
00114   ## by this vector
00115   ## [mandatory] : may be empty or contain an arbitrary
00116   ## number of PSets as given below:
00117   ##
00118   selection = cms.VPSet(
00119     cms.PSet(
00120       ## [mandatory] : 'jets' defines the objects to
00121       ## select on, 'step0' labels the histograms;
00122       ## instead of 'step0' you can choose any label
00123       label  = cms.string("empty:step0")
00124     ),
00125   ),
00126 )