VPDetectorFactory GetDetectors Method Virtual Photonics - VTS Library
Virtual Photonics
Method to instantiate all detectors given list of IDetectorInputs. This method calls the method below that instantiates a single detector.

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

public static IList<IDetector> GetDetectors(
	IEnumerable<IDetectorInput> detectorInputs,
	ITissue tissue,
	bool tallySecondMoment
)

Parameters

detectorInputs
Type: OnlineSystem.Collections.Generic IEnumerable IDetectorInput 
IEnumerable of IDetectorInput
tissue
Type: Vts.MonteCarlo ITissue
ITissue
tallySecondMoment
Type: OnlineSystem Boolean
flag indicating whether to tally second moment or not

Return Value

Type: OnlineIList IDetector 
List of IDetector
See Also