********************************************************************* *** do setups ********************************************************************* setup D0RunII p14.d0raw2sim.00 (or, whatever version your are testing) setup d0cvs setup mc_runjob ********************************************************************* *** setup directory structure ********************************************************************* create a working directory newrel -t p14.d0raw2sim.00 my_dir cd to it (cd my_dir) d0setwa addpkg recocert p14-br gmake all >& junk.txt & ******************************************************************** **** do "Path1" ******************************************************************** ********************** * get the macro ********************* cp /home/sceno/mccertification/d0raw2sim_data.copyfiles . cp /home/sceno/mccertification/do_reco_data . ********************** * run some zero bias events through reco *********************** mc_jobscript -clued0 -jobname=reco -macro=do_reco_data -copyobjects=d0raw2sim_data.copyfiles cluesow -l cput=61:00:00 -l mem=1000mb reco.sh ******************************************************************** **** do "Path2" ******************************************************************** *********************** *** get the macros *********************** cp /home/sceno/mccertification/make_d0raw2sim_data_2 . cp /home/sceno/mccertification/d0raw2sim_data.copyfiles . cp /home/sceno/mccertification/all_d0raw2sim_overlay . ********************** ** process some zero bias events through d0raw2sim ********************* mc_jobscript -clued0 -jobname=d0raw2sim -macro=make_d0raw2sim_data_2 -copyobjects=d0raw2sim_data.copyfiles cluesow -l cput=11:00:00 -l mem=512mb d0raw2sim.sh wait for this job to finish go to the area containing the output and delete the file whose name starts import... ******************** *** point the all_... macro to the output from this job ******************* in all_d0raw2sim_overlay, change the line cfg d0sim define string MinBiDir /work/... to point to the output of the previous step. it should have a name like /work/cole-clued0/eno/d0raw2sim/haha/d0raw2sim/r2s-dest/raw2sim/ ****************** *** make the signal sample, and overlayed with d0raw2sim output ***************** mc_jobscript -clued0 -jobname=fullchain -macro=all_d0raw2sim_overlay cluesow -l cput=61:00:00 -l mem=1000mb fullchain.sh ******************************************************************** **** Overlay the plots from the 2 paths ******************************************************************** cd recocert/rcp ***************** * process the path1 data ***************** the output from path 1 will have a name like /work/cole-clued0/eno/d0raw2sim/haha/reco/data-dest/d0reco/ d0reco_p14.d0raw2sim.00_NumEv-2000_dzero_clued0_03300154456 make a softlink to this, with the name inputfile ln -s /work/cole-clued0/eno/d0raw2sim/haha/reco/data-dest/d0reco/d0reco_p14.d0raw2sim.00_NumEv-2000_dzero_clued0_03300154456 inputfile ../../bin/$BFARCH/RecoCert_x -rcp runD0ChunkAnalyze_DST.rcp rename the output file mv RecoCert.root path1.root ***************** * process the path2 data ***************** the output from path 2 will have a name like /work/cole-clued0/eno/d0raw2sim/p14d0raw2sim00/fullchain/d0g-dest/d0reco/ d0reco_p14.d0raw2sim.00_NumEv-0_dzero_clued0_03300101546 make a softlink to this, with the name inputfile ln -s inputfile ../../bin/$BFARCH/RecoCert_x -rcp runD0ChunkAnalyze_DST.rcp rename the output file mv RecoCert.root path2.root ********************* * overlay the output ************************ ../../bin/$BFARCH/OverlayPlots path1.root path2.root the result is recocert.ps