from GEMCode.GEMValidation.InputFileHelpers import * suffix = 'PU140_clctPidThreshPretrig' process = useInputDir(process, eosfiles[suffix], True) events = -1 process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(events)) outputFileName = 'hp_CMSSW14_usingL1SLHC7_' + suffix + '_eff.root' process.TFileService = cms.Service("TFileService", fileName=cms.string(outputFileName)) process.source.duplicateCheckMode = cms.untracked.string('noDuplicateCheck') ##Change to handle old partition geometry for SLHC7 and arround from Geometry.GEMGeometry.gemGeometryCustoms import custom_GE11_6partitions_v1 process = custom_GE11_6partitions_v1(process) ## global tag for upgrade studies from Configuration.AlCa.GlobalTag import GlobalTag #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgradePLS3', '') process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgrade2019', '') # the analyzer configuration def enum(*sequential, **named): enums = dict(zip(sequential, range(len(sequential))), **named) return type('Enum', (), enums) Stations = enum('ALL', 'ME11', 'ME1a', 'ME1b', 'ME12', 'ME13', 'ME21', 'ME22', 'ME31', 'ME32', 'ME41', 'ME42')
events=-1 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(events) ) outputFileName = 'hp_CMSSW14_usingL1SLHC7_' + suffix + '_eff.root' process.TFileService = cms.Service("TFileService", fileName = cms.string(outputFileName) ) process.source.duplicateCheckMode = cms.untracked.string('noDuplicateCheck') ##Change to handle old partition geometry for SLHC7 and arround from Geometry.GEMGeometry.gemGeometryCustoms import custom_GE11_6partitions_v1 process = custom_GE11_6partitions_v1(process) ## global tag for upgrade studies from Configuration.AlCa.GlobalTag import GlobalTag #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgradePLS3', '') process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgrade2019', '') # the analyzer configuration def enum(*sequential, **named): enums = dict(zip(sequential, range(len(sequential))), **named) return type('Enum', (), enums) Stations = enum('ALL','ME11','ME1a','ME1b','ME12','ME13','ME21','ME22','ME31','ME32','ME41','ME42') from GEMCode.GEMValidation.simTrackMatching_cfi import SimTrackMatching process.GEMCSCAnalyzer = cms.EDAnalyzer("GEMCSCAnalyzer", verbose = cms.untracked.int32(0), stationsToUse = cms.vint32(Stations.ME11,Stations.ME1a,Stations.ME1b,