How to run the miniTreeMaker ?

For MC

1, Download the lastest miniTreeMaker : (cvs co  UserCode/hbrun/singlePhotonAnalysis/miniTreeMaker)

2, Untar tools_MC.tar.gz : (tar -zxvf tools_MC.tar.gz)

3, Copy list_* from cvs : UserCode/hbrun/srmInfo . Do (csh prepareDir.csh) to prepare run directory

4, Create a file "list", to put all the MC names you want to run in it . In fact ,they are the " * " in the " list_* "

5, Use (python prepareRunScriptsMC.py); to prepare the run scripts for each directory

6, Use (source compile_dir.csh) to compile all the directories

7, Make a directory "OutputMiniTree" for the output files of the miniTreeMaker. you should also make a directory for each MC sample in the directory "OutputMiniTree" .

8, Use (python prepareJobs.py) to create job scripts.

9 Use ( csh submit_job.csh) to submit jobs ! Done!!

For DATA

1, Copy and paste the trigger path in webpage : ( http://j2eeps.cern.ch/cms-project-confdb-hltdev/browser/ ) , using the python script (preTriggerPathNew.py) to read only the first part of what you pasted and strore them in new files.

2, Using the python script (preTriggerMenu.py) to create a array for each trigger menu.

3, Copy all the list_* in the directory which you want to run the MiniTreeMaker, using the python script (prepareDir.csh) to create the directory for ecah part.

4, Using the python script (prepareHeader.py) to create *.h for each part .

5, Using python script (prepareRunScripts.py) to create the run scripts for each part.

6, Using (compile_dir.csh) to compile the run script.

7, Using python script (prepareJobs.py) to create scripts for submitting jobs in each direcory.

8, Run the script (submit_job.csh) to submit all the jobs.

9, Waiting:) Done!!

Where to find the miniTree for the Fall11 42MC and all the 2011 ReReco DATA?

SingleMiniTree for DATA

/sps/cms/jfan/CMSSW_4_2_3/src/Morgan/IpnTreeProducer/miniTreeMakerLast/MiniTreeDATA/OutputMiniTree

SingleMiniTree for MC

/sps/cms/jfan/CMSSW_4_2_3/src/Morgan/IpnTreeProducer/miniTreeMakerLast/OutputMiniTree

DoubleMiniTree for DATA

/sps/cms/jfan/CMSSW_4_2_3/src/Morgan/IpnTreeProducer/DiphominiTreeMakerLast/DoubleMiniTreeDATA/Output

DoubleMiniTree for MC

/sps/cms/jfan/CMSSW_4_2_3/src/Morgan/IpnTreeProducer/DiphominiTreeMakerLast/Output

-- HuguesBrun - 23-Nov-2011

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2011-12-22 - FanJiawei
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback