Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:40

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