Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:34

0001 #!/usr/bin/env pythona
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 # process name
0005 ##############
0006 process = cms.Process("GeometryTestTwo")
0007 
0008 # empty input
0009 #############
0010 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0011 process.source = cms.Source("EmptySource")
0012 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0013 
0014 # xml for endcap csc geometry
0015 #############################
0016 #process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0017 #process.load("Geometry.CSCGeometry.cscGeometry_cfi")
0018 #process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0019 process.load("Configuration.StandardSequences.GeometryDB_cff")
0020 
0021 ##process.load("Geometry.CSCGeometryBuilder.idealForDigiCscGeometry_cff")
0022 ##process.load("CalibMuon.Configuration.CSC_FakeConditions_cff")
0023 ##process.load("Configuration.StandardSequences.FakeConditions_cff")
0024 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0025 #process.GlobalTag.globaltag = ('GR09_R_35X_V3')
0026 process.GlobalTag.globaltag = ('POSTLS161_V12')#GR_P_V22')
0027 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerScalesConfig_cff")
0028 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerPtScaleConfig_cff")
0029 
0030 # User defined modules
0031 ######################
0032 
0033 process.cscmakesrlut = cms.EDAnalyzer("CSCMakeSRLUT",
0034     BinaryOutput = cms.untracked.bool(True),
0035     WriteGlobalEta = cms.untracked.bool(True),
0036     WriteGlobalPhi = cms.untracked.bool(True),
0037     WriteLocalPhi = cms.untracked.bool(True),
0038 #   Station = cms.untracked.int32(1),
0039 #   Endcap = cms.untracked.int32(1),
0040 #   Sector = cms.untracked.int32(1),
0041     isTMB07 = cms.untracked.bool(True),
0042     lutParam = cms.PSet(
0043         UseMiniLUTs = cms.untracked.bool(True)
0044     )
0045  )
0046 
0047 process.cscmakeptlut = cms.EDAnalyzer("CSCMakePTLUT",
0048 #  create .bin file
0049    BinaryOutput = cms.untracked.bool(True),
0050 #  create .dat file
0051 #   BinaryOutput = cms.untracked.bool(False), 
0052    lutParam = cms.PSet(
0053                    LowQualityFlag = cms.untracked.uint32(4),
0054                    ReadPtLUT = cms.bool(False),
0055                    PtMethod = cms.untracked.uint32(34)  
0056    )
0057 )
0058 
0059 process.cscmakeptlut_ascii = process.cscmakeptlut.clone()
0060 process.cscmakeptlut_ascii.BinaryOutput = cms.untracked.bool(False)
0061 
0062 #process.Path = cms.Path(process.cscmakesrlut)
0063 #process.Path = cms.Path(process.cscmakeptlut)              
0064 #process.Path = cms.Path(process.cscmakeptlut_ascii)                
0065 process.Path = cms.Path(process.cscmakesrlut+process.cscmakeptlut+process.cscmakeptlut_ascii)
0066 #process.Path = cms.Path(process.cscmakeptlut+process.cscmakeptlut_ascii)
0067