Common/leftImage.jpg" alt="CMS 3D" align="left" border="0"/> Common/rightImage.jpg" alt="CMS Logo" align="right" border="0"/>

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CaloOnlineTools/EcalTools/python/ecalCosmicsHists_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("COSMICSANALYSIS")
00004 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
00005 
00006 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
00007 
00008 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_noesprefer_cff")
00010 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
00011 process.GlobalTag.globaltag = 'CRUZET4_V5P::All'
00012 
00013 process.EcalTrivialConditionRetriever.producedEcalWeights = False
00014 process.EcalTrivialConditionRetriever.producedEcalPedestals = False
00015 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants = False
00016 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors = False
00017 process.EcalTrivialConditionRetriever.producedEcalGainRatios = False
00018 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant = False
00019 #process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant = True
00020 #process.EcalTrivialConditionRetriever.adcToGeVEBConstant = 0.035
00021 #process.EcalTrivialConditionRetriever.adcToGeVEEConstant = 0.060
00022 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection = False
00023 #process.EcalTrivialConditionRetriever.producedEcalChannelStatus = False
00024 process.EcalTrivialConditionRetriever.producedEcalChannelStatus = cms.untracked.bool(False)
00025 #process.EcalTrivialConditionRetriever.channelStatusFile = 'CaloOnlineTools/EcalTools/data/listCRUZET4.v5.hashed.txt'
00026 #process.es_prefer_EcalTrivialConditionRetriever = cms.ESPrefer("EcalTrivialConditionRetriever")
00027 
00028 process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
00029 
00030 import CalibTracker.Configuration.Common.PoolDBESSource_cfi
00031 process.siStripPedestalFrontier = CalibTracker.Configuration.Common.PoolDBESSource_cfi.PoolDBESSource.clone()
00032 process.siStripPedestalFrontier.connect = 'frontier://PromptProd/CMS_COND_21X_STRIP'
00033 process.siStripPedestalFrontier.toGet = cms.VPSet(cms.PSet(
00034             record = cms.string('SiStripPedestalsRcd'),
00035                         tag = cms.string('SiStripPedestals_TKCC_21X_v3_hlt')
00036                     ))
00037 process.siStripPedestalFrontier.BlobStreamerName = 'TBufferBlobStreamingService'
00038 process.es_prefer_SiStripFake = cms.ESPrefer("PoolDBESSource","siStripPedestalFrontier")
00039 
00040 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
00041 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
00042 
00043 import RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi
00044 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
00045 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
00046 
00047 process.load("RecoEcal.EgammaClusterProducers.geometryForClustering_cff")
00048 process.load("RecoEcal.EgammaClusterProducers.cosmicClusteringSequence_cff")
00049 
00050 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerScalesConfig_cff")
00051 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerPtScaleConfig_cff")
00052 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtBoardMapsConfig_cff")
00053 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtConfig_cff")
00054 process.load("L1TriggerConfig.L1GtConfigProducers.Luminosity.startup.L1Menu_startup_v3_Unprescaled_cff")
00055 import FWCore.Modules.printContent_cfi
00056 process.dumpEv = FWCore.Modules.printContent_cfi.printContent.clone()
00057 
00058 import EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi
00059 process.gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
00060 process.load("CaloOnlineTools.EcalTools.ecalCosmicsHists_cfi")
00061 
00062 process.load("Configuration.StandardSequences.MagneticField_cff")
00063 
00064 process.load("Geometry.EcalMapping.EcalMapping_cfi")
00065 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
00066 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
00067 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
00068 process.load("Geometry.CommonDetUnit.globalTrackingGeometry_cfi")
00069 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
00070 
00071 process.load("TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff")
00072 process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi")
00073 process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi")
00074 process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi")
00075 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
00076 
00077 process.load("EventFilter.HcalRawToDigi.HcalRawToDigi_cfi")
00078 process.load("RecoLocalCalo.Configuration.hcalLocalReco_cff")
00079 
00080 process.load("HLTrigger.special.TriggerTypeFilter_cfi")
00081 
00082 process.source = cms.source("PoolSource",
00083     skipEvents = cms.untracked.uint32(0),
00084     fileNames = (cms.untracked.vstring(
00085         '/store/data/Commissioning08/BeamHalo/RAW/StuffAlmostToP5_v1/000/061/642/94D3CADF-A47D-DD11-BF3E-000423D94E1C.root'
00086 ))
00087 )
00088 
00089 process.maxEvents = cms.untracked.PSet(
00090     input = cms.untracked.int32(-1)
00091 )
00092 
00093 process.MessageLogger = cms.Service("MessageLogger",
00094     suppressWarning = cms.untracked.vstring('ecalEBunpacker','ecalUncalibHit','ecalRecHit',
00095                                             'hcalDigis','hcalLocalRecoSequence','EcalCosmicsHists'),
00096     suppressInfo = cms.untracked.vstring('ecalEBunpacker', 'ecalUncalibHit', 
00097                                          'ecalRecHit', 'hcalDigis','hcalLocalRecoSequence'),
00098     cout = cms.untracked.PSet(
00099         threshold = cms.untracked.string('ERROR')
00100     ),
00101     categories = cms.untracked.vstring('EcalCosmicsHists','CosmicClusterAlgo','CosmicClusterProducer'),
00102     destinations = cms.untracked.vstring('cout')
00103 )
00104 
00105 process.p = cms.Path(process.triggerTypeFilter*process.ecalEBunpacker*process.ecalUncalibHit*process.ecalRecHit*process.cosmicClusteringSequence*process.gtDigis*process.EcalCosmicsHists)
00106 
00107 process.ecalUncalibHit.EBdigiCollection = 'ecalEBunpacker:ebDigis'
00108 process.ecalUncalibHit.EEdigiCollection = 'ecalEBunpacker:eeDigis'
00109 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
00110 process.ecalRecHit.EBuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEB'
00111 process.ecalRecHit.EEuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEE'
00112 process.cosmicBasicClusters.barrelUnHitProducer = "ecalUncalibHit"
00113 process.cosmicBasicClusters.endcapUnHitProducer = "ecalUncalibHit"
00114 
00115 process.gtDigis.DaqGtInputTag = 'source'
00116 
00117 process.EcalCosmicsHists.fileName = 'EcalCosmicsHists'
00118 process.EcalCosmicsHists.runInFileName = True
00119 #process.EcalCosmicsHists.MinTimingAmpEB = 0.1,   # for adcToGeV=0.009, gain 200
00120 #process.EcalCosmicsHists.MinRecHitAmpEB = 0.027, # for adcToGeV=0.009, gain 200
00121 process.EcalCosmicsHists.MinTimingAmpEB = 0.35   # for adcToGeV=0.035, gain 50
00122 process.EcalCosmicsHists.MinRecHitAmpEB = 0.070  # for adcToGeV=0.035, gain 50
00123 process.EcalCosmicsHists.MinTimingAmpEE = 0.9    # for adcToGeV=0.06
00124 process.EcalCosmicsHists.MinRecHitAmpEE = 0.180  # for adcToGeV=0.06
00125 
00126 process.hbhereco = process.hbheprereco.clone()
00127 process.hbhereco.firstSample = 1
00128 process.hbhereco.samplesToAdd = 8
00129 process.hbhereco.correctForTimeslew = True
00130 process.hbhereco.correctForPhaseContainment = True
00131 process.hbhereco.correctionPhaseNS = 10.0
00132 process.horeco.firstSample = 1
00133 process.horeco.samplesToAdd = 8
00134 process.horeco.correctForTimeslew = True
00135 process.horeco.correctForPhaseContainment = True
00136 process.horeco.correctionPhaseNS = 10.
00137 process.hfreco.firstSample = 1
00138 process.hfreco.samplesToAdd = 8
00139 process.hfreco.correctForTimeslew = True
00140 process.hfreco.correctForPhaseContainment = True
00141 process.hfreco.correctionPhaseNS = 10.
00142  
00143 process.triggerTypeFilter.SelectedTriggerType = 1
00144