|
DAS
3.0
Das Analysis System
|
#include <cstdlib>
#include <cassert>
#include <iostream>
#include <filesystem>
#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 , class Dimuon > |
bool | keepEvent (const vector< Jet > &jets, const Dimuon &dimuon, float zpt, float jpt) |
|
void | applyZJetSkim (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[] |
|
) |
| |
137 "Selects events with at least a Z and a jet passing pT cuts "
138 "and creates dijet objects directly in the tree.",
140 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
141 .output(
"output", &output,
"output ROOT file")
142 .arg<
float>(
"zpt",
"skims.ZJet.zpt",
"Minimum pT of the first jet")
143 .arg<float>(
"jpt",
"skims.ZJet.jpt",
"Minimum pT of the second jet");
145 const auto& slice =
options.slice();
146 const int steering =
options.steering();
150 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:116
void applyZJetSkim(const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: applyZJetSkim.cc:46
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