DAS  3.0
Das Analysis System
getBTagPerformance.cc File Reference
#include <cstdlib>
#include <cassert>
#include <iostream>
#include <vector>
#include <filesystem>
#include <map>
#include <TString.h>
#include <TFile.h>
#include <TH3.h>
#include "Math/VectorUtil.h"
#include "Core/CommonTools/interface/DASOptions.h"
#include <darwin.h>
+ Include dependency graph for getBTagPerformance.cc:

Namespaces

 DAS
 
 DAS::BTagging
 

Functions

void getBTagPerformance (const vector< fs::path > &inputs, const fs::path &output, const int steering)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
82 {
83  try {
85 
86  vector<fs::path> inputs;
87  fs::path output;
88 
89  auto options = DAS::Options(
90  "Extract efficiency and mistag rates of b-tagged jets "
91  "from output of `getBTagBinnedDiscriminant`.");
92  options.inputs("inputs", &inputs, "input ROOT files")
93  .output("output", &output, "output ROOT file")
94  (argc, argv);
95  const int steering = options.steering();
96 
97  DAS::BTagging::getBTagPerformance(inputs, output, steering);
98  }
99  catch (boost::exception& e) {
100  DE::Diagnostic(e);
101  return EXIT_FAILURE;
102  }
103 
104  return EXIT_SUCCESS;
105 }
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
DAS::BTagging::getBTagPerformance
void getBTagPerformance(const vector< fs::path > &inputs, const fs::path &output, const int steering)
Definition: getBTagPerformance.cc:32
Darwin::Tools::StandardInit
void StandardInit()
Definition: FileUtils.cc:29
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