@@ -103,8 +103,8 @@ histogram(regular(20, 0, 200, options=underflow | overflow))
103
103
- Scale lepton energy scale by @f$\pm 2\,\%@f$ as systematic variations.
104
104
105
105
@cpp
106
- #include "qhep /Hist.h"
107
- #include "qhep /Tree.h"
106
+ #include "HepQuery /Hist.h"
107
+ #include "HepQuery /Tree.h"
108
108
109
109
#include "queryosity.h"
110
110
@@ -162,7 +162,7 @@ int main() {
162
162
163
163
std::vector< std::string > tree_files{"hww.root"};
164
164
std::string tree_name = "mini";
165
- auto ds = df.load(dataset::input<Tree >(tree_files, tree_name));
165
+ auto ds = df.load(dataset::input< HepQ:: Tree> (tree_files, tree_name));
166
166
167
167
// weights
168
168
auto mc_weight = ds.read(dataset::column<float >("mcWeight"));
@@ -275,7 +275,7 @@ int main() {
275
275
// ---------------------------------------------------------------------------
276
276
277
277
auto [ pth_2los_sr, pth_2ldf_sr, pth_2lsf_sr] =
278
- df.make(query::plan<Hist<1, float>>("pth", 30, 0, 150))
278
+ df.make(query::plan<HepQ:: Hist<1, float>>("pth", 30, 0, 150))
279
279
.fill(higgs_pt)
280
280
.book(cut_2los_sr, cut_2ldf_sr, cut_2lsf_sr);
281
281
@@ -324,8 +324,8 @@ int main() {
324
324
3 . Compute & plot their di-invariant mass, @f $ m_ {ee} @f $.
325
325
326
326
@cpp
327
- #include "qhep /Event.h"
328
- #include "qhep /Hist.h"
327
+ #include "HepQuery /Event.h"
328
+ #include "HepQuery /Hist.h"
329
329
330
330
#include <xAODEventInfo/EventInfo.h>
331
331
#include <xAODEgamma/ElectronContainer.h>
@@ -425,7 +425,7 @@ int main(int argc, char *argv[]) {
425
425
.filter(column::expression(TwoElectrons), selectedElectrons);
426
426
427
427
auto selectedElectronsPtHist =
428
- df.make(query::plan<Hist<1,float>>("diElectronMass", 100, 0, 500))
428
+ df.make(query::plan< HepQ:: Hist<1,float> >("diElectronMass", 100, 0, 500))
429
429
.fill(diElectronsMassGeV)
430
430
.book(atLeastTwoSelectedElectrons);
431
431
@@ -517,7 +517,7 @@ void task(int n) {
517
517
518
518
std::vector< std::string > tree_files{"Run2012B_SingleMu.root"};
519
519
std::string tree_name = "Events";
520
- auto ds = df.load(dataset::input<Tree >(tree_files, tree_name));
520
+ auto ds = df.load(dataset::input< HepQ:: Tree> (tree_files, tree_name));
521
521
522
522
auto n_jet = ds.read(dataset::column<unsigned int >("nJet"));
523
523
auto jets_pt = ds.read(dataset::column<VecF >("Jet_pt"));
@@ -559,7 +559,7 @@ void task(int n) {
559
559
goodjet_mask);
560
560
561
561
auto h_sumpt_goodjet =
562
- df.make(query::plan<Hist<1, float>>("goodjet_sumpt", 185, 15, 200))
562
+ df.make(query::plan<HepQ:: Hist<1, float>>("goodjet_sumpt", 185, 15, 200))
563
563
.fill(goodjet_sumpt)
564
564
.book(cut_goodjet);
565
565
0 commit comments