Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:36

0001 ## Process  100  events in CSC rechit builder - Tim Cox - 06.10.2014
0002 ## This version runs in 720pre6, 7, 73X IBs  on a real data RelVal RAW sample.
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("TEST")
0007 
0008 process.load("Configuration/StandardSequences/Geometry_cff")
0009 process.load("Configuration/StandardSequences/MagneticField_cff")
0010 process.load("Configuration/StandardSequences/FrontierConditions_GlobalTag_cff")
0011 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
0012 process.load("Configuration.StandardSequences.Reconstruction_cff")
0013 process.load("Configuration.StandardSequences.EndOfProcess_cff")
0014 
0015 # --- MATCH GT TO RELEASE AND DATA SAMPLE
0016 
0017 # This is OK for 72x real data
0018 process.GlobalTag.globaltag = "GR_R_71_V1::All"
0019 
0020 # --- NUMBER OF EVENTS --- 
0021 
0022 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0023 
0024 process.options   = cms.untracked.PSet( SkipEvent = cms.untracked.vstring("ProductNotFound") )
0025 process.options   = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0026 process.source    = cms.Source("PoolSource",
0027     fileNames = cms.untracked.vstring(
0028     "/store/relval/CMSSW_7_2_0_pre6/SingleMu/RAW/GR_H_V38A_RelVal_mu2012D-v1/00000/001E161E-6F3F-E411-BD55-0025905A60D0.root" )
0029 )
0030 
0031 # --- ACTIVATE LogTrace IN VARIOUS MODULES - NEED TO COMPILE *EACH MODULE* WITH 
0032 # scram b -j8 USER_CXXFLAGS="-DEDM_ML_DEBUG"
0033 # LogTrace output goes to cout; all other output to "junk.log"
0034 
0035 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0036 
0037 # module label is something like "muonCSCDigis"...
0038 process.MessageLogger.debugModules = cms.untracked.vstring("*")
0039 process.MessageLogger.cerr.enable = False
0040 process.MessageLogger.files.junk = dict()
0041 process.MessageLogger.cout = cms.untracked.PSet(
0042     enable    = cms.untracked.bool(True),
0043     threshold = cms.untracked.string("DEBUG"),
0044     default   = cms.untracked.PSet( limit = cms.untracked.int32(0)  ),
0045     FwkReport = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0046     CSCRecHit = cms.untracked.PSet( limit = cms.untracked.int32(-1) ) 
0047 )
0048 
0049 # Path and EndPath def
0050 process.unpack = cms.Path(process.muonCSCDigis)
0051 process.reco = cms.Path(process.csc2DRecHits)
0052 process.endjob = cms.EndPath(process.endOfProcess)
0053 
0054 # Schedule definition
0055 process.schedule = cms.Schedule(process.unpack, process.reco, process.endjob)