Difference: DanielHaydenDataSamples (11 vs. 12)

Revision 1226 Feb 2010 - DanielHayden

Line: 1 to 1
 
META TOPICPARENT name="DanielHayden"

------------------------------------------------ My Data Samples ------------------------------------------------

Line: 134 to 134
  Now all that's left to do is send all of this information, along with the joboptions file(s), and a link to the Twiki page along to your MC Production representative, and everything should be taken out of your hands from there!
Added:
>
>

Automated Process

First of all I want to thank Peter Waller for his coding expertise which enabled me to realise this Process. I was faced with having to do all of the above, for 15 samples, and I thought there must be a simpler way of doing things, which led me to come up with this idea.

First of all you have to have set up most of the above steps, i.e. you need to:

  • Install your work area to make test samples (15.6.1).
  • Install an area to run over your test sample and make validation plots, i.e. Pt, Eta, and InvMass Histograms.
  • Copy this Macro to the run directory of the above.
  • Follow the steps below.

Now you will need to make a folder (I put it on my Desktop) and inside the folder do two things; Make a folder for every sample (Named Accordingly), and download the files below into the main folder.

run_one_job.sh
run_all.sh
parse_evgen_log.py
joblist.txt

You will have to change the paths in these files (namely joblist.txt and run_one_job.sh) to match and make sense for your own setup, but the files are self explanatory and I have added comments where necessary to make it a fairly trivial process.

Note the final step is to put a JobOptions File into each respective folder, and then simply open a terminal, navigate to the folder and run with ./run_all.sh.

The result should be that each sample folder is filled with the needed validation plots, and cross-section text file, thus simplifying and automating the whole process to the nth degree!

 

--------------------------------------------------------- Links ---------------------------------------------------------

Line: 151 to 178
  -->
Added:
>
>
META FILEATTACHMENT attachment="run_all.sh" attr="h" comment="" date="1267188942" name="run_all.sh" path="run_all.sh" size="51" stream="run_all.sh" user="Public.DanielHayden" version="1"
META FILEATTACHMENT attachment="run_one_job.sh" attr="h" comment="" date="1267189001" name="run_one_job.sh" path="run_one_job.sh" size="1922" stream="run_one_job.sh" user="Public.DanielHayden" version="1"
META FILEATTACHMENT attachment="parse_evgen_log.py.txt" attr="h" comment="" date="1267189014" name="parse_evgen_log.py.txt" path="parse_evgen_log.py" size="709" stream="parse_evgen_log.py" user="Public.DanielHayden" version="1"
META FILEATTACHMENT attachment="job_list.txt" attr="h" comment="" date="1267189030" name="job_list.txt" path="job_list.txt" size="2217" stream="job_list.txt" user="Public.DanielHayden" version="1"
META FILEATTACHMENT attachment="ValidationPlots.C" attr="h" comment="" date="1267189084" name="ValidationPlots.C" path="ValidationPlots.C" size="589" stream="ValidationPlots.C" user="Public.DanielHayden" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback