Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
g4lbne
BeamSimStudies
GeneticOptimization
getPOTPerYear.py
Go to the documentation of this file.
1
import
OptimizationUtils, sys
2
3
if
len(sys.argv) < 2:
4
print
"Usage:"
,sys.argv[0],
" <Proton_Energy>"
5
sys.exit()
6
7
proton_energy = sys.argv[1]
8
9
print
1e21 *
OptimizationUtils.GetPowerPOTScaleFactor
(float(proton_energy))
OptimizationUtils.GetPowerPOTScaleFactor
def GetPowerPOTScaleFactor(energy)
Definition:
OptimizationUtils.py:59
Generated by
1.8.11