CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DQM/SiPixelCommon/python/SiPixelP5DQM_source_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Pixel RawDataError Monitoring
00004 from DQM.SiPixelMonitorRawData.SiPixelMonitorRawData_cfi import * 
00005 SiPixelRawDataErrorSource.saveFile = False
00006 SiPixelRawDataErrorSource.isPIB = False
00007 SiPixelRawDataErrorSource.slowDown = False
00008 SiPixelRawDataErrorSource.reducedSet = True
00009 
00010 # Pixel Digi Monitoring
00011 from DQM.SiPixelMonitorDigi.SiPixelMonitorDigi_cfi import *
00012 SiPixelDigiSource.saveFile = False
00013 SiPixelDigiSource.isPIB = False
00014 SiPixelDigiSource.slowDown = False
00015 SiPixelDigiSource.hiRes = True
00016 SiPixelDigiSource.reducedSet = False
00017 SiPixelDigiSource.twoDimModOn = False
00018 SiPixelDigiSource.twoDimOnlyLayDisk = True
00019 
00020 # Pixel Cluster Monitoring
00021 from DQM.SiPixelMonitorCluster.SiPixelMonitorCluster_cfi import *
00022 SiPixelClusterSource.saveFile = False
00023 SiPixelClusterSource.isPIB = False
00024 
00025 # Pixel RecHit Monitoring
00026 from DQM.SiPixelMonitorRecHit.SiPixelMonitorRecHit_cfi import *
00027 SiPixelRecHitSource.saveFile = False
00028 SiPixelRecHitSource.isPIB = False
00029 
00030 # Pixel Track Monitoring
00031 from DQM.SiPixelMonitorTrack.SiPixelMonitorTrack_cfi import *
00032 SiPixelTrackResidualSource.saveFile = False
00033 SiPixelTrackResidualSource.TrackCandidateProducer = cms.string('newTrackCandidateMaker')
00034 SiPixelTrackResidualSource.trajectoryInput = cms.InputTag('generalTracks')
00035 from DQM.SiPixelMonitorTrack.SiPixelMonitorTrack_Cosmics_cfi import *
00036 SiPixelTrackResidualSource_Cosmics.saveFile = False
00037 SiPixelTrackResidualSource_Cosmics.TrackCandidateProducer = cms.string('ckfTrackCandidatesP5')
00038 SiPixelTrackResidualSource_Cosmics.trajectoryInput = cms.string('ctfWithMaterialTracksP5')
00039 from DQM.SiPixelMonitorTrack.SiPixelMonitorEfficiency_cfi import *
00040 SiPixelHitEfficiencySource.saveFile = False
00041 SiPixelHitEfficiencySource.trajectoryInput = cms.InputTag('generalTracks') 
00042 
00043 ##online/offline
00044 #RawDataErrors
00045 SiPixelRawDataErrorSource.modOn = True
00046 SiPixelRawDataErrorSource.ladOn = False
00047 SiPixelRawDataErrorSource.bladeOn = False
00048 #Digi
00049 SiPixelDigiSource.modOn = True
00050 SiPixelDigiSource.twoDimOn = True
00051 SiPixelDigiSource.reducedSet = False
00052 SiPixelDigiSource.hiRes = True ## do not set to False, otherwise occupancy map code will crash!
00053 SiPixelDigiSource.ladOn = False
00054 SiPixelDigiSource.layOn = False
00055 SiPixelDigiSource.phiOn = False
00056 SiPixelDigiSource.bladeOn = False
00057 SiPixelDigiSource.diskOn = False
00058 SiPixelDigiSource.ringOn = False
00059 SiPixelDigiSource.bigEventSize = 5000
00060 #Cluster
00061 SiPixelClusterSource.modOn = True
00062 SiPixelClusterSource.twoDimOn = True
00063 SiPixelClusterSource.reducedSet = True
00064 SiPixelClusterSource.ladOn = False
00065 SiPixelClusterSource.layOn = False
00066 SiPixelClusterSource.phiOn = False
00067 SiPixelClusterSource.bladeOn = False
00068 SiPixelClusterSource.diskOn = False
00069 SiPixelClusterSource.ringOn = False
00070 SiPixelClusterSource.bigEventSize = 330
00071 #RecHit
00072 SiPixelRecHitSource.modOn = True
00073 SiPixelRecHitSource.twoDimOn = True
00074 SiPixelRecHitSource.reducedSet = True
00075 SiPixelRecHitSource.ladOn = False
00076 SiPixelRecHitSource.layOn = False
00077 SiPixelRecHitSource.phiOn = False       
00078 SiPixelRecHitSource.bladeOn = False
00079 SiPixelRecHitSource.diskOn = False
00080 SiPixelRecHitSource.ringOn = False
00081 
00082 #Track
00083 SiPixelTrackResidualSource.modOn = True
00084 SiPixelTrackResidualSource.ladOn = False
00085 SiPixelTrackResidualSource.layOn = False
00086 SiPixelTrackResidualSource.phiOn = False        
00087 SiPixelTrackResidualSource.bladeOn = False
00088 SiPixelTrackResidualSource.diskOn = False
00089 SiPixelTrackResidualSource.ringOn = False
00090 SiPixelTrackResidualSource_Cosmics.modOn = True
00091 SiPixelTrackResidualSource_Cosmics.ladOn = False
00092 SiPixelTrackResidualSource_Cosmics.layOn = False
00093 SiPixelTrackResidualSource_Cosmics.phiOn = False        
00094 SiPixelTrackResidualSource_Cosmics.bladeOn = False
00095 SiPixelTrackResidualSource_Cosmics.diskOn = False
00096 SiPixelTrackResidualSource_Cosmics.ringOn = False
00097 SiPixelHitEfficiencySource.modOn = True
00098 SiPixelHitEfficiencySource.ladOn = False
00099 SiPixelHitEfficiencySource.layOn = False
00100 SiPixelHitEfficiencySource.phiOn = False
00101 SiPixelHitEfficiencySource.bladeOn = False
00102 SiPixelHitEfficiencySource.diskOn = False
00103 SiPixelHitEfficiencySource.ringOn = False
00104 
00105 #HI track modules
00106 hiTracks = "hiGlobalPrimTracks"
00107 
00108 SiPixelTrackResidualSource_HeavyIons = SiPixelTrackResidualSource.clone(
00109     TrackCandidateProducer = 'hiPrimTrackCandidates',
00110     trajectoryInput = hiTracks
00111     )
00112 
00113 SiPixelHitEfficiencySource_HeavyIons = SiPixelHitEfficiencySource.clone(
00114     trajectoryInput = hiTracks
00115     )
00116 
00117 #DQM service
00118 dqmInfo = cms.EDAnalyzer("DQMEventInfo",
00119     subSystemFolder = cms.untracked.string('Pixel')
00120 )
00121 
00122 #FED integrity
00123 from DQM.SiPixelMonitorRawData.SiPixelMonitorHLT_cfi import *
00124 SiPixelHLTSource.DirName = cms.untracked.string('Pixel/FEDIntegrity/')
00125 
00126 siPixelP5DQM_source = cms.Sequence(SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource + SiPixelHitEfficiencySource + dqmInfo)
00127 
00128 siPixelP5DQM_cosmics_source = cms.Sequence(SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_Cosmics + dqmInfo)
00129 
00130 siPixelP5DQM_heavyions_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_HeavyIons + SiPixelHitEfficiencySource_HeavyIons + dqmInfo)
00131 
00132 siPixelP5DQM_source_woTrack = cms.Sequence(SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + dqmInfo)