Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-08 06:27:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.StandardSequences.Eras import eras
0004 
0005 process = cms.Process("Demo",eras.run3_GEM)
0006 
0007 
0008 
0009 process.load('Configuration.StandardSequences.GeometryDB_cff')
0010 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012 process.XMLFromDBSource.label = cms.string('Extended')
0013 from Configuration.AlCa.GlobalTag import GlobalTag
0014 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgrade2021', '')
0015 
0016 from Configuration.AlCa.autoCond import autoCond
0017 process.load('Geometry.MuonNumbering.muonNumberingInitialization_cfi')
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(1)
0021 )
0022 
0023 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0024 process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource") 
0025 
0026 process.source = cms.Source("EmptySource")
0027 
0028 process.test = cms.EDAnalyzer("GEMGeometryAnalyzer")
0029 
0030 process.p = cms.Path(process.test)
0031 
0032 ### TO ACTIVATE LogTrace NEED TO COMPILE IT WITH:
0033 ### -----------------------------------------------------------
0034 ### --> scram b -j8 USER_CXXFLAGS="-DEDM_ML_DEBUG"
0035 ### Make sure that you first cleaned your CMSSW version:
0036 ### --> scram b clean
0037 ### before issuing the scram command above
0038 ###############################################################
0039 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0040 # 
0041 # 
0042 process.MessageLogger.debugModules = cms.untracked.vstring("*")
0043 process.MessageLogger.cerr.enable = False
0044 process.MessageLogger.files.junk = dict()
0045 process.MessageLogger.cout = cms.untracked.PSet(
0046     enable = cms.untracked.bool(True),
0047     threshold = cms.untracked.string("DEBUG"),
0048     default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0049     FwkReport = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0050     # GEMGeometryBuilderFromDDD   = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0051     # GEMNumberingScheme            = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0052 )