#include <SourceVariableSet.h>
Classes | |
struct | PosVar |
Public Types | |
enum | Magic { kRegular = 0, kTarget, kWeight } |
typedef std::size_t | size_type |
Public Member Functions | |
bool | append (SourceVariable *var, Magic magic=kRegular, int offset=-1) |
SourceVariable * | find (AtomicId name) const |
SourceVariable * | find (Magic magic) const |
std::vector< SourceVariable * > | get (bool withMagic=false) const |
size_type | size (bool withMagic=false) const |
SourceVariableSet () | |
~SourceVariableSet () | |
Private Attributes | |
std::vector< PosVar > | vars |
Definition at line 14 of file SourceVariableSet.h.
typedef std::size_t PhysicsTools::SourceVariableSet::size_type |
Definition at line 16 of file SourceVariableSet.h.
|
inline |
Definition at line 18 of file SourceVariableSet.h.
|
inline |
Definition at line 19 of file SourceVariableSet.h.
bool PhysicsTools::SourceVariableSet::append | ( | SourceVariable * | var, |
Magic | magic = kRegular , |
||
int | offset = -1 |
||
) |
Definition at line 12 of file SourceVariableSet.cc.
References PhysicsTools::Source::getName(), PhysicsTools::Variable::getName(), PhysicsTools::SourceVariable::getSource(), PhysicsTools::SourceVariableSet::PosVar::magic, evf::evtn::offset(), PhysicsTools::SourceVariableSet::PosVar::pos, PhysicsTools::SourceVariableSet::PosVar::var, PhysicsTools::SourceVariableSet::PosVar::VarNameLess(), and vars.
Referenced by PhysicsTools::MVATrainer::fillInputVars(), PhysicsTools::MVATrainer::fillOutputVars(), and BeautifulSoup.Tag::setString().
SourceVariable * PhysicsTools::SourceVariableSet::find | ( | AtomicId | name | ) | const |
Definition at line 33 of file SourceVariableSet.cc.
References mergeVDriftHistosByStation::name, PhysicsTools::SourceVariableSet::PosVar::VarNameLess(), and vars.
Referenced by PhysicsTools::Source::getOutput().
SourceVariable * PhysicsTools::SourceVariableSet::find | ( | Magic | magic | ) | const |
std::vector< SourceVariable * > PhysicsTools::SourceVariableSet::get | ( | bool | withMagic = false | ) | const |
Definition at line 55 of file SourceVariableSet.cc.
References if(), getDQMSummary::iter, kRegular, query::result, and vars.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), PhysicsTools::MVATrainer::connectProcessors(), PhysicsTools::TrainProcessor::doTrainBegin(), PhysicsTools::MVATrainer::findFinalProcessors(), PhysicsTools::MVATrainer::findUntrainedComputers(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
inline |
Definition at line 33 of file SourceVariableSet.h.
References PhysicsTools::SourceVariableSet::PosVar::noMagic(), and vars.
Referenced by PhysicsTools::MVATrainer::connectProcessors().