This structure holds internal configuration information, based on the overall QuickAna configuration as well as the configuration of the individual tools/objects. More...
#include <InternalConfiguration.h>
Public Member Functions | |
void | fetchConfiguration (const Configuration &conf) |
fetch the configuration options from the global configuration | |
bool | isData () const |
whether we are running on data | |
bool | isAFII () const |
whether we are running on AFII MC | |
bool | doingMET () const |
is MET being configured? | |
const std::vector< std::string > & | muDataFiles () const |
get the list of LumiCalc files | |
MSG::Level | msgLevel () const |
global message level for QuickAna internal tools | |
std::string | electronWP () const |
what electron WP is the key one (for SFs) | |
std::string | electronIsolationWP () const |
void | setElectronWP (std::string WP) |
void | setElectronIsolationWP (std::string WP) |
std::string | muonWP () const |
what muon WP is the key one (for SFs) | |
std::string | muonIsolationWP () const |
void | setMuonWP (std::string WP) |
void | setMuonIsolationWP (std::string WP) |
const std::string & | selectionName (SelectionStep step) const |
the names of the decorations for the different selection stages. | |
const std::string & | inputName (ObjectType type) const |
the input container name for the given object type | |
void | setInputName (ObjectType type, const std::string &val_inputName) |
set the value of inputName |
This structure holds internal configuration information, based on the overall QuickAna configuration as well as the configuration of the individual tools/objects.
std::string ana::InternalConfiguration::electronWP | ( | ) | const |
what electron WP is the key one (for SFs)
void ana::InternalConfiguration::fetchConfiguration | ( | const Configuration & | conf | ) |
fetch the configuration options from the global configuration
const std::string & ana::InternalConfiguration::inputName | ( | ObjectType | type | ) | const |
the input container name for the given object type
this is used for the output tool, as well as to communicate the jet collection used to the MET tool
bool ana::InternalConfiguration::isAFII | ( | ) | const |
whether we are running on AFII MC
bool ana::InternalConfiguration::isData | ( | ) | const |
whether we are running on data
MSG::Level ana::InternalConfiguration::msgLevel | ( | ) | const |
global message level for QuickAna internal tools
std::string ana::InternalConfiguration::muonWP | ( | ) | const |
what muon WP is the key one (for SFs)
const std::string & ana::InternalConfiguration::selectionName | ( | SelectionStep | step | ) | const |
the names of the decorations for the different selection stages.
this is set from the global configuration object.
void ana::InternalConfiguration::setInputName | ( | ObjectType | type, | |
const std::string & | val_inputName | |||
) |
set the value of inputName