No description, website, or topics provided.
Python
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
COPYING
Cert_136033-149442_7TeV_Apr21ReReco_Collisions10_JSON_v2.txt
Electron2010data_500files_1.txt
Electron2010data_500files_2.txt
Electron2010data_500files_3.txt
Electron2010data_500files_4.txt
Electron2010data_500files_5.txt
Electron2010data_500files_6.txt
Mu2010data_500files_1.txt
Mu2010data_500files_2.txt
Mu2010data_500files_3.txt
Mu2010data_500files_4.txt
Mu2010data_500files_5.txt
Mu2010data_500files_6.txt
PAT_data_repo.py
README.md

README.md

Pattuples production from 2010 data

The exercise produces tuples created following the Physics Analysis Toolkit (pattuples) from the 2010 AOD data.

You need to work in a VM properly contextualized for CMS.

In order to run the PAT_data_repo.py to generate the pattuples you need to create a working area and source a proper CMS environment.

Creating the Working Area

This step is only needed the first time.

cmsrel CMSSW_4_2_8
cd CMSSW_4_2_8/src

Sourcing the environment

This step is needed each time you want to run the exercise.

source /cvmfs/cms.cern.ch/cmsset_default.sh
cd CMSSW_4_2_8/src
cmsenv

Producing the pattuples

Clone the repo:

git clone https://github.com/ayrodrig/pattuples2010.git 
cd pattuples2010

Run:

cmsRun PAT_data_repo.py 

In this case the pattuples production was splitted in 6 executions per dataset (Mu and Electron); each runs over aprox. 500 files. An example of the partition is found in the Mu2010data* and Electron2010data* files.