ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MenuComponents.Node Class Reference
Inheritance diagram for MenuComponents.Node:
Collaboration diagram for MenuComponents.Node:

Public Member Functions

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

Public Attributes

 name
 
 Alg
 
 inputs
 
 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 27 of file MenuComponents.py.

Constructor & Destructor Documentation

◆ __init__()

def MenuComponents.Node.__init__ (   self,
  Alg 
)

Reimplemented in MenuComponents.InputMakerNode, and MenuComponents.HypoAlgNode.

Definition at line 30 of file MenuComponents.py.

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

Member Function Documentation

◆ __repr__()

def MenuComponents.Node.__repr__ (   self)

Reimplemented in MenuComponents.HypoAlgNode, and MenuComponents.AlgNode.

Definition at line 48 of file MenuComponents.py.

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

◆ addInput()

def MenuComponents.Node.addInput (   self,
  name 
)

Reimplemented in MenuComponents.AlgNode.

Definition at line 39 of file MenuComponents.py.

39  def addInput(self, name):
40  self.inputs.append(str(name))
41 

◆ addOutput()

def MenuComponents.Node.addOutput (   self,
  name 
)

Reimplemented in MenuComponents.HypoAlgNode, and MenuComponents.AlgNode.

Definition at line 36 of file MenuComponents.py.

36  def addOutput(self, name):
37  self.outputs.append(str(name))
38 

◆ getInputList()

def MenuComponents.Node.getInputList (   self)

Definition at line 45 of file MenuComponents.py.

45  def getInputList(self):
46  return self.inputs
47 

◆ getOutputList()

def MenuComponents.Node.getOutputList (   self)

Definition at line 42 of file MenuComponents.py.

42  def getOutputList(self):
43  return self.outputs
44 

Member Data Documentation

◆ Alg

MenuComponents.Node.Alg

Definition at line 32 of file MenuComponents.py.

◆ inputs

MenuComponents.Node.inputs

Definition at line 33 of file MenuComponents.py.

◆ name

MenuComponents.Node.name

Definition at line 31 of file MenuComponents.py.

◆ outputs

MenuComponents.Node.outputs

Definition at line 34 of file MenuComponents.py.


The documentation for this class was generated from the following file:
detail::addInput
void addInput(T &c, const Primitive &input, A a=defaultAccessor< T >)
Definition: PrimitiveHelpers.h:49
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
dumpTruth.getName
getName
Definition: dumpTruth.py:34
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
str
Definition: BTagTrackIpAccessor.cxx:11