Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:45

0001 #! /usr/bin/env cmsRun
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("MaterialAnalyser")
0006 process.load('Configuration.Geometry.GeometryDB_cff')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 from Configuration.AlCa.GlobalTag import GlobalTag
0009 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     cerr = cms.untracked.PSet(
0014         enable = cms.untracked.bool(False)
0015     ),
0016     cout = cms.untracked.PSet(
0017         enable = cms.untracked.bool(True)
0018     )
0019 )
0020 
0021 process.source = cms.Source("EmptySource")
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024 )
0025 
0026 process.listIds = cms.EDAnalyzer("ListIds",
0027                                 materials = cms.untracked.vstring("materials:Silicon" , "tracker:SenSi"),
0028                                 printMaterial = cms.untracked.bool(False)
0029                               )
0030 process.path = cms.Path(process.listIds)