ATLAS Offline Software
Loading...
Searching...
No Matches
MenuComponents.Node Class Reference
Inheritance diagram for MenuComponents.Node:
Collaboration diagram for MenuComponents.Node:

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

 __init__ (self, Alg)
 addOutput (self, name)
 addInput (self, name)
 getOutputList (self)
 getInputList (self)
 __repr__ (self)

Public Attributes

tuple name = ("%sNode")%( Alg.getName() )
 Alg = Alg
list inputs = []
list outputs = []

Detailed Description

base class representing one Alg + inputs + outputs, to be used to connect 
stores all the inputs, even if repeated (self.inputs)

Definition at line 25 of file MenuComponents.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

MenuComponents.Node.__init__ ( self,
Alg )

Definition at line 28 of file MenuComponents.py.

28 def __init__(self, Alg):
29 self.name = ("%sNode")%( Alg.getName() )
30 self.Alg=Alg
31 self.inputs=[]
32 self.outputs=[]
33

Member Function Documentation

◆ __repr__()

MenuComponents.Node.__repr__ ( self)

Definition at line 46 of file MenuComponents.py.

46 def __repr__(self):
47 return "Node::%s [%s] -> [%s]"%(self.Alg.getName(), ' '.join(map(str, self.getInputList())), ' '.join(map(str, self.getOutputList())))
48
49
STL class.

◆ addInput()

MenuComponents.Node.addInput ( self,
name )

Reimplemented in MenuComponents.AlgNode.

Definition at line 37 of file MenuComponents.py.

37 def addInput(self, name):
38 self.inputs.append(str(name))
39

◆ addOutput()

MenuComponents.Node.addOutput ( self,
name )

Reimplemented in MenuComponents.AlgNode, and MenuComponents.HypoAlgNode.

Definition at line 34 of file MenuComponents.py.

34 def addOutput(self, name):
35 self.outputs.append(str(name))
36

◆ getInputList()

MenuComponents.Node.getInputList ( self)

Definition at line 43 of file MenuComponents.py.

43 def getInputList(self):
44 return self.inputs
45

◆ getOutputList()

MenuComponents.Node.getOutputList ( self)

Definition at line 40 of file MenuComponents.py.

40 def getOutputList(self):
41 return self.outputs
42

Member Data Documentation

◆ Alg

MenuComponents.Node.Alg = Alg

Definition at line 30 of file MenuComponents.py.

◆ inputs

list MenuComponents.Node.inputs = []

Definition at line 31 of file MenuComponents.py.

◆ name

tuple MenuComponents.Node.name = ("%sNode")%( Alg.getName() )

Definition at line 29 of file MenuComponents.py.

◆ outputs

list MenuComponents.Node.outputs = []

Definition at line 32 of file MenuComponents.py.


The documentation for this class was generated from the following file: