the configuration information for an individual object definition More...
#include <DefinitionConf.h>
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 |
the configuration information for an individual object definition
this is meant as a temporary until Steve's new configuration mechanism is in place
const std::string & ana::DefinitionConf::defName | ( | ) | const |
ObjectType ana::DefinitionConf::defType | ( | ) | const |
the object type of this definition
bool ana::DefinitionConf::firstWP | ( | ) | const |
whether this is the first working point for this definition
StatusCode ana::DefinitionConf::makeConfigList | ( | std::vector< DefinitionConf > & | confList, | |
const Configuration & | config | |||
) | [static] |
make the configuration list from the global configuration
DefinitionConf ana::DefinitionConf::makeEventSelectBaseConf | ( | ) | [static] |
make the configuration object for the EventSelect base tool
DefinitionConf ana::DefinitionConf::makeIParticleCommonConf | ( | ObjectType | type, | |
const std::vector< std::string > & | workingPoints | |||
) | [static] |
make the configuration object for the IParticle common
DefinitionConf ana::DefinitionConf::makeIsDataConf | ( | ) | [static] |
make the configuration object for the IsData tool
DefinitionConf ana::DefinitionConf::makeKinSelectConf | ( | ObjectType | type, | |
const std::string & | kinSelect | |||
) | [static] |
make the configuration object for the kinematic selection
DefinitionConf ana::DefinitionConf::makeObjectDefinitionConf | ( | ObjectType | type, | |
const std::string & | name | |||
) | [static] |
make the configuration object for object definitions
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
StatusCode ana::DefinitionConf::makeTools | ( | const DefinitionArgs & | args, | |
AnaToolSequence & | sequence | |||
) |
make the tools from this definition
bool ana::DefinitionConf::multiWP | ( | ) | const |
whether we have multiple working points for this definition
void ana::DefinitionConf::setDefName | ( | const std::string & | val_defName | ) |
void ana::DefinitionConf::setDefType | ( | ObjectType | val_defType | ) |
set the value of defType
void ana::DefinitionConf::setFirstWP | ( | bool | val_firstWP | ) |
set the value of firstWP
void ana::DefinitionConf::setMultiWP | ( | bool | val_multiWP | ) |
set the value of multiWP
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.