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("ECALBXORBITGRAPH")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 
0008 process.source = cms.Source("PoolSource",
0009     # replace 'myfile.root' with the source file you want to use
0010     fileNames = cms.untracked.vstring(
0011 #'/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/063/46D299E0-137F-DD11-9A92-001617E30CE8.root'
0012 #'/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/095/5A984886-717F-DD11-A16F-000423D6CA6E.root'
0013       '/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/096/56077B20-7B7F-DD11-B9D5-00161757BF42.root'
0014 )
0015 )
0016 
0017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(15) )
0018 
0019 process.load("CaloOnlineTools.EcalTools.ecalBxOrbitNumberGrapher_cfi")
0020 
0021 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0022 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0023 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0024 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0025 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0026 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0027 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0028 process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
0029     
0030 import RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi
0031 #process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi.ecalMaxSampleUncalibRecHit.clone()
0032 import RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi
0033 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
0034 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
0035 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0036 
0037 process.load("Configuration.StandardSequences.MagneticField_cff")
0038 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
0039 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0040 
0041 process.MessageLogger = cms.Service("MessageLogger",
0042     #suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
0043     cout = cms.untracked.PSet(
0044         threshold = cms.untracked.string('WARNING')
0045     ),
0046     categories = cms.untracked.vstring('EcalBxOrbitNumberGrapher'),
0047     destinations = cms.untracked.vstring('cout')
0048 )
0049 
0050 process.TFileService = cms.Service("TFileService",
0051   fileName = cms.string('ecalBxOrbitNumberGrapher.root'),
0052   closeFileFast = cms.untracked.bool(True)
0053 )
0054 
0055 process.p = cms.Path(process.ecalEBunpacker*process.ecalUncalibHit*process.ecalRecHit*process.ecalBxOrbitNumberGrapher)
0056 
0057 process.GlobalTag.globaltag = 'CRUZET4_V5P::All'
0058 process.ecalUncalibHit.EBdigiCollection = 'ecalEBunpacker:ebDigis'
0059 process.ecalUncalibHit.EEdigiCollection = 'ecalEBunpacker:eeDigis'
0060 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
0061 process.ecalRecHit.EBuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEB'
0062 process.ecalRecHit.EEuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEE'
0063 process.EcalTrivialConditionRetriever.producedEcalWeights = False
0064 process.EcalTrivialConditionRetriever.producedEcalPedestals = False
0065 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants = False
0066 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors = False
0067 process.EcalTrivialConditionRetriever.producedEcalGainRatios = False
0068 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant = False
0069 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection = False
0070 process.EcalTrivialConditionRetriever.producedChannelStatus = cms.untracked.bool(False)
0071 #process.EcalTrivialConditionRetriever.producedChannelStatus = True
0072 #process.EcalTrivialConditionRetriever.channelStatusFile = 'CaloOnlineTools/EcalTools/data/listCRUZET4.v5.hashed.txt'
0073 #es_prefer_EcalChannelStatus = cms.ESPrefer("EcalTrivialConditionRetriever","EcalChannelStatus")