CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/CaloOnlineTools/EcalTools/python/ecalBxOrbitNumberGrapher_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("ECALBXORBITGRAPH")
00004 
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 
00007 
00008 process.source = cms.Source("PoolSource",
00009     # replace 'myfile.root' with the source file you want to use
00010     fileNames = cms.untracked.vstring(
00011 #'/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/063/46D299E0-137F-DD11-9A92-001617E30CE8.root'
00012 #'/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/095/5A984886-717F-DD11-A16F-000423D6CA6E.root'
00013       '/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/096/56077B20-7B7F-DD11-B9D5-00161757BF42.root'
00014 )
00015 )
00016 
00017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(15) )
00018 
00019 process.load("CaloOnlineTools.EcalTools.ecalBxOrbitNumberGrapher_cfi")
00020 
00021 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
00022 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
00023 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
00024 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
00025 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
00026 process.load("Geometry.EcalMapping.EcalMapping_cfi")
00027 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
00028 process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
00029     
00030 import RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi
00031 #process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi.ecalMaxSampleUncalibRecHit.clone()
00032 import RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi
00033 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
00034 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
00035 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
00036 
00037 process.load("Configuration.StandardSequences.MagneticField_cff")
00038 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
00039 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00040 
00041 process.MessageLogger = cms.Service("MessageLogger",
00042     #suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
00043     cout = cms.untracked.PSet(
00044         threshold = cms.untracked.string('WARNING')
00045     ),
00046     categories = cms.untracked.vstring('EcalBxOrbitNumberGrapher'),
00047     destinations = cms.untracked.vstring('cout')
00048 )
00049 
00050 process.TFileService = cms.Service("TFileService",
00051   fileName = cms.string('EcalBxOrbitNumberGrapher.root'),
00052   closeFileFast = cms.untracked.bool(True)
00053 )
00054 
00055 process.p = cms.Path(process.ecalEBunpacker*process.ecalUncalibHit*process.ecalRecHit*process.EcalBxOrbitNumberGrapher)
00056 
00057 process.GlobalTag.globaltag = 'CRUZET4_V5P::All'
00058 process.ecalUncalibHit.EBdigiCollection = 'ecalEBunpacker:ebDigis'
00059 process.ecalUncalibHit.EEdigiCollection = 'ecalEBunpacker:eeDigis'
00060 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
00061 process.ecalRecHit.EBuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEB'
00062 process.ecalRecHit.EEuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEE'
00063 process.EcalTrivialConditionRetriever.producedEcalWeights = False
00064 process.EcalTrivialConditionRetriever.producedEcalPedestals = False
00065 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants = False
00066 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors = False
00067 process.EcalTrivialConditionRetriever.producedEcalGainRatios = False
00068 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant = False
00069 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection = False
00070 process.EcalTrivialConditionRetriever.producedChannelStatus = cms.untracked.bool(False)
00071 #process.EcalTrivialConditionRetriever.producedChannelStatus = True
00072 #process.EcalTrivialConditionRetriever.channelStatusFile = 'CaloOnlineTools/EcalTools/data/listCRUZET4.v5.hashed.txt'
00073 #es_prefer_EcalChannelStatus = cms.ESPrefer("EcalTrivialConditionRetriever","EcalChannelStatus")