|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "TTreeFormula.h"
38 using namespace TopAnalysis;
51 int TestFTag(
const std::shared_ptr<top::TopConfig>&);
55 ATH_MSG_INFO(
"Code to read an input file and return information on the"
56 <<
"anticipated systematics list in the b-tagging calibration"
58 <<
" " <<
argv[0] <<
" cuts.txt input.txt\n"
59 <<
" cuts.txt - file containing TopConfig\n"
60 <<
" input.txt - file containing list of input files\n"
64 " $ROOTCOREBIN/data/TopAnalysis/nocuts.txt $ROOTCOREBIN/data/TopAnalysis/input-13TeV-fondueworld.txt\n");
74 StatusCode::enableFailure();
78 std::string settingsFilename = std::string(
argv[1]);
80 << settingsFilename <<
"\n"
81 << std::string(
argv[2]) <<
"\n");
85 settings->loadFromFile(settingsFilename);
88 const std::string libraryNames = settings->value(
"LibraryNames");
92 std::string cutsFilename = std::string(settingsFilename);
106 top::check(topTools.setProperty(
"config", topConfig),
107 "Failed to setProperty of topTools");
115 int TestFTag(
const std::shared_ptr<top::TopConfig>& topConfig) {
122 top::check(m_btagSF->setProperty(
"config", topConfig),
"Failed to pass in the config");
void loadLibraries(const std::string &libraryNames)
So that we can load external libraries with (1) extra event selection tools in, (2) user defined obje...
void setConfigSettings(top::ConfigurationSettings *const &settings)
static void enableDataSubmission(::Bool_t value)
Function for turning data submission on/off.
@ kClassAccess
Access auxiliary data using the aux containers.
std::vector< std::string > fileList(const std::string &filename)
Given a filename for a text file, parse it and extract a list of root files.
static ConfigurationSettings * get(bool reset=false)
Design patterns 101.
void xAODInit(bool failOnUnchecked)
A little wrapper for the xAOD tools.
void check(bool thingToCheck, const std::string &usefulFailureMessage)
Print an error message and terminate if thingToCheck is false.
A relatively simple transient store for objects created in analysis.
void setMapIndex(unsigned int value)
Tool for accessing xAOD files outside of Athena.