DAS  3.0
Das Analysis System
applyMETfilters.cc File Reference
#include <cstdlib>
#include <iostream>
#include "Core/CommonTools/interface/binnings.h"
#include "Core/CommonTools/interface/ControlPlots.h"
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/CommonTools/interface/toolbox.h"
#include <TChain.h>
#include <TDirectory.h>
#include <TH2.h>
#include <TProfile.h>
#include "Math/VectorUtil.h"
#include "Core/MET/interface/Filters.h"
#include <darwin.h>
+ Include dependency graph for applyMETfilters.cc:

Classes

struct  FractionCut
 

Namespaces

 DAS
 
 DAS::MissingET
 

Functions

void applyMETfilters (const vector< fs::path > &inputs, const fs::path &output, const int steering, const DT::Slice slice={1, 0})
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
178 {
179  try {
181 
182  vector<fs::path> inputs;
183  fs::path output;
184 
185  auto options = DAS::Options(
186  "Applies the MET filters by removing the rec-level jets.",
188 
189  options.inputs("inputs", &inputs, "input ROOT file(s) or directory")
190  .output("output", &output, "output ROOT file" );
191 
192  options(argc,argv);
193  const auto& slice = options.slice();
194  const int steering = options.steering();
195 
196  DAS::MissingET::applyMETfilters(inputs, output, steering, slice);
197  }
198  catch (boost::exception& e) {
199  DE::Diagnostic(e);
200  return EXIT_FAILURE;
201  }
202 
203  return EXIT_SUCCESS;
204 }
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
Darwin::Tools::Friend
@ Friend
activate -F to only fill the new branches
Definition: Options.h:28
Darwin::Tools::split
@ split
activate -k and -j to define slice
Definition: Options.h:26
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
DAS::MissingET::applyMETfilters
void applyMETfilters(const vector< fs::path > &inputs, const fs::path &output, const int steering, const DT::Slice slice={1, 0})
Definition: applyMETfilters.cc:85