Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:15:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ECALDISPLAYSBYEVENT")
0004 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0005 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0006 
0007 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0008 
0009 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0010 
0011 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0012 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0013 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0014 
0015 process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
0016 
0017 import RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi
0018 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi.ecalMaxSampleUncalibRecHit.clone()
0019 process.ecalUncalibHit.EBdigiCollection = 'ecalEBunpacker:ebDigis'
0020 process.ecalUncalibHit.EEdigiCollection = 'ecalEBunpacker:eeDigis'
0021 
0022 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
0023 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
0024 process.ecalRecHit.EBuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEB'
0025 process.ecalRecHit.EEuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEE'
0026 
0027 process.load("CaloOnlineTools.EcalTools.ecalDisplaysByEvent_cfi")
0028 process.load("HLTrigger.special.TriggerTypeFilter_cfi")
0029 process.triggerTypeFilter.SelectedTriggerType = 1
0030 
0031 process.source = cms.Source("PoolSource",
0032    skipEvents = cms.untracked.uint32(0),
0033    fileNames = cms.untracked.vstring(
0034       '/store/data/Commissioning08/BeamHalo/RAW/StuffAlmostToP5_v1/000/061/642/94D3CADF-A47D-DD11-BF3E-000423D94E1C.root'
0035    )
0036 )
0037 process.maxEvents = cms.untracked.PSet(
0038     input = cms.untracked.int32(10)
0039 )
0040 
0041 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0042 process.EcalTrivialConditionRetriever.producedEcalWeights = False
0043 process.EcalTrivialConditionRetriever.producedEcalPedestals = False
0044 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants = False
0045 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors = False
0046 process.EcalTrivialConditionRetriever.producedEcalGainRatios = False
0047 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant = False
0048 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection = False
0049 process.EcalTrivialConditionRetriever.producedChannelStatus = cms.untracked.bool(False)
0050 #es_prefer_EcalChannelStatus = cms.ESPrefer("EcalTrivialConditionRetriever","EcalChannelStatus")
0051 
0052 process.load("Configuration.StandardSequences.MagneticField_cff")
0053 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
0054 
0055 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0056 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_noesprefer_cff")
0057 process.GlobalTag.globaltag = 'CRUZET4_V5P::All'
0058 
0059 process.dumpEv = cms.EDAnalyzer("EventContentAnalyzer")
0060 
0061 process.MessageLogger = cms.Service("MessageLogger",
0062     #suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
0063     cout = cms.untracked.PSet(
0064         threshold = cms.untracked.string('DEBUG')
0065     ),
0066     categories = cms.untracked.vstring('EcalMipGraphs'),
0067     destinations = cms.untracked.vstring('cout')
0068 )
0069 
0070 process.TFileService = cms.Service("TFileService",
0071   fileName = cms.string('ecalDisplaysEvent7691-61642.root'),
0072   closeFileFast = cms.untracked.bool(True)
0073 )
0074 
0075 # EventNumberFilter UserCode/CCEcal/CRUZET2/CaloOnlineTools/EventNumberFilter
0076 #process.load("CaloOnlineTools.EventNumberFilter.eventNumberFilter_cfi")
0077 #process.eventNumberFilter.InterestingEvents = (7691,7995,8282,8551,8853,9116,9414,9694,9999,10295,11971,12261,13073)
0078 
0079 # L1 Trigger Filter see https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideL1TriggerFAQ
0080 #process.load("L1TriggerConfig.L1GtConfigProducers.L1GtConfig_cff")
0081 #process.load("L1TriggerConfig.L1GtConfigProducers.startup.startupL1Menu_startup_v3_Unprescaled_cff")
0082 #process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerScalesConfig_cff")
0083 #process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerPtScaleConfig_cff")
0084 #process.load("L1TriggerConfig.L1GtConfigProducers.L1GtBoardMapsConfig_cff")
0085 #process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi")
0086 #process.gtDigis = process.l1GtUnpack.clone()
0087 #process.load("L1Trigger.Skimmer.l1Filter_cfi")
0088 # For the time being the only ecal trigger being used is L1_SingleEG2
0089 #process.l1Filter.algorithms = cms.vstring('L1_SingleEG2')
0090 #process.gtDigis.DaqGtInputTag = 'source'
0091    
0092 process.p = cms.Path(
0093 
0094 # gtDigis and l1Filter to filter by EcalTrigger
0095 #   process.gtDigis
0096 #   *
0097 #   process.l1Filter
0098 #   *
0099 
0100 # eventNumberFilter to filter specific events
0101 #   process.eventNumberFilter
0102 #   *
0103 
0104 # Standard sequence to run ecalDisplaysByEvent
0105    process.ecalEBunpacker
0106    *
0107    process.ecalUncalibHit
0108    *
0109    process.ecalRecHit
0110    *
0111    process.ecalDisplaysByEvent
0112 )