Skip to content

Commit 36ae273

Browse files
authored
Merge pull request #5 from Lukas9318/master
DemoAnalzyer.cc -> DimuonAnalyzer.cc
2 parents cfbb5de + b217604 commit 36ae273

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
33
Validation code for 2010 Commissioning dataset, based on dimuon mass spectrum.
44
You need to work in a Virtual Machine properly contextualized for CMS.
5+
Everything is available on the CERN Open Data Portal http://opendata.cern.ch/VM/CMS/2010.
6+
57

68
In order to run the demoanalyzer_cfg.py to create the Commissioning ROOT files,
79
you need to create a working area and set up a proper CMS environment.
@@ -11,38 +13,40 @@ you need to create a working area and set up a proper CMS environment.
1113
This step is only needed the first time.
1214
```
1315
cmsrel CMSSW_4_2_8
14-
cd CMSSW_4_2_8/src
15-
1616
```
17-
1817
## Cloning the 2010-commissioning-dimuon repository from Github
18+
Type this command to change directory:
19+
```
20+
cd CMSSW_4_2_8/src
21+
```
22+
For cloning type:
1923
```
2024
git clone https://github.com/cms-opendata-validation/2010-commissioning-dimuon Validation/Commissioning_dimuon_2010
21-
2225
```
2326

2427
## Setting up the CMS environment
2528
```
2629
cd Validation/Commissioning_dimuon_2010
2730
cmsenv
28-
2931
```
3032

3133
## Compiling and Running
3234
```
3335
scram b
3436
cmsRun demoanalyzer_cfg.py
35-
3637
```
3738

3839
After analysis, Commissioning00val.root file should be created.
3940
Then, is necessary to change input and also output files in demoanalyzer_cfg.py, to save these changes and to rerun program.
40-
In the repository from github are index files with names:
41+
In the datesets directory in the repository from github are index files with names:
42+
4143
CMS_Run2010B_Commissioning_AOD_Apr21ReReco-v1_0000_file_index.txt
4244
CMS_Run2010B_Commissioning_AOD_Apr21ReReco-v1_0002_file_index.txt
4345
CMS_Run2010B_Commissioning_AOD_Apr21ReReco-v1_0003_file_index.txt
4446
CMS_Run2010B_Commissioning_AOD_Apr21ReReco-v1_0004_file_index.txt
4547

48+
These index files are the same as you can find in the open data portal record http://opendata.cern.ch/record/2 , they are copied here for convenience and for details of the analysis you can read comments in the analysis code DemoAnalyzer.cc .
49+
It necessary to note that whole analysis can take around 8 hours!
4650

4751
When you rerun for all four index files you should have four root files with names:
4852
Commissioning00val.root
@@ -60,9 +64,9 @@ In this programe just type command:
6064
```
6165
.x mergeCommissioning.C .
6266
```
63-
This merging create a root file called CommissioningAllval.root .
67+
This merging creates a root file called CommissioningAllval.root .
6468
To look at this output, write down command in ROOT program:
6569
```
6670
new TBrowser
6771
```
68-
and navigate to relevant file.
72+
and navigate to relevant file. The most interesting histogram is GM_mass_log. This is the validation histogram.
File renamed without changes.

0 commit comments

Comments
 (0)