Kalanand's August 2009 Log

   July 2009   
August 2009
SuMoTuWeThFrSa
      1
2345678
9101112131415
16171819202122
23242526272829
3031     
   September 2009   

August 3rd

A useful hadd script

Very handy to quickly hadd the files corresponding to different pt bins.
import os,sys
import string, re
from time import gmtime, localtime, strftime


channels  = ["0_15","15_20","20_30","30_50",
             "50_80","80_120","120_170",
             "170_230","230_300","300_Inf"]



for i in range(len(channels)):
    submitcommand3 = "hadd Spring10_7TeV_Spring10-7TeV-ZeeJets-Pt_" + channels[i] + ".root" + " " + "Spring10_7TeV_Spring10-7TeV-ZeeJets-Pt_" + channels[i] + "_*.root"
    child   = os.system(submitcommand3)
    submitcommand4 = "rm Spring10_7TeV_Spring10-7TeV-ZeeJets-Pt_" + channels[i] + "_*.root"
    child2   = os.system(submitcommand4)

August 31st

Script to read an input text file and save plots to web

Jim Hirschauer has a nice script for this.

Go to July's log


Last modified: Mon Aug 31 14:03:21 CST 2009