Skip to content
pequegnot edited this page Jan 28, 2014 · 2 revisions

Multijet Extractors How-to

Once Mtt Extractor has been setup, following the instructions here, you can start using the tool as indicated below.

src> cd Extractors/MultijetExtractorAnalysis/test

Running on MC

Edit the createAndRunMCCrab.py file and add the datasets that you want to run on and the working directory name :

datasets = [
    ["/myDatasetPath1", "myWorkingDirName1"],
    ["/myDatasetPath2", "myWorkingDirName2"]
]

Check the globalTag in Extractor_MULTIJET_MC.py file.

Create your crab configuration files .cfg following the Extractor_MULTIJET_MC.py python configuration file and submit your jobs by running the next command:

test> ./createAndRunMCCrab.py --run

Running on data

Edit the createAndRunDataCrab.py file and add the datasets that you want to run on, the working directory name and the globalTag:

datasets = [
    ["/myDatasetPath1", "myWorkingDirName1", "myGlobalTag1"],
    ["/myDatasetPath2", "myWorkingDirName2", "myGlobalTag2"]
]

Create your crab configuration files .cfg following the Extractor_MULTIJET_data.py python configuration file and submit your jobs by running the following command:

test> ./createAndRunDataCrab.py --run
Clone this wiki locally