You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+74-56Lines changed: 74 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,92 +55,110 @@ With `cms-opendata-2011-jets/AnalysisFW/python/` as the current folder, run the
55
55
## Run the program:
56
56
To create tuples from data run the following command:
57
57
58
+
```
58
59
cmsRun OpenDataTreeProducer_dataPAT_2011_cfg.py
60
+
```
59
61
60
62
This command creates tuples from Monte Carlo simulations:
61
63
64
+
```
62
65
cmsRun OpenDataTreeProducer_mcPAT_2011_cfg.py
66
+
```
63
67
64
68
After running the code, you can browse the tuples by opening the produced files in ROOT:
65
69
70
+
```
66
71
root OpenDataTree_*
72
+
```
67
73
68
74
Finally, run this command in the ROOT command prompt:
69
75
76
+
```
70
77
TBrowser t
78
+
```
71
79
72
80
73
81
74
82
## Tuple variables
75
83
76
84
* Properties of the event:
77
85
78
-
UInt_t run; // Run number
79
-
UInt_t lumi; // Luminosity section
80
-
ULong64_t event; // Event number
81
-
UInt_t ntrg; // Number of triggers
82
-
Bool_t triggers[ntrg]; // Trigger bits
86
+
```cpp
87
+
int run; // Run number
88
+
float lumi; // Luminosity section
89
+
long long event; // Event number
90
+
float ntrg; // Number of triggers
91
+
bool triggers[ntrg]; // Trigger bits
83
92
vector<string> *triggernames; // Trigger names
84
-
UInt_t prescales[ntrg]; // Trigger prescales
85
-
Float_t met; // Missing transverse energy
86
-
Float_t sumet; // Sum of transverse energy
87
-
Float_t rho; // Energy density
93
+
float prescales[ntrg]; // Trigger prescales
94
+
float met; // Missing transverse energy
95
+
float sumet; // Sum of transverse energy
96
+
float rho; // Energy density
97
+
```
88
98
89
99
90
-
* Jets reconstructed using the anti-kT algorithm with a parameter R = 0.5 (short. AK5). Number of jets and corrected four-momentum in cylindrical coordinates.
100
+
* Jets reconstructed using the anti-kT algorithm with a parameter R = 0.5 (short. AK5).
0 commit comments