19 echo
"Exit code: $code" 29 if [
"$CROMBIEPATH" =
"" ]
31 echo
"Installation not complete!" 32 echo
" Did you run ../install.sh and source your bash profile?" 36 here=$CROMBIEPATH/old/test
38 echo
"Testing package installed at $CROMBIEPATH" 42 if [
"$fast" !=
"fast" ]
54 crombie workspace test
60 if [
"${host:0:6}" =
"lxplus" ]
62 crombie submitlxbatch test
64 echo
"Just kidding, I didn't really submit anything... At least, I shouldn't have ;^)" 69 source CrombiePlotterConfig.sh
71 if [
"${host:0:6}" !=
"lxplus" ]
74 mkdir $CrombieFullDir &> /dev/null
77 if [ ! -d $CrombieFullDir ]
79 echo
"'crombie dumpeosfiles' should have made your out directory, but didn't!" 84 outBase=$CrombieFullDir/$CrombieFileBase
85 for sample
in "Data" "Signal" "MC1" "MC2" "MC3" 87 echo
"Generating pretend $sample." 88 ./runSlimmer.py $sample.root ${outBase}_$sample.root
90 ls ${outBase}_$sample.root
91 $CrombieCheckerScript ${outBase}_$sample.root
95 echo
"Skimming with good runs!" 101 mkdir txtoutput 2> /dev/null
102 echo
"Running crombie diff" 103 crombie diff FullOut/ SkimOut/ | sort | tail -n 5 > txtoutput/diffoutput.txt
108 echo
"Making correction histogram!" 111 echo
"Adding corrections to .root Files!" 117 echo
"Adding cross sections for fun." 120 echo
"Reweighting by something." 123 echo
"Applying reweight corrections." 127 echo
"Making stack plots." 141 echo
"Making cutflow." 145 echo
"Making brazilian plots." 151 echo
"Trying to make docs." 152 pdflatex test.tex &> /dev/null
153 pdflatex test.tex &> /dev/null
155 mkdir figs 2> /dev/null
157 cp $here/plotter/plots/* figs/.
159 echo
"Making backup slides." 163 pdflatex \\nonstopmode\\input presentation.tex &> /dev/null
164 pdflatex \\nonstopmode\\input presentation.tex &> /dev/null
177 if [
"$fast" !=
"fast" ]
179 echo
"-------------------------------------------------------------------" 180 echo
"Making sure that rerunning doesn't overwrite files or recompile ..." 181 echo
"-------------------------------------------------------------------"