Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-05-05 03:15:51

0001 #
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("d")
0005 
0006 import HLTrigger.HLTfilters.hltHighLevel_cfi as hlt
0007 # accept if 'path_1' succeeds
0008 process.hltfilter = hlt.hltHighLevel.clone(
0009 # Min-Bias
0010 #    HLTPaths = ['HLT_Physics_v*'],
0011 #    HLTPaths = ['HLT_L1Tech_BSC_minBias_threshold1_v*'],
0012     HLTPaths = ['HLT_Random_v*'],
0013 #    HLTPaths = ['HLT_ZeroBias_v*'],
0014 # Commissioning:
0015 #    HLTPaths = ['HLT_L1_Interbunch_BSC_v*'],
0016 #    HLTPaths = ['HLT_L1_PreCollisions_v*'],
0017 #    HLTPaths = ['HLT_BeamGas_BSC_v*'],
0018 #    HLTPaths = ['HLT_BeamGas_HF_v*'],
0019 # examples
0020 #    HLTPaths = ['p*'],
0021 #    HLTPaths = ['path_?'],
0022     andOr = True,  # False = and, True=or
0023     throw = False
0024     )
0025 
0026 
0027 # process.load("FWCore.MessageLogger.MessageLogger_cfi")
0028 
0029 process.MessageLogger = cms.Service("MessageLogger",
0030     cerr = cms.untracked.PSet(
0031         enable = cms.untracked.bool(False)
0032     ),
0033     cout = cms.untracked.PSet(
0034         enable = cms.untracked.bool(True),
0035         threshold = cms.untracked.string('WARNING')
0036     ),
0037     debugModules = cms.untracked.vstring('dumper')
0038 )
0039 
0040 #process.MessageLogger.cerr.FwkReport.reportEvery = 1
0041 #process.MessageLogger.cerr.threshold = 'Debug'
0042 
0043 process.maxEvents = cms.untracked.PSet(
0044     input = cms.untracked.int32(10)
0045 )
0046 
0047 process.source = cms.Source("PoolSource",
0048     fileNames = cms.untracked.vstring(                         
0049  
0050 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/2EF61B7D-F216-E211-98C3-001D09F28D54.root",
0051 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/6825CA93-0017-E211-8B46-001D09F25267.root",
0052 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/6C8D4EB2-F116-E211-A7CD-0019B9F70468.root",
0053 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/96B95E6C-FE16-E211-823E-001D09F295FB.root",
0054 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/AEF11AB6-FD16-E211-AA6B-001D09F24399.root",
0055 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/CA8B57D2-F316-E211-8DB2-003048D373F6.root",
0056 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/DA71CB04-FD16-E211-8254-0019B9F4A1D7.root",
0057 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/F859580F-F116-E211-B759-485B39897227.root",
0058 #  "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/205/217/FC46615A-F716-E211-924F-001D09F276CF.root",
0059 
0060   "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/208/686/A88F66A0-393F-E211-9287-002481E0D524.root",
0061 
0062     )
0063 
0064 )
0065 
0066 #process.source.lumisToProcess = cms.untracked.VLuminosityBlockRange('205217:0-205217:323')
0067 #process.source.lumisToProcess = cms.untracked.VLuminosityBlockRange('205718:49-205718:734')
0068 
0069 
0070 #process.out = cms.OutputModule("PoolOutputModule",
0071 #    fileName =  cms.untracked.string('file:histos.root')
0072 #)
0073 
0074 process.dumper = cms.EDAnalyzer("findHotPixels", 
0075     Timing = cms.untracked.bool(False),
0076     IncludeErrors = cms.untracked.bool(True),
0077 #    InputLabel = cms.untracked.string('source'),
0078 #   In 2012, extension = _LHC                                
0079     InputLabel = cms.untracked.string('rawDataCollector'),
0080 #    InputLabel = cms.untracked.string('siPixelRawData'),
0081 )
0082 
0083 process.p = cms.Path(process.hltfilter*process.dumper)
0084 # process.p = cms.Path(process.dumper)
0085 
0086 # process.ep = cms.EndPath(process.out)
0087 
0088