Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SiPixelInclusiveReader")
0004 
0005 
0006 
0007 process.load('Configuration/StandardSequences/Services_cff')
0008 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
0009 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0010 process.load('Configuration/StandardSequences/Sim_cff')
0011 process.load('Configuration/StandardSequences/Digi_cff')
0012 process.load('Configuration/StandardSequences/SimL1Emulator_cff')
0013 process.load('Configuration/StandardSequences/L1TriggerDefaultMenu_cff')
0014 process.load('Configuration/StandardSequences/DigiToRaw_cff')
0015 process.load('Configuration/StandardSequences/RawToDigi_cff')
0016 process.load('Configuration/StandardSequences/Reconstruction_cff')
0017 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0018 process.GlobalTag.globaltag = 'MC_31X_V3::All'
0019 
0020 
0021 ###### OUTPUT HISTOGRAM FILE NAME #######
0022 process.TFileService = cms.Service("TFileService",
0023                                    fileName = cms.string("histo.root")
0024                                    )
0025 
0026 
0027 
0028 
0029 ##### DATABASE CONNECTION INFO ######
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(1)
0033 )
0034 process.source = cms.Source("EmptySource",
0035     numberEventsInRun = cms.untracked.uint32(10),
0036     firstRun = cms.untracked.uint32(1)
0037 )
0038 
0039 process.Timing = cms.Service("Timing")
0040 
0041 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0042     ignoreTotal = cms.untracked.int32(0)
0043 )
0044 
0045 
0046 
0047 ####### GAIN READERS ######
0048 process.SiPixelCondObjOfflineReader = cms.EDAnalyzer("SiPixelCondObjOfflineReader",
0049                                                    process.SiPixelGainCalibrationServiceParameters,
0050                                                    useSimRcd = cms.bool(False)
0051 )
0052 
0053 process.SiPixelCondObjOfflineSimReader = cms.EDAnalyzer("SiPixelCondObjOfflineReader",
0054                                                       process.SiPixelGainCalibrationServiceParameters,
0055                                                       useSimRcd = cms.bool(True)
0056 )
0057 
0058 process.SiPixelCondObjForHLTReader = cms.EDAnalyzer("SiPixelCondObjForHLTReader",
0059                                                   process.SiPixelGainCalibrationServiceParameters,
0060                                                   useSimRcd = cms.bool(False)
0061 )
0062 
0063 process.SiPixelCondObjForHLTSimReader = cms.EDAnalyzer("SiPixelCondObjForHLTReader",
0064                                                      process.SiPixelGainCalibrationServiceParameters,
0065                                                      useSimRcd = cms.bool(True)
0066 )
0067 
0068 
0069 
0070 ####### LORENTZ ANGLE READER ######
0071 process.SiPixelLorentzAngleReader = cms.EDAnalyzer("SiPixelLorentzAngleReader",
0072     printDebug = cms.untracked.bool(False),
0073     useSimRcd = cms.bool(False)
0074 )
0075 
0076 process.SiPixelLorentzAngleSimReader = cms.EDAnalyzer("SiPixelLorentzAngleReader",
0077     printDebug = cms.untracked.bool(False),
0078     useSimRcd = cms.bool(True)
0079 )
0080 
0081 
0082 ####### CABLING MAP READER ######
0083 process.SiPixelFedCablingMapAnalyzer = cms.EDAnalyzer("SiPixelFedCablingMapAnalyzer")
0084 
0085 
0086 #######  QUALITY READER #######
0087 process.SiPixelBadModuleReader = cms.EDAnalyzer("SiPixelBadModuleReader")
0088 
0089 
0090 ####### TEMPLATE OBJECT READER ######
0091 #Change to True if you would like a more detailed error output
0092 wantDetailedOutput = False
0093 #Change to True if you would like to output the full template database object
0094 wantFullOutput = False
0095 
0096 process.SiPixelTemplateDBObjectReader = cms.EDAnalyzer("SiPixelTemplateDBObjectReader",
0097                               siPixelTemplateCalibrationLocation = cms.string(
0098                              "CalibTracker/SiPixelESProducers"),
0099                               wantDetailedTemplateDBErrorOutput = cms.bool(wantDetailedOutput),
0100                               wantFullTemplateDBOutput = cms.bool(wantFullOutput))
0101 
0102 
0103 
0104 
0105 
0106 ####### DO ALL READERS (OR SELECT ONE YOU WANT) ########
0107 process.p = cms.Path(
0108 process.SiPixelCondObjOfflineReader*
0109 #process.SiPixelCondObjOfflineSimReader*
0110 process.SiPixelLorentzAngleReader*
0111 #process.SiPixelLorentzAngleSimReader*
0112 process.SiPixelFedCablingMapAnalyzer*
0113 process.SiPixelCondObjForHLTReader*
0114 #process.SiPixelCondObjForHLTSimReader*
0115 process.SiPixelTemplateDBObjectReader*
0116 process.SiPixelBadModuleReader
0117 )
0118 
0119 
0120 
0121