Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:08:10

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