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 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0005 
0006 process = cms.Process("Demo", eras.run3_GEM, Run3_dd4hep)
0007 
0008 process.load('Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff')
0009 
0010 process.maxEvents = cms.untracked.PSet(
0011     input = cms.untracked.int32(1)
0012 )
0013 process.source = cms.Source("EmptySource")
0014 
0015 process.test = cms.EDAnalyzer("GEMGeometryAnalyzer")
0016 
0017 process.p = cms.Path(process.test)
0018 
0019 ### TO ACTIVATE LogTrace NEED TO COMPILE IT WITH:
0020 ### -----------------------------------------------------------
0021 ### --> scram b -j8 USER_CXXFLAGS="-DEDM_ML_DEBUG"
0022 ### Make sure that you first cleaned your CMSSW version:
0023 ### --> scram b clean
0024 ### before issuing the scram command above
0025 ###############################################################
0026 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0027 # 
0028 # 
0029 process.MessageLogger.debugModules = cms.untracked.vstring("*")
0030 process.MessageLogger.cerr.enable = False
0031 process.MessageLogger.files.junk = dict()
0032 process.MessageLogger.cout = cms.untracked.PSet(
0033     enable = cms.untracked.bool(True),
0034     threshold = cms.untracked.string("DEBUG"),
0035     default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0036     FwkReport = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0037     # GEMGeometryBuilderFromDDD   = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0038     # GEMNumberingScheme            = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0039 )