Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
import FWCore.ParameterSet.Config as cms

from RecoMuon.TrackingTools.MuonServiceProxy_cff import *

from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
muonTiming = DQMEDAnalyzer('MuonTiming',
                                  MuonServiceProxy, 
                                  MuonCollection       = cms.InputTag("muons"),
                                  # histograms parameters
                                  tnbins = cms.int32(40),
                                  tnbinsrpc = cms.int32(20),
                                  terrnbins = cms.int32(20),
                                  terrnbinsrpc = cms.int32(20),
                                  ndofnbins = cms.int32(40),
                                  ptnbins = cms.int32(20),
                                  etanbins = cms.int32(20),
                                  tmax = cms.double(300),
                                  tmaxrpc = cms.double(30),
                                  terrmax = cms.double(10),
                                  terrmaxrpc = cms.double(10),
                                  ndofmax = cms.double(40),
                                  ptmax = cms.double(200),
                                  etamax = cms.double(2.4),
                                  tmin = cms.double(-300),
                                  tminrpc = cms.double(-30),
                                  terrmin = cms.double(0),
                                  terrminrpc = cms.double(0),
                                  ndofmin = cms.double(0),
                                  ptmin = cms.double(0),
                                  etamin = cms.double(-2.4),
                                  etaBarrelMin = cms.double(0),
                                  etaBarrelMax = cms.double(1.1),
                                  etaOverlapMin = cms.double(0.9),
                                  etaOverlapMax = cms.double(1.1),
                                  etaEndcapMin = cms.double(0.9),
                                  etaEndcapMax = cms.double(2.4),
                                  folder = cms.string("Muons/MuonTiming")
                           )

muonTiming_miniAOD = DQMEDAnalyzer('MuonTiming',
                                  MuonServiceProxy,
                                  MuonCollection       = cms.InputTag("slimmedMuons"),
                                  # histograms parameters
                                  tnbins = cms.int32(40),
                                  tnbinsrpc = cms.int32(20),
                                  terrnbins = cms.int32(20),
                                  terrnbinsrpc = cms.int32(20),
                                  ndofnbins = cms.int32(40),
                                  ptnbins = cms.int32(20),
                                  etanbins = cms.int32(20),
                                  tmax = cms.double(300),
                                  tmaxrpc = cms.double(30),
                                  terrmax = cms.double(10),
                                  terrmaxrpc = cms.double(10),
                                  ndofmax = cms.double(40),
                                  ptmax = cms.double(200),
                                  etamax = cms.double(2.4),
                                  tmin = cms.double(-300),
                                  tminrpc = cms.double(-30),
                                  terrmin = cms.double(0),
                                  terrminrpc = cms.double(0),
                                  ndofmin = cms.double(0),
                                  ptmin = cms.double(0),
                                  etamin = cms.double(-2.4),
                                  etaBarrelMin = cms.double(0),
                                  etaBarrelMax = cms.double(1.1),
                                  etaOverlapMin = cms.double(0.9),
                                  etaOverlapMax = cms.double(1.1),
                                  etaEndcapMin = cms.double(0.9),
                                  etaEndcapMax = cms.double(2.4),
                                  folder = cms.string("Muons_miniAOD/MuonTiming")
                           )