def skimmedPeriodD(skim='', run=None) : assert skim in skims,"periodD: this skim is not available :%s"%skim periodD = SampleHolder() if run : assert run in lumiPerRun,"periodD: invalid run %d for this period"%run runs = [run] if run else lumiPerRun.keys() fileListCmd = '+'.join(['%s%s")'%(eos(),"%s/SUSYD3PD.%d.skim.%s"%(eosBaseDir,run,skim)) for run in runs]) periodD.add("periodD.%s"%skim, fileListCmd, lumi = sum([lumiPerRun[run] for run in runs])) return periodD
def minbiasPeriodD() : eosBaseDir='/eos/atlas/user/g/gerbaudo/trigger/skim' skims = ['subraman.207447_490.skim.EFRDO','subraman.208123_208179.skim.EFRDO','subraman.208184_208189.skim.EFRDO'] lumiPerRun = {207447:172.1,207490:117.2 # D1 ,208123:70.3,208126:26.4 # D3 ,208179:7.5,208184:105.2,208189:45.2 # D4 } rd0 = SampleHolder() lumi = sum(lumiPerRun.values()) fileListCmd = '+'.join(['%s%s")'%(eos(),"%s/%s"%(eosBaseDir,skim)) for skim in skims]) rd0.add("periodDrd0", fileListCmd, lumi = lumi) return rd0
def skimmedPeriodB(skim='') : assert skim in skims,"periodB: this skim is not available :%s"%skim periodB = SampleHolder() fileListCmd = '+'.join(['%s%s")'%(eos(),"%s/SUSYD3PD.%d.skim.%s"%(eosBaseDir,run,skim)) for run in lumiPerRun.keys()]) periodB.add("periodB.%s"%skim, fileListCmd, lumi = sum(lumiPerRun.values())) return periodB