ana::InternalConfiguration Class Reference

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>

List of all members.

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

Detailed Description

This structure holds internal configuration information, based on the overall QuickAna configuration as well as the configuration of the individual tools/objects.


Member Function Documentation

std::string ana::InternalConfiguration::electronWP (  )  const

what electron WP is the key one (for SFs)

Guarantee
no-fail
void ana::InternalConfiguration::fetchConfiguration ( const Configuration conf  ) 

fetch the configuration options from the global configuration

Guarantee
basic
Failures
out of memory II
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

Guarantee
no-fail
bool ana::InternalConfiguration::isAFII (  )  const

whether we are running on AFII MC

Guarantee
no-fail
bool ana::InternalConfiguration::isData (  )  const

whether we are running on data

Guarantee
no-fail
MSG::Level ana::InternalConfiguration::msgLevel (  )  const

global message level for QuickAna internal tools

Guarantee
no-fail
std::string ana::InternalConfiguration::muonWP (  )  const

what muon WP is the key one (for SFs)

Guarantee
no-fail
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.

Guarantee
no-fail
void ana::InternalConfiguration::setInputName ( ObjectType  type,
const std::string &  val_inputName 
)

set the value of inputName

Guarantee
strong
Failures
out of memory II
inputName already set
object type does not correspond to actual objects

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1