CMS 3D CMS Logo

muonIdVal_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 muonIdVal = cms.EDAnalyzer("MuonIdVal",
4  inputMuonCollection = cms.InputTag("muons"),
5  inputDTRecSegment4DCollection = cms.InputTag("dt4DSegments"),
6  inputCSCSegmentCollection = cms.InputTag("cscSegments"),
7  inputMuonTimeExtraValueMap = cms.InputTag("muons"),
8  inputMuonCosmicCompatibilityValueMap = cms.InputTag("muons","cosmicsVeto"),
9  inputMuonShowerInformationValueMap = cms.InputTag("muons","muonShowerInformation"),
10  useTrackerMuons = cms.untracked.bool(True),
11  useGlobalMuons = cms.untracked.bool(True),
12  useTrackerMuonsNotGlobalMuons = cms.untracked.bool(True),
13  useGlobalMuonsNotTrackerMuons = cms.untracked.bool(True),
14  makeEnergyPlots = cms.untracked.bool(True),
15  makeTimePlots = cms.untracked.bool(True),
16  make2DPlots = cms.untracked.bool(False),
17  makeAllChamberPlots = cms.untracked.bool(False),
18  makeCosmicCompatibilityPlots = cms.untracked.bool(True),
19  makeShowerInformationPlots = cms.untracked.bool(True),
20  baseFolder = cms.untracked.string("Muons/MuonIdentificationV")
21 )
22 
23 # fastsim has no cosmic muon veto in place
24 from Configuration.Eras.Modifier_fastSim_cff import fastSim
25 if fastSim.isChosen():
26  muonIdVal.makeCosmicCompatibilityPlots = False