Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:02

0001 ## Dump  100  events in CSC segment builder - Tim Cox - 09.09.2013
0002 ## This version runs in 700pre3 on a real data RelVal RAW sample.
0003 ## Change Geometry_cff to GeometryDB_cff and update GT July.2022
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 
0009 process.load("Configuration.StandardSequences.GeometryDB_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0012 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0013 process.load("Configuration.StandardSequences.Reconstruction_cff")
0014 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0015 
0016 # --- MATCH GT TO RELEASE AND DATA SAMPLE
0017 # 2022
0018 process.GlobalTag.globaltag = 'auto:phase1_2022_realistic'
0019 
0020 
0021 # --- NUMBER OF EVENTS --- 
0022 
0023 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0024 
0025 process.options   = cms.untracked.PSet( SkipEvent = cms.untracked.vstring('ProductNotFound') )
0026 process.options   = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0027 process.source    = cms.Source("PoolSource",
0028     fileNames = cms.untracked.vstring(
0029     '/store/relval/CMSSW_7_0_0_pre3/SingleMu/RAW/PRE_P62_V8_RelVal_mu2011B-v1/00000/127160CD-7215-E311-91F3-003048D15E14.root'
0030     )
0031 )
0032 
0033 # --- ACTIVATE LogTrace IN CSCRecHitD BUT NEED TO COMPILE IT WITH scram b -j8 USER_CXXFLAGS="-DEDM_ML_DEBUG"
0034 # LogTrace output goes to cout; all other output to "junk.log"
0035 
0036 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0037 
0038 # module label is something like "muonCSCDigis"...
0039 process.MessageLogger.debugModules = cms.untracked.vstring("*")
0040 process.MessageLogger.cerr.enable = False
0041 process.MessageLogger.files.junk = dict()
0042 process.MessageLogger.cout = cms.untracked.PSet(
0043     enable    = cms.untracked.bool(True),
0044     threshold = cms.untracked.string("DEBUG"),
0045     default   = cms.untracked.PSet( limit = cms.untracked.int32(0)  ),
0046     FwkReport = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0047     CSCRecHit = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0048     CSCSegAlgoST = cms.untracked.PSet( limit = cms.untracked.int32(-1) ) 
0049 )
0050 
0051 #process.p = cms.Path(process.muonCSCDigis * process.csc2DRecHits * process.cscSegments * process.cscValidation)
0052 
0053 # Path and EndPath def
0054 process.unpack = cms.Path(process.muonCSCDigis)
0055 process.reco = cms.Path(process.csc2DRecHits * process.cscSegments)
0056 process.endjob = cms.EndPath(process.endOfProcess)
0057 
0058 # Schedule definition
0059 process.schedule = cms.Schedule(process.unpack, process.reco, process.endjob)
0060