|
DAS
3.0
Das Analysis System
|
|
void | applyPhotonID (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[] |
|
) |
| |
150 "Selects photons passing the ID criteria. Also "
151 "requires them not to fall in the EE-EB "
152 "transition region.",
154 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
155 .output(
"output", &output,
"output ROOT file")
156 .arg<
string>(
"WP",
"corrections.photons.ID.WP",
157 "The photon ID to use (Loose/Medium/Tight/MVA80/MVA90)")
158 .arg<fs::path>(
"table",
"corrections.photons.ID.table",
159 "The file from which ID scale factors are taken "
160 "(or /dev/null for no correction)");
163 const auto& slice =
options.slice();
164 const int steering =
options.steering();
168 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:264
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 applyPhotonID(const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: applyPhotonID.cc:96