#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(), pos, PhysicsTools::SourceVariableSet::PosVar::pos, PhysicsTools::SourceVariableSet::PosVar::var, PhysicsTools::SourceVariableSet::PosVar::VarNameLess(), and vars.
Referenced by PhysicsTools::MVATrainer::fillInputVars(), and PhysicsTools::MVATrainer::fillOutputVars().
SourceVariable * PhysicsTools::SourceVariableSet::find | ( | AtomicId | name | ) | const |
Definition at line 33 of file SourceVariableSet.cc.
References mergeVDriftHistosByStation::name, pos, PhysicsTools::SourceVariableSet::PosVar::VarNameLess(), and vars.
Referenced by BeautifulSoup.Tag::_invert(), PhysicsTools::Source::getOutput(), and BeautifulSoup.PageElement::insert().
SourceVariable * PhysicsTools::SourceVariableSet::find | ( | Magic | magic | ) | const |
Definition at line 45 of file SourceVariableSet.cc.
Referenced by BeautifulSoup.Tag::_invert(), and BeautifulSoup.PageElement::insert().
std::vector< SourceVariable * > PhysicsTools::SourceVariableSet::get | ( | bool | withMagic = false | ) | const |
Definition at line 55 of file SourceVariableSet.cc.
References reco::if(), kRegular, pos, 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().