00001 import FWCore.ParameterSet.Config as cms 00002 00003 dedxDiscrimProductProd = cms.EDProducer("DeDxDiscriminatorProducer", 00004 tracks = cms.InputTag("generalTracks"), 00005 trajectoryTrackAssociation = cms.InputTag("generalTracks"), 00006 00007 DiscriminatorMode = cms.untracked.bool(True), 00008 MapFile = cms.string("SingleMuon_DicrimMap.root"), 00009 Formula = cms.untracked.uint32(0), 00010 00011 UseStrip = cms.bool(True), 00012 UsePixel = cms.bool(True), 00013 MeVperADCStrip = cms.double(3.61e-06*250), 00014 MeVperADCPixel = cms.double(3.61e-06) 00015 ) 00016 00017 dedxDiscrimProductBTag = cms.EDProducer("DeDxDiscriminatorProducer", 00018 tracks = cms.InputTag("generalTracks"), 00019 trajectoryTrackAssociation = cms.InputTag("generalTracks"), 00020 00021 DiscriminatorMode = cms.untracked.bool(True), 00022 MapFile = cms.string("SingleMuon_DicrimMap.root"), 00023 Formula = cms.untracked.uint32(1), 00024 00025 UseStrip = cms.bool(True), 00026 UsePixel = cms.bool(True), 00027 MeVperADCStrip = cms.double(3.61e-06*250), 00028 MeVperADCPixel = cms.double(3.61e-06) 00029 ) 00030 00031 dedxDiscrimProductSmi = cms.EDProducer("DeDxDiscriminatorProducer", 00032 tracks = cms.InputTag("generalTracks"), 00033 trajectoryTrackAssociation = cms.InputTag("generalTracks"), 00034 00035 DiscriminatorMode = cms.untracked.bool(True), 00036 MapFile = cms.string("SingleMuon_DicrimMap.root"), 00037 Formula = cms.untracked.uint32(2), 00038 00039 UseStrip = cms.bool(True), 00040 UsePixel = cms.bool(True), 00041 MeVperADCStrip = cms.double(3.61e-06*250), 00042 MeVperADCPixel = cms.double(3.61e-06) 00043 ) 00044 00045 dedxDiscrimProductASmi = cms.EDProducer("DeDxDiscriminatorProducer", 00046 tracks = cms.InputTag("generalTracks"), 00047 trajectoryTrackAssociation = cms.InputTag("generalTracks"), 00048 00049 DiscriminatorMode = cms.untracked.bool(True), 00050 MapFile = cms.string("SingleMuon_DicrimMap.root"), 00051 Formula = cms.untracked.uint32(3), 00052 00053 UseStrip = cms.bool(True), 00054 UsePixel = cms.bool(True), 00055 MeVperADCStrip = cms.double(3.61e-06*250), 00056 MeVperADCPixel = cms.double(3.61e-06) 00057 ) 00058 00059 doAlldEdXDiscriminators = cms.Sequence(dedxDiscrimProductProd * dedxDiscrimProductBTag * dedxDiscrimProductSmi * dedxDiscrimProductASmi) 00060