base
import ROOT

name="char"
loopSize = 5
xList = list()
yList = list()

def main(name, xList, yList, loopSize):
  localFunction(xList, yList, loopSize)

def localFunction(xList, yList, loopSize):
  for loopNum in range(0, loopSize):
    inputX = 2*x
    inputY = x*x
    xList.append(inputX)
    yList.append(inputY)

main(name, xList, yList, loopSize)
 

BranchTestCode.C

a

-- TakuyaKumaoka - 2020-11-10

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2020-11-10 - TakuyaKumaoka
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback