DAS  3.0
Das Analysis System
Parameters.cc File Reference
#include "Parameters.h"
#include <iostream>
#include <boost/property_tree/json_parser.hpp>
+ Include dependency graph for Parameters.cc:

Macros

#define gP   cfg.getParameter
 
#define iCc   iC.consumes
 

Functions

bool find_by_value (const pt::ptree &options, const string &value)
 

Macro Definition Documentation

◆ gP

#define gP   cfg.getParameter

◆ iCc

#define iCc   iC.consumes

Function Documentation

◆ find_by_value()

bool find_by_value ( const pt::ptree &  options,
const string &  value 
)
37 {
38  for (const auto& o: options)
39  if (o.second.get_value<string>() == value)
40  return true;
41  return false;
42 }
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