VPpMCDatabase FromFile Method Virtual Photonics - VTS Library
Virtual Photonics
Static helper method to simplify reading from file

Namespace: Vts.MonteCarlo.PhotonData
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static pMCDatabase FromFile(
	string photonDatabaseFileName,
	string collisionInfoDatabaseFileName
)

Parameters

photonDatabaseFileName
Type: OnlineSystem String
The filename for the PhotonDataPoint database (no ".xml")
collisionInfoDatabaseFileName
Type: OnlineSystem String
The filename for the CollisionInfo database (no ".xml")

Return Value

Type: pMCDatabase
A new instance of PhotonDatabase
See Also