CMS 3D CMS Logo

List of all members | 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

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.

15  :
16  trained(trained), name(name) {}
AtomicId name
Definition: Source.h:38
virtual PhysicsTools::Source::~Source ( )
inlinevirtual

Definition at line 17 of file Source.h.

17 {}

Member Function Documentation

const SourceVariableSet& PhysicsTools::Source::getInputs ( ) const
inline
SourceVariableSet& PhysicsTools::Source::getInputs ( )
inlineprotected

Definition at line 32 of file Source.h.

References inputs.

32 { return inputs; }
SourceVariableSet inputs
Definition: Source.h:39
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().

22  { return outputs.find(name); }
AtomicId name
Definition: Source.h:38
SourceVariableSet outputs
Definition: Source.h:40
SourceVariable * find(AtomicId name) const
const SourceVariableSet& PhysicsTools::Source::getOutputs ( ) const
inline

Definition at line 27 of file Source.h.

References outputs.

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

27 { return outputs; }
SourceVariableSet outputs
Definition: Source.h:40
SourceVariableSet& PhysicsTools::Source::getOutputs ( )
inlineprotected

Definition at line 33 of file Source.h.

References outputs.

33 { return outputs; }
SourceVariableSet outputs
Definition: Source.h:40
bool PhysicsTools::Source::isTrained ( ) const
inline

Definition at line 24 of file Source.h.

References trained.

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

24 { return trained; }

Friends And Related Function Documentation

friend class MVATrainer
friend

Definition at line 30 of file Source.h.

Member Data Documentation

SourceVariableSet PhysicsTools::Source::inputs
private
AtomicId PhysicsTools::Source::name
private
SourceVariableSet PhysicsTools::Source::outputs
private

Definition at line 40 of file Source.h.

Referenced by getOutput(), and getOutputs().

bool PhysicsTools::Source::trained
protected

Definition at line 35 of file Source.h.

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