giovedì 25 settembre 2014

ad hoc payloads

from CondCore.DBCommon.CondDBSetup_cfi import *
process.ecalConditions = cms.ESSource("PoolDBESSource", CondDBSetup,
      #connect = cms.string('frontier://FrontierProd/CMS_COND_31X_ECAL'),
      #connect = cms.string('oracle://cms_orcoff_prep/CMS_COND_ECAL'),
      #authpath = cms.string('/afs/cern.ch/cms/DB/conddb'),
      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_mc_shifted_by_one_sample')
                  ),
                  cms.PSet(
                      record = cms.string('EcalWeightXtalGroupsRcd') ,
                      tag = cms.string('EcalTBWeights_3p5_time_mc_shifted_by_one_sample')
                  )
              )
)
process.es_prefer_EcalTBWeights = cms.ESPrefer("PoolDBESSource","ecalConditions")

martedì 23 settembre 2014

create file list

 eos ls /eos/cms/store/group/comm_ecal/localreco/cmssw_720p4_zeromaterial/photongun_nopu | awk '{print "'\''/store/group/comm_ecal/localreco/cmssw_720p4_zeromaterial/photongun_nopu/"$1"'\'',"}' > files.py

editare files.py per scrivere files=

nel _cfg.py

from  files import filenames
fileNames = cms.untracked.vstring(filenames)

venerdì 11 aprile 2014

HLT unpacking tests

in vocms110:/build/argiro/ecalunpack

testing testing

cmsDriver.py data -s RAW2DIGI,L1Reco,RECO,DQM --eventcontent DQM --conditions auto:com10 -n 500 --filein="file:/build/argiro/data/MinBias-Run2011B-RAW.root" --data --scenario pp --process RERECO


cmsDriver.py harvest -s HARVESTING:DQMHarvestEcal --harvesting AtJobEnd --filein="file:data_RAW2DIGI_L1Reco_RECO_DQM.root" --condition=auto:com10 --data