ATLAS Offline Software
Functions
testPythonAlg Namespace Reference

Functions

def instantiateExample ()
 
def main ()
 

Function Documentation

◆ instantiateExample()

def testPythonAlg.instantiateExample ( )

Definition at line 7 of file testPythonAlg.py.

8 
9  alg = AlgConf.DeltaPhiIncl1(name = 'JetSize1DeltaPhiIncl_12', inputs = ['SortedJetsSize1'], outputs = ['JetDeltaPhiNarrow','JetDeltaPhiWide'])
10  alg.addgeneric('NumberLeading1', 4)
11  alg.addgeneric('NumberLeading2', 4)
12  alg.addvariable('MinET', 5)
13  alg.addvariable('DeltaPhiMin', 20, 0)
14  alg.addvariable('DeltaPhiMax', 27, 0)
15  alg.addvariable('DeltaPhiMin', 27, 1)
16  alg.addvariable('DeltaPhiMax', 32, 1)
17 
18 

◆ main()

def testPythonAlg.main ( )

Definition at line 19 of file testPythonAlg.py.

19 def main():
20  sortalg = []
21  decalg = []
22  for classname in dir(AlgConf):
23  klass = getattr(AlgConf,classname)
24  if type(klass)!=type(type): continue
25  if issubclass(klass,SortingAlgo): sortalg += [klass]
26  if issubclass(klass,DecisionAlgo): decalg += [klass]
27 
29 
30  return 0
31 
32 
testPythonAlg.instantiateExample
def instantiateExample()
Definition: testPythonAlg.py:7
beamspotman.dir
string dir
Definition: beamspotman.py:623
testPythonAlg.main
def main()
Definition: testPythonAlg.py:19
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78