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
[HepQuery](https://github.com/taehyounpark/queryosity-hep) provides the extensions for ROOT TTree datasets and ROOT `TH1`-based outputs.
213
213
214
214
@subsection example-hep-hww ROOT TTree
215
215
216
216
- Simulated ggF HWW* events: [ATLAS open data](https://opendata.cern.ch/record/3825).
217
217
218
218
1. Apply the MC event weight.
219
219
2. Select entries for which there are exactly two opposite-sign leptons in the event.
220
-
3. Separate into different/same-flavour channel for electrons and muons.
221
-
-@f$m_{\ell\ell} > 12(10)\,\mathrm{GeV}@f$ for same(different)-flavour.
222
-
5. Merge channels to form flavour-inclusive opposite-sign region.
220
+
3. Separate into different/same-flavour channels for electrons and muons.
221
+
4. Require @f$m_{\ell\ell} > 10(12)\,\mathrm{GeV}@f$ for different(same)-flavour channel.
222
+
5. Merge channels to form flavour-inclusive opposite-sign region post-@f$m_{\ell\ell}@f$ cut.
223
223
6. In each region, plot the distribution of @f$p_{\mathrm{T}}^H = \left| \mathbf{p}_{\mathrm{T}}^{\ell\ell} + \mathbf{p}_{\mathrm{T}}^{\mathrm{miss}} \right|@f$.
224
-
- Scale lepton energy scale by @f$\pm 2\,\%@f$ as systematic variations.
224
+
- Scale electron(muon) energy scale by @f$\pm 1(2)\,\%@f$ as systematic variations.
225
225
226
226
@cpp
227
227
#include "HepQuery/Hist.h"
@@ -257,15 +257,15 @@ using P4 = ROOT::Math::PtEtaPhiEVector;
257
257
#include <sstream>
258
258
259
259
// compute the nth-leading four-momentum out of (pt, eta, phi, m) arrays
260
-
class NthP4 : public column::definition<P4(VecD, VecD, VecD, VecD)> {
260
+
class NthP4 : public column::definition<P4(VecF, VecF, VecF, VecF)> {
261
261
262
262
public:
263
263
NthP4(unsigned int index) : m_index(index) {}
264
264
virtual ~NthP4() = default;
265
265
266
-
virtual P4 evaluate(column::observable<VecD> pt, column::observable<VecD> eta,
267
-
column::observable<VecD> phi,
268
-
column::observable<VecD> es) const override {
266
+
virtual P4 evaluate(column::observable<VecF> pt, column::observable<VecF> eta,
A column can also be computed through a custom definition (see @ref example-stirling for an example), which enables full control over
108
+
A column can also be computed through a @ref example-stirling, which enables full control over its
109
109
110
110
- Customization: user-defined constructor arguments and member variables/functions.
111
-
- Optimization: the computation of each input column is deferred until value is invoked.
111
+
- Optimization: the computation of each input column is deferred until its value is invoked.
112
112
113
113
@see
114
114
- queryosity::column::definition (API)
@@ -200,7 +200,7 @@ auto h2xy_c = q_2xy_c.result(); // instantaneous
200
200
201
201
@section guide-vary Systematic variations
202
202
203
-
Specifying systematic variations on a column is as simple as it can be: provide the nominal argument and a mapping of variation name to alternate arguments to queryosity::dataflow::vary() in lieu of the usual queryosity::dataflow::define().
203
+
To specifying systematic variations on a column, provide the nominal argument and a mapping of variation name to alternate arguments to queryosity::dataflow::vary() instead of the usual queryosity::dataflow::define().
204
204
205
205
@cpp
206
206
// dataset columns must be varied from the loaded dataset
0 commit comments