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
import FWCore.ParameterSet.Config as cms

from RecoMuon.TrackingTools.MuonServiceProxy_cff import *

from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer

muonRecoAnalyzer = DQMEDAnalyzer('CosmicMuonRecoAnalyzer',
                                  MuonServiceProxy, 
                                  MuonCollection       = cms.InputTag("cosmicMuons"),
                                  
                                  # histograms parameters

                                  hitsBin = cms.int32(50),                                
                                  hitsMin = cms.int32(0),                                    
                                  hitsMax = cms.int32(50),

                                  nTrkBin = cms.int32(10),                                      
                                  nTrkMin = cms.int32(0),                                      
                                  nTrkMax = cms.int32(10),

                                  thetaBin = cms.int32(100),
                                  thetaMin = cms.double(0.0),
                                  thetaMax = cms.double(3.2),
                                  
                                  pResBin = cms.int32(50),
                                  pResMin = cms.double(-0.01),
                                  pResMax = cms.double(0.01),

                                  etaBin = cms.int32(100),
                                  etaMin = cms.double(-3.0),
                                  etaMax = cms.double(3.0),                                  
                                  
                                  chi2Bin = cms.int32(100),
                                  chi2Min = cms.double(0),
                                  chi2Max = cms.double(20),
                                  
                                  pBin = cms.int32(500),
                                  pMin = cms.double(0.0),
                                  pMax = cms.double(500.0),
                                  
                                  phiBin = cms.int32(100),
                                  phiMin = cms.double(-3.2),
                                  phiMax = cms.double(3.2),
                                  
                                  ptBin = cms.int32(500),
                                  ptMin = cms.double(0.0),
                                  ptMax = cms.double(500.0),
                                
                                  folder = cms.string("Muons/CosmicMuonRecoAnalyzer")
                                  )