DAS  3.0
Das Analysis System
getMNobservables.cc File Reference
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <filesystem>
#include <vector>
#include "Core/Objects/interface/Event.h"
#include "Core/Objects/interface/Jet.h"
#include "Core/CommonTools/interface/binnings.h"
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/CommonTools/interface/toolbox.h"
#include "Core/JetObservables/interface/MuellerNavelet.h"
#include <TFile.h>
#include <TH2.h>
#include <TProfile.h>
#include <TString.h>
#include "Math/VectorUtil.h"
#include <darwin.h>
+ Include dependency graph for getMNobservables.cc:

Classes

struct  Hist
 

Namespaces

 DAS
 
 DAS::MN
 

Functions

void getMNobservables (const vector< fs::path > inputs, const fs::path output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
 
int main (int argc, char *argv[])
 

Variables

static const vector< double > binsY = {0., 0.25, .5, 0.75, 1., 1.25, 1.5, 1.75, 2., 2.25, 2.5, 2.75, 3., 3.25, 3.5, 3.75, 4., 4.25, 4.5, 4.75, 5., 5.25, 5.5, 5.75, 6., 6.25, 6.5, 6.75, 7., 7.25, 7.5, 7.75, 8., 8.25, 8.5, 8.75, 9., 9.25, 9.5}
 
static const vector< double > binsPhi = {0.,.1*M_PI, .2*M_PI, .3*M_PI, .4*M_PI, .5*M_PI, .6*M_PI, .7*M_PI, .8*M_PI, .9*M_PI, M_PI}
 
static const double minY = binsY.front()
 
static const double maxY = binsY.back()
 
static const double maxy = 4.7
 
static const double minpt = 32
 
static const double maxpt = 1.e10
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
273 {
274  try {
276 
277  vector<fs::path> inputs;
278  fs::path output;
279 
280  auto options = DAS::Options(
281  "Project n-tuple on Mueller-Navelet jet observables. "
282  "These observables are designed for low-pileup data.",
283  DT::split);
284  options.inputs("inputs", &inputs, "input ROOT file(s) or directory")
285  .output("output", &output, "output ROOT file");
286 
287  const auto& config = options(argc, argv);
288  const auto& slice = options.slice();
289  const int steering = options.steering();
290 
291  DAS::MN::getMNobservables(inputs, output, config, steering, slice);
292  }
293  catch (boost::exception& e) {
294  DE::Diagnostic(e);
295  return EXIT_FAILURE;
296  }
297 
298  return EXIT_SUCCESS;
299 }
DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.options
options
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:41
Darwin::Exceptions::Diagnostic
void Diagnostic(const boost::exception &e)
Definition: exceptions.h:116
Darwin::Tools::StandardInit
void StandardInit()
Definition: FileUtils.cc:25
Darwin::Tools::split
@ split
activate -k and -j to define slice
Definition: Options.h:27
Ntupliser_cfg.config
config
Definition: Ntupliser_cfg.py:263
jercExample.inputs
def inputs
Definition: jercExample.py:118
DAS::Options
Darwin::Tools::Options Options(const char *, int=Darwin::Tools::none)
Constructs Darwin options with the correct commit information.
Definition: DASOptions.cc:14
DAS::MN::getMNobservables
void getMNobservables(const vector< fs::path > inputs, const fs::path output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Calculate the observables that can be used to caracterise Mueller-Navelet Jets.
Definition: getMNobservables.cc:179