Skip to content
Snippets Groups Projects
Commit c0c6cab4 authored by Dag Gillberg's avatar Dag Gillberg
Browse files

Added new options to the executable

parent 389262b6
No related branches found
No related tags found
9 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45419WIP: GNNC tool,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles
......@@ -23,9 +23,13 @@ int main( int argc, char* argv[] ) {
std::vector<TString> files;
bool forceNNLOPS=false;
bool forceVBF=false;
bool forceVH=false;
for (int i=1;i<argc;++i) {
TString arg(argv[i]);
if (arg=="--forceNNLOPS") forceNNLOPS=true;
if (arg=="--forceNNLOPS") forceNNLOPS=true;
else if (arg=="--forceVBF" ) forceVBF=true;
else if (arg=="--forceVH" ) forceVH=true;
else if (arg.Contains(".root")) files.push_back(arg);
else std::runtime_error(TString("Cannot intepret argument: "+arg).Data());
}
......@@ -44,6 +48,8 @@ int main( int argc, char* argv[] ) {
xAOD::HiggsWeightTool *higgsMCtool = new xAOD::HiggsWeightTool( "HiggsWeightTool" );
higgsMCtool->setProperty( "OutputLevel", MSG::DEBUG ).ignore();
if (forceNNLOPS) higgsMCtool->setProperty("ForceNNLOPS",true);
if (forceVBF) higgsMCtool->setProperty("ForceVBF",true);
if (forceVH) higgsMCtool->setProperty("ForceVH",true);
higgsMCtool->initialize().ignore();
// Open the input file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment