Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("ECALDISPLAYSBYEVENT")
00004 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
00005 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
00006
00007 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
00008
00009 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
00010
00011 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
00012 process.load("Geometry.EcalMapping.EcalMapping_cfi")
00013 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
00014
00015 process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
00016
00017 import RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi
00018 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi.ecalMaxSampleUncalibRecHit.clone()
00019 process.ecalUncalibHit.EBdigiCollection = 'ecalEBunpacker:ebDigis'
00020 process.ecalUncalibHit.EEdigiCollection = 'ecalEBunpacker:eeDigis'
00021
00022 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
00023 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
00024 process.ecalRecHit.EBuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEB'
00025 process.ecalRecHit.EEuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEE'
00026
00027 process.load("CaloOnlineTools.EcalTools.ecalDisplaysByEvent_cfi")
00028 process.load("HLTrigger.special.TriggerTypeFilter_cfi")
00029 process.triggerTypeFilter.SelectedTriggerType = 1
00030
00031 process.source = cms.source("PoolSource",
00032 skipEvents = cms.untracked.uint32(0),
00033 fileNames = cms.untracked.vstring(
00034 '/store/data/Commissioning08/BeamHalo/RAW/StuffAlmostToP5_v1/000/061/642/94D3CADF-A47D-DD11-BF3E-000423D94E1C.root'
00035 )
00036 )
00037 process.maxEvents = cms.untracked.PSet(
00038 input = cms.untracked.int32(10)
00039 )
00040
00041 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
00042 process.EcalTrivialConditionRetriever.producedEcalWeights = False
00043 process.EcalTrivialConditionRetriever.producedEcalPedestals = False
00044 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants = False
00045 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors = False
00046 process.EcalTrivialConditionRetriever.producedEcalGainRatios = False
00047 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant = False
00048 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection = False
00049 process.EcalTrivialConditionRetriever.producedChannelStatus = cms.untracked.bool(False)
00050
00051
00052 process.load("Configuration.StandardSequences.MagneticField_cff")
00053 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
00054
00055 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00056
00057 process.GlobalTag.globaltag = 'CRUZET4_V5P::All'
00058
00059 process.dumpEv = cms.EDAnalyzer("EventContentAnalyzer")
00060
00061 process.MessageLogger = cms.Service("MessageLogger",
00062
00063 cout = cms.untracked.PSet(
00064 threshold = cms.untracked.string('DEBUG')
00065 ),
00066 categories = cms.untracked.vstring('EcalMipGraphs'),
00067 destinations = cms.untracked.vstring('cout')
00068 )
00069
00070 process.TFileService = cms.Service("TFileService",
00071 fileName = cms.string('ecalDisplaysEvent7691-61642.root'),
00072 closeFileFast = cms.untracked.bool(True)
00073 )
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092 process.p = cms.Path(
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105 process.ecalEBunpacker
00106 *
00107 process.ecalUncalibHit
00108 *
00109 process.ecalRecHit
00110 *
00111 process.ecalDisplaysByEvent
00112 )