 |
DAS
3.0
Das Analysis System
|
#include <cstdlib>
#include <cassert>
#include <filesystem>
#include <iostream>
#include <vector>
#include "Core/Objects/interface/Event.h"
#include "Core/Objects/interface/Di.h"
#include "Core/Objects/interface/Jet.h"
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/JetObservables/bin/common.h"
#include <TFile.h>
#include <TH1.h>
#include <TString.h>
#include "Math/VectorUtil.h"
#include <darwin.h>
|
void | applyNjetSkim (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[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
95 "Filter events based on the given jet multiplicity and minimum pT selection."
96 "The pT cut is only applied to the first N jets, while additional jets below"
97 "this pT cut can still be present in the jet collection."
98 "A rapidity phase space selection is used.",
100 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
101 .output(
"output", &output,
"output ROOT file")
102 .arg<
int>(
"Njets",
"skims.jets.N",
"jet multiplicity")
103 .arg<float>(
"minpt",
"skims.jets.minpt",
"Minimum pT of the last jet");
105 const auto& slice =
options.slice();
106 const int steering =
options.steering();
110 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
config
Definition: Ntupliser_cfg.py:317
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
void applyNjetSkim(const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: applyNjetSkim.cc:37