![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
28 class TopObjectSelection;
38 void xAODInit(
bool failOnUnchecked =
true);
59 std::vector<std::string> &
names, std::vector<float>& sumW);
77 const std::vector<std::string>& pmg_weight_names);
void loadLibraries(const std::string &libraryNames)
So that we can load external libraries with (1) extra event selection tools in, (2) user defined obje...
TopConfig A simple configuration that is NOT a singleton.
std::vector< std::string > loadCuts(const std::string &filename)
Load the file and make a vector of the cuts to pass on to the selection tool.
size_t checkFiles(const std::vector< std::string > &filenames)
Open each file in the vector and get the number of events in it.
top::TopObjectSelection * loadObjectSelection(const std::shared_ptr< top::TopConfig > &config)
Users may want to define (and load!) their own object selection.
bool readMetaData(TFile *inputFile, const std::shared_ptr< top::TopConfig > &config)
This function will be used to load the metadata object and pull information from it.
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.
std::string getDerivationStream(TFile *inputFile)
Function to determine the derivation type using string manipulation.
POOL::TEvent event(POOL::TEvent::kClassAccess)
Configure the object selection used in the analysis.
void xAODInit(bool failOnUnchecked)
A little wrapper for the xAOD tools.
A base class so users can write their own event saving stuff.
void parseCutBookkeepers(xAOD::TEvent &xaodEvent, const std::size_t size, std::vector< std::string > &names, std::vector< float > &sumW)
Search bookkeepers for ones matching AllExecutedEvents, and which originate from AOD before skimming.
Container that holds the Container of all CutBookkeepers.
ULong64_t getRawEventsBookkeeper(const xAOD::CutBookkeeperContainer *cutBookKeepers)
Get raw number of events before skimming from "AllExecutedEvents" bookkeeper.
void renameCutBookkeepers(std::vector< std::string > &bookkeeper_names, const std::vector< std::string > &pmg_weight_names)
Rename CutBookkeeper names according to MC generator weight names reported by PMGTruthWeightTool.
top::EventSaverBase * loadEventSaver(const std::shared_ptr< top::TopConfig > &config)
Users may also want to write out custom ntuples / xAODs.
Tool for accessing xAOD files outside of Athena.