CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends

PhysicsTools::Source Class Reference

#include <Source.h>

Inheritance diagram for PhysicsTools::Source:
PhysicsTools::TrainProcessor

List of all members.

Public Member Functions

const SourceVariableSetgetInputs () const
AtomicId getName () const
SourceVariablegetOutput (AtomicId name) const
const SourceVariableSetgetOutputs () const
bool isTrained () const
 Source (AtomicId name, bool trained=false)
virtual ~Source ()

Protected Member Functions

SourceVariableSetgetInputs ()
SourceVariableSetgetOutputs ()

Protected Attributes

bool trained

Private Attributes

SourceVariableSet inputs
AtomicId name
SourceVariableSet outputs

Friends

class MVATrainer

Detailed Description

Definition at line 13 of file Source.h.


Constructor & Destructor Documentation

PhysicsTools::Source::Source ( AtomicId  name,
bool  trained = false 
) [inline]

Definition at line 15 of file Source.h.

virtual PhysicsTools::Source::~Source ( ) [inline, virtual]

Definition at line 17 of file Source.h.

{}

Member Function Documentation

const SourceVariableSet& PhysicsTools::Source::getInputs ( ) const [inline]
SourceVariableSet& PhysicsTools::Source::getInputs ( ) [inline, protected]

Definition at line 32 of file Source.h.

References inputs.

{ return inputs; }
AtomicId PhysicsTools::Source::getName ( void  ) const [inline]
SourceVariable* PhysicsTools::Source::getOutput ( AtomicId  name) const [inline]

Definition at line 21 of file Source.h.

References PhysicsTools::SourceVariableSet::find(), and outputs.

Referenced by PhysicsTools::MVATrainer::fillInputVars().

        { return outputs.find(name); }
const SourceVariableSet& PhysicsTools::Source::getOutputs ( ) const [inline]

Definition at line 27 of file Source.h.

References outputs.

Referenced by PhysicsTools::MVATrainer::connectProcessors().

{ return outputs; }
SourceVariableSet& PhysicsTools::Source::getOutputs ( ) [inline, protected]

Definition at line 33 of file Source.h.

References outputs.

{ return outputs; }
bool PhysicsTools::Source::isTrained ( ) const [inline]

Definition at line 24 of file Source.h.

References trained.

Referenced by PhysicsTools::MVATrainer::findUntrainedComputers().

{ return trained; }

Friends And Related Function Documentation

friend class MVATrainer [friend]

Definition at line 30 of file Source.h.


Member Data Documentation

Reimplemented in PhysicsTools::TrainProcessor.

Definition at line 38 of file Source.h.

Referenced by getName().

Definition at line 40 of file Source.h.

Referenced by getOutput(), and getOutputs().

Definition at line 35 of file Source.h.

Referenced by isTrained(), and PhysicsTools::TrainProcessor::trainEnd().