CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/CaloOnlineTools/EcalTools/python/ecalDisplaysByEvent_cfg.py

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 #es_prefer_EcalChannelStatus = cms.ESPrefer("EcalTrivialConditionRetriever","EcalChannelStatus")
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 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_noesprefer_cff")
00057 process.GlobalTag.globaltag = 'CRUZET4_V5P::All'
00058 
00059 process.dumpEv = cms.EDAnalyzer("EventContentAnalyzer")
00060 
00061 process.MessageLogger = cms.Service("MessageLogger",
00062     #suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
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 # EventNumberFilter UserCode/CCEcal/CRUZET2/CaloOnlineTools/EventNumberFilter
00076 #process.load("CaloOnlineTools.EventNumberFilter.eventNumberFilter_cfi")
00077 #process.eventNumberFilter.InterestingEvents = (7691,7995,8282,8551,8853,9116,9414,9694,9999,10295,11971,12261,13073)
00078 
00079 # L1 Trigger Filter see https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideL1TriggerFAQ
00080 #process.load("L1TriggerConfig.L1GtConfigProducers.L1GtConfig_cff")
00081 #process.load("L1TriggerConfig.L1GtConfigProducers.startup.startupL1Menu_startup_v3_Unprescaled_cff")
00082 #process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerScalesConfig_cff")
00083 #process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerPtScaleConfig_cff")
00084 #process.load("L1TriggerConfig.L1GtConfigProducers.L1GtBoardMapsConfig_cff")
00085 #process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi")
00086 #process.gtDigis = process.l1GtUnpack.clone()
00087 #process.load("L1Trigger.Skimmer.l1Filter_cfi")
00088 # For the time being the only ecal trigger being used is L1_SingleEG2
00089 #process.l1Filter.algorithms = cms.vstring('L1_SingleEG2')
00090 #process.gtDigis.DaqGtInputTag = 'source'
00091    
00092 process.p = cms.Path(
00093 
00094 # gtDigis and l1Filter to filter by EcalTrigger
00095 #   process.gtDigis
00096 #   *
00097 #   process.l1Filter
00098 #   *
00099 
00100 # eventNumberFilter to filter specific events
00101 #   process.eventNumberFilter
00102 #   *
00103 
00104 # Standard sequence to run ecalDisplaysByEvent
00105    process.ecalEBunpacker
00106    *
00107    process.ecalUncalibHit
00108    *
00109    process.ecalRecHit
00110    *
00111    process.ecalDisplaysByEvent
00112 )