|
DAS
3.0
Das Analysis System
|
#include <cstdlib>
#include <cassert>
#include <filesystem>
#include <iostream>
#include <vector>
#include "Core/Objects/interface/Di.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 <TFile.h>
#include <TH1.h>
#include <TString.h>
#include "Math/VectorUtil.h"
#include <darwin.h>
|
template<class Jet > |
bool | keepEvent (const vector< Jet > &jets, float pt1, float pt2) |
|
void | applyDijetSkim (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[] |
|
) |
| |
125 "Selects events with at least two jets passing pT cuts "
126 "and creates dijet objects directly in the tree.",
128 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
129 .output(
"output", &output,
"output ROOT file")
130 .arg<
float>(
"pt1",
"skims.dijet.pt1",
"Minimum pT of the first jet")
131 .arg<float>(
"pt2",
"skims.dijet.pt2",
"Minimum pT of the second jet");
133 const auto& slice =
options.slice();
134 const int steering =
options.steering();
138 catch (boost::exception& e) {
void applyDijetSkim(const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: applyDijetSkim.cc:44
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:116
config
Definition: Ntupliser_cfg.py:260
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