Instructions on running different ECAL reconustruction schemma in Data and MC using 0+1 1+1 3+1 3+3 3+5 weights ######################################################### ################# Running 0+1 ECAL reco ################# ######################################################### cmsrel CMSSW_X_Y_Z cd CMSSW_X_Y_Z/src cmsenv addpkg RecoLocalCalo/EcalRecAlgos addpkg RecoLocalCalo/EcalRecProducers wget www.cern.ch/theofil/SpecialEcalReco/EcalUncalibRecHitRecWeightsAlgo.h mv EcalUncalibRecHitRecWeightsAlgo.h RecoLocalCalo/EcalRecAlgos/interface/ scramv1 b -j 4 ######################################################### ################# Running X+Y ECAL reco ################# ######################################################### just chose the ES prefered record among: EcalTBWeights_1p1_data EcalTBWeights_1p1_mc EcalTBWeights_3p1_data EcalTBWeights_3p1_mc EcalTBWeights_3p3_data EcalTBWeights_3p3_mc EcalTBWeights_3p5_data EcalTBWeights_3p5_mc EcalTBWeights_3p5_time_data EcalTBWeights_3p5_time_mc and put the appropiate record in es_prefer (see below) in the python reconstruction sequence # Global Tag: see https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions#Global_Tags_for_Global_Run_data process.GlobalTag.globaltag = 'GR_P_V42::All' ########## Remove lines below if you do not want to override the global tag ################### from CondCore.DBCommon.CondDBSetup_cfi import * process.ecalConditions = cms.ESSource("PoolDBESSource", CondDBSetup, #connect = cms.string('frontier://FrontierProd/CMS_COND_ECAL'), connect = cms.string('frontier://FrontierPrep/CMS_COND_ECAL'), toGet = cms.VPSet( # overide Global Tag use EcalTBWeights_EBEE_offline cms.PSet( record = cms.string('EcalTBWeightsRcd') , tag = cms.string('EcalTBWeights_3p5_time_data') ##### Put here the appropiate weight record ), # cms.PSet( # record = cms.string('EcalWeightXtalGroupsRcd') , # tag = cms.string('EcalWeightXtalGroups_EBEE_offline') # ) ) ) process.es_prefer_EcalTBWeights = cms.ESPrefer("PoolDBESSource","ecalConditions") #############################################################################################