DAS  3.0
Das Analysis System
getPtBalance.cc File Reference
#include <cassert>
#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <functional>
#include <type_traits>
#include <vector>
#include <TFile.h>
#include <TRandom.h>
#include <TH3.h>
#include <TString.h>
#include <TDirectory.h>
#include "Core/Objects/interface/Event.h"
#include "Core/Objects/interface/Format.h"
#include "Core/Objects/interface/Jet.h"
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/CommonTools/interface/toolbox.h"
#include "Math/VectorUtil.h"
#include <darwin.h>
+ Include dependency graph for getPtBalance.cc:

Namespaces

 DAS
 
 DAS::JetEnergy
 

Functions

vector< double > GetBinning (TAxis *axis)
 
int main (int argc, char *argv[])
 

Variables

static const auto deps = numeric_limits<double>::epsilon()
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
246 {
247  try {
249 
250  fs::path input, output;
251 
252  auto options = DAS::Options("Get pt average balance in bins of pt and eta.");
253  options.input ("input" , &input , "input ROOT file (from `get*Balance`)")
254  .output("output", &output, "output ROOT file");
255 
256  const auto& config = options(argc, argv);
257  const int steering = options.steering();
258 
259  DAS::JetEnergy::getPtBalance(input, output, config, steering);
260  }
261  catch (boost::exception& e) {
262  DE::Diagnostic(e);
263  return EXIT_FAILURE;
264  }
265  return EXIT_SUCCESS;
266 }
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:131
Darwin::Tools::StandardInit
void StandardInit()
Definition: FileUtils.cc:29
Ntupliser_cfg.config
config
Definition: Ntupliser_cfg.py:264
DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.input
input
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:35
DAS::Options
Darwin::Tools::Options Options(const char *, int=Darwin::Tools::none)
Constructs Darwin options with the correct commit information.
Definition: DASOptions.cc:14