 |
DAS
3.0
Das Analysis System
|
#include <cstdlib>
#include <algorithm>
#include <filesystem>
#include <iostream>
#include <map>
#include <ranges>
#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/JEC/interface/JMEmatching.h"
#include "Core/JEC/interface/MakeResponseHistos.h"
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/info_parser.hpp>
#include <TEfficiency.h>
#include <TH2.h>
#include <TH3.h>
#include <TRandom3.h>
#include <TString.h>
#include <darwin.h>
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
259 "Determine the trigger efficiency using the emulation method.\n"
260 "The method is available for all HLT jet triggers, except for the first one (HLT40).\n"
261 "Different selection criteria are implemented, e.g. using the leading jet only or the\n"
265 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
266 .output(
"output", &output,
"output ROOT file")
267 .arg<fs::path>(
"luminosities",
"corrections.normalisation.luminosities" ,
"2-column text file with luminosity per trigger");
270 const auto& slice =
options.slice();
271 const int steering =
options.steering();
275 catch (boost::exception& e) {
options
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:41
void Diagnostic(const boost::exception &e)
Definition: exceptions.h:131
void getTriggerEfficiencyEmulation(const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: getTriggerEfficiencyEmulation.cc:127
config
Definition: Ntupliser_cfg.py:330
def inputs
Definition: jercExample.py:118
Darwin::Tools::Options Options(const char *, int=Darwin::Tools::none)
Constructs Darwin options with the correct commit information.
Definition: DASOptions.cc:14