--++ Important command to merger from castor area only using hadd if in the castor area you have rootfiles which has trees.

rfdir /castor/cern.ch/user/g/gomber/Tag_Probe/35pb-1/Sept17-2010A/ | gawk 'BEGIN {ORS=" "; print "hadd /tmp/gomber/Data.root";}{print "/castor/cern.ch/user/g/gomber/Tag_Probe/35pb-1/Sept17-2010A/"$9}' > add_Data

--++ Imp command to put files from astor in another file..

rfdir /castor/cern.ch/user/k/khurana/HIGGS/Fall10/Analysis1/GluGluToHToZZTo4L_M-120_7TeV | gawk '{print "/castor/cern.ch/user/k/khurana/HIGGS/Fall10/Analysis1/GluGluToHToZZTo4L_M-120_7TeV/"$9}'

--++ An Error Occured like Module named MyAnalyzer not found,

the solution is you have to give the input root file with the path even though it is in the same directory..

This topic: Main > TWikiUsers > BhawnaGomber > Codes
Topic revision: r5 - 2011-02-23 - BhawnaGomber
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback