CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 HLTMuonOfflineAnalyzer = cms.EDAnalyzer("HLTMuonOfflineAnalyzer",
00004 
00005     ## Used when fetching triggerSummary and TriggerResults
00006     hltProcessName = cms.string("HLT"),
00007 
00008     ## Location of plots in DQM
00009     destination = cms.untracked.string("HLT/Muon/Distributions/globalMuons"),
00010 
00011     ## HLT paths passing any one of these regular expressions will be included
00012     hltPathsToCheck = cms.vstring(
00013       "HLT_IsoMu20_eta2p1_v",
00014       "HLT_IsoMu24_eta2p1_v",
00015       "HLT_IsoMu24_v",
00016       "HLT_IsoMu30_eta2p1_v",
00017       "HLT_IsoMu30_v",
00018       "HLT_IsoMu34_eta2p1_v",
00019       "HLT_IsoMu40_eta2p1_v",
00020       "HLT_L1SingleMu12_v",
00021       "HLT_Mu12_v",
00022       "HLT_Mu15_eta2p1_v",
00023       "HLT_Mu17_v",
00024       "HLT_Mu24_eta2p1_v",
00025       "HLT_Mu30_eta2p1_v",
00026       "HLT_Mu40_v",
00027       "HLT_Mu40_eta2p1_v",
00028       "HLT_Mu50_eta2p1_v",
00029       "HLT_Mu5_v",
00030       "HLT_Mu8_v", 
00031       "HLT_RelIso1p0Mu17_v",
00032       "HLT_RelIso1p0Mu5_v",
00033       "HLT_DoubleMu5_IsoMu5_v",
00034       "HLT_Mu13_Mu8_v",
00035       "HLT_Mu17_Mu8_v",
00036       "HLT_Mu17_TkMu8_v",
00037       "HLT_Mu22_TkMu22_v",
00038       "HLT_Mu22_TkMu8_v",
00039       "HLT_TripleMu5_v",
00040       "HLT_DoubleMu11_Acoplanarity03_v", #Added for forward physics
00041       "HLT_Mu40_eta2p1_Track50_dEdx3p6_v", #Exotica
00042       "HLT_Mu40_eta2p1_Track60_dEdx3p7_v"
00043     ),
00044 
00045 #HLT_Mu15_eta2p1_TriCentral_40_20_20_BTagIP3D1stTrack_v3 matches HLT_Mu15_eta2p1_v
00046 
00047     ## All input tags are specified in this pset for convenience
00048     inputTags = cms.PSet(
00049         recoMuon       = cms.InputTag("muons"),
00050         beamSpot       = cms.InputTag("offlineBeamSpot"),
00051         triggerSummary = cms.InputTag("hltTriggerSummaryAOD"),
00052         TriggerResults = cms.InputTag("TriggerResults"),
00053     ),
00054 
00055     ## Both 1D and 2D plots use the binnings defined here
00056     binParams = cms.untracked.PSet(
00057         ## parameters for fixed-width plots
00058         NVertex    = cms.untracked.vdouble( 20,  1,   50),
00059         eta        = cms.untracked.vdouble( 20,  -2.40,   2.40),
00060         phi        = cms.untracked.vdouble( 20,  -3.14,   3.14),
00061         z0         = cms.untracked.vdouble( 10, -15.00,  15.00),
00062         d0         = cms.untracked.vdouble( 10,  -0.50,   0.50),
00063         zMass      = cms.untracked.vdouble( 50,  65.00, 115.00),
00064         jpsiMass   = cms.untracked.vdouble( 60,   0.00,   6.00),
00065         charge     = cms.untracked.vdouble(  2,  -2.00,   2.00),
00066         deltaR     = cms.untracked.vdouble( 20,   0.00,   0.05),
00067         phiCoarse  = cms.untracked.vdouble( 10,  -3.14,   3.14),
00068         resolutionRel = cms.untracked.vdouble( 20,  -0.15,   0.15),
00069         resolutionEta = cms.untracked.vdouble( 20,  -0.01,   0.01),
00070         resolutionPhi = cms.untracked.vdouble( 20,  -0.01,   0.01),
00071         ## parameters for variable-width plots
00072         etaCoarse = cms.untracked.vdouble(-2.4, -2.1, -1.6, -1.2, -0.8, 0.0,
00073                                            0.8,  1.2,  1.6,  2.1,  2.4),
00074         ptCoarse = cms.untracked.vdouble(10.0, 20.0, 40.0, 60.0, 80.0, 100.0, 200.0),
00075         pt = cms.untracked.vdouble(  0.0,   2.0,   4.0, 
00076                                      6.0,   8.0,  10.0, 
00077                                     20.0,  30.0,  40.0, 
00078                                    100.0, 200.0, 400.0),
00079     ),
00080 
00081     ## These parameters define which objects are used to fill plots
00082     plotCuts = cms.PSet(
00083         ## not applied on eta plots
00084         maxEta = cms.untracked.double(2.10),
00085         ## only fill plots for muons with pt > ceil(hltThreshold * minPtFactor)
00086         ## ex: for HLT_Mu17, ceil(17 * 1.2 ) = 21, so we require pT > 21
00087         minPtFactor = cms.untracked.double(1.20),
00088         ## deltaR cuts
00089         L1DeltaR = cms.untracked.double(0.30),
00090         L2DeltaR = cms.untracked.double(0.30),
00091         L3DeltaR = cms.untracked.double(0.05),
00092     ),
00093 
00094     ## Only events passing all these triggers will be considered
00095     requiredTriggers = cms.untracked.vstring(),
00096 
00097     ## This collection is used to fill most distributions
00098     targetParams = cms.PSet(
00099         ## The d0 and z0 cuts are required for the inner track of the
00100         ## reco muons, taken with respect to the beamspot
00101         d0Cut = cms.untracked.double(2.0),
00102         z0Cut = cms.untracked.double(25.0),
00103         ## cuts
00104         recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"),
00105         hltCuts  = cms.untracked.string("abs(eta) < 2.4"),
00106     ),
00107 
00108     ## If this PSet is empty, then no "tag and probe" plots are produced;
00109     ## the cuts used for the tags are specified by targetParams
00110     probeParams = cms.PSet(
00111         ## The d0 and z0 cuts are required for the inner track of the
00112         ## reco muons, taken with respect to the beamspot
00113         d0Cut = cms.untracked.double(2.0),
00114         z0Cut = cms.untracked.double(25.0),
00115         ## cuts
00116         recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.0"),
00117         hltCuts  = cms.untracked.string("abs(eta) < 2.0"),
00118     ),
00119 
00120 )