ana::DefinitionConf Struct Reference

the configuration information for an individual object definition More...

#include <DefinitionConf.h>

List of all members.

Public Member Functions

StatusCode makeTools (const DefinitionArgs &args, AnaToolSequence &sequence)
 make the tools from this definition
ObjectType defType () const
 the object type of this definition
void setDefType (ObjectType val_defType)
 set the value of defType
const std::string & defName () const
 the name of the definition point
void setDefName (const std::string &val_defName)
 set the value of defName
std::string wpName () const
 the name of the working point, or the empty string if this is not a working point
bool firstWP () const
 whether this is the first working point for this definition
void setFirstWP (bool val_firstWP)
 set the value of firstWP
bool multiWP () const
 whether we have multiple working points for this definition
void setMultiWP (bool val_multiWP)
 set the value of multiWP

Static Public Member Functions

static DefinitionConf makeObjectDefinitionConf (ObjectType type, const std::string &name)
 make the configuration object for object definitions
static DefinitionConf makeIParticleCommonConf (ObjectType type, const std::vector< std::string > &workingPoints)
 make the configuration object for the IParticle common
static DefinitionConf makeKinSelectConf (ObjectType type, const std::string &kinSelect)
 make the configuration object for the kinematic selection
static DefinitionConf makeEventSelectBaseConf ()
 make the configuration object for the EventSelect base tool
static DefinitionConf makeIsDataConf ()
 make the configuration object for the IsData tool
static DefinitionConf makePileupConf (const std::vector< std::string > &muDataFiles, const std::vector< std::string > &muMcFiles)
 make the configuration object for the pileup reweighting tool
static StatusCode makeConfigList (std::vector< DefinitionConf > &confList, const Configuration &config)
 make the configuration list from the global configuration

Detailed Description

the configuration information for an individual object definition

this is meant as a temporary until Steve's new configuration mechanism is in place


Member Function Documentation

const std::string & ana::DefinitionConf::defName (  )  const

the name of the definition point

See also:
wpName
Guarantee
no-fail
ObjectType ana::DefinitionConf::defType (  )  const

the object type of this definition

Guarantee
no-fail
bool ana::DefinitionConf::firstWP (  )  const

whether this is the first working point for this definition

Guarantee
no-fail
StatusCode ana::DefinitionConf::makeConfigList ( std::vector< DefinitionConf > &  confList,
const Configuration config 
) [static]

make the configuration list from the global configuration

Guarantee
basic
Failures
out of memory II
DefinitionConf ana::DefinitionConf::makeEventSelectBaseConf (  )  [static]

make the configuration object for the EventSelect base tool

Guarantee
strong
Failures
out of memory I
DefinitionConf ana::DefinitionConf::makeIParticleCommonConf ( ObjectType  type,
const std::vector< std::string > &  workingPoints 
) [static]

make the configuration object for the IParticle common

Guarantee
strong
Failures
out of memory II
DefinitionConf ana::DefinitionConf::makeIsDataConf (  )  [static]

make the configuration object for the IsData tool

Guarantee
strong
Failures
out of memory I
DefinitionConf ana::DefinitionConf::makeKinSelectConf ( ObjectType  type,
const std::string &  kinSelect 
) [static]

make the configuration object for the kinematic selection

Guarantee
strong
Failures
out of memory II
DefinitionConf ana::DefinitionConf::makeObjectDefinitionConf ( ObjectType  type,
const std::string &  name 
) [static]

make the configuration object for object definitions

Guarantee
strong
Failures
out of memory II
DefinitionConf ana::DefinitionConf::makePileupConf ( const std::vector< std::string > &  muDataFiles,
const std::vector< std::string > &  muMcFiles 
) [static]

make the configuration object for the pileup reweighting tool

Guarantee
strong
Failures
out of memory II
StatusCode ana::DefinitionConf::makeTools ( const DefinitionArgs args,
AnaToolSequence sequence 
)

make the tools from this definition

Guarantee
basic
Failures
tool creation failures
bool ana::DefinitionConf::multiWP (  )  const

whether we have multiple working points for this definition

Guarantee
no-fail
void ana::DefinitionConf::setDefName ( const std::string &  val_defName  ) 

set the value of defName

Guarantee
strong
Failures
out of memory II
void ana::DefinitionConf::setDefType ( ObjectType  val_defType  ) 

set the value of defType

Guarantee
no-fail
void ana::DefinitionConf::setFirstWP ( bool  val_firstWP  ) 

set the value of firstWP

Guarantee
no-fail
void ana::DefinitionConf::setMultiWP ( bool  val_multiWP  ) 

set the value of multiWP

Guarantee
no-fail
std::string ana::DefinitionConf::wpName (  )  const

the name of the working point, or the empty string if this is not a working point

For now this is the same as defName but some point this should probably be split in two: One specifying the name of the definition, the other the name of the decoration, so that the user can use the same working point multiple times with slightly different tool configurations.

Guarantee
strong
Failures
out of memory II

The documentation for this struct 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