<?xml version="1.0" encoding="UTF-8"?>

<!-- An example gross counting portal monitor data file. The monitor has two gamma and two neutron detectors; -->
<!-- the gamma detectors collect gross count data in two energy windows (100-200 and 200-1000 keV). --> 
<!-- This example shows an occupancy: there are three samples during the occupancy, with two pre-occ samples and two post-occupancy samples. -->
<!-- There was no alarm. -->

<N42InstrumentData xmlns="http://physics.nist.gov/Divisions/Div846/Gp4/ANSIN4242/2005/ANSIN4242" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://physics.nist.gov/Divisions/Div846/Gp4/ANSIN4242/2005/ANSIN4242 http://physics.nist.gov/Divisions/Div846/Gp4/ANSIN4242/2005/ANSIN4242.xsd">

<Measurement UUID="54531f3c-402b-11d8-af12-0002a5094c23">
		<InstrumentInformation>							<!-- Information about the instrument; all of this is optional -->
			<InstrumentType>PortalMonitor</InstrumentType>
			<Manufacturer>Portals R Us</Manufacturer>
			<InstrumentModel>model #1</InstrumentModel>
			<InstrumentID>serial #1</InstrumentID>
		</InstrumentInformation>

		<MeasuredItemInformation>							<!-- Info on what's measured (optional): here, just the measurement location. -->
			<MeasurementLocation>
				<MeasurementLocationName>DCA Cargo East</MeasurementLocationName>
				<Coordinates>40.12 10.67</Coordinates>
			</MeasurementLocation>
		</MeasuredItemInformation> 

		<DetectorData>									<!-- DetectorData contains the occupancy data: 7 samples in all -->
			<StartTime>2004-11-03T14:36:05.4-05:00</StartTime><!-- The time when measurement was started; i.e., the time of the first sample -->
			<SampleRealTime>PT0.1S</SampleRealTime>			<!-- Integration time of each sample; i.e., interval at which samples are taken -->
			<Occupied>0 0 1 1 1 0 0</Occupied>				<!-- Occupied indicates if the monitor was occupied for each of the 7 samples -->
			<Speed Units="mph">5.0</Speed>					<!-- The average speed of the item through the monitor (this is optional) -->

			<DetectorMeasurement DetectorType="Gamma" Detector="Left Gamma"><!-- Measurement data for the gamma detector on the left side -->
				<GrossCountMeasurement WindowStart="100" WindowEnd="200">	<!-- Count data from the left gamma detector, 0 to 100 keV -->
					<Alarmed>0 0 0 0 0 0 0</Alarmed>					<!-- 1 if an alarm was generated for the corresponding sample -->
					<GrossCounts>100 110 100 98 99 102 100</GrossCounts>	<!-- The raw gross counts from the detector for each sample -->
					<BackgroundCounts>100.5</BackgroundCounts>			<!-- The background counts value to be applied to each sample -->
				</GrossCountMeasurement>

				<GrossCountMeasurement WindowStart="200" WindowEnd="1000">	<!-- Gross count data from left gamma detector, 200 to 1000 keV -->
					<Alarmed>0 0 0 0 0 0 0</Alarmed>
					<GrossCounts>100 110 100 98 99 102 100</GrossCounts>
					<BackgroundCounts>101.25</BackgroundCounts>
				</GrossCountMeasurement>
			</DetectorMeasurement>

			<DetectorMeasurement DetectorType="Gamma" Detector="Right Gamma">	<!-- Measurement data from gamma detector on the right side -->
				<GrossCountMeasurement WindowStart="100" WindowEnd="200">
					<Alarmed>0 0 0 0 0 0 0</Alarmed>
					<GrossCounts>100 110 100 98 99 102 100</GrossCounts>
					<BackgroundCounts>101.25</BackgroundCounts>
				</GrossCountMeasurement>

				<GrossCountMeasurement WindowStart="200" WindowEnd="1000">
					<Alarmed>0 0 0 0 0 0 0</Alarmed>
					<GrossCounts>100 110 100 98 99 102 100</GrossCounts>
					<BackgroundCounts>101.25</BackgroundCounts>
				</GrossCountMeasurement>

			</DetectorMeasurement>

			<DetectorMeasurement DetectorType="Neutron" Detector="Left Neutron">	<!-- Measurement data from neutron detector on left side -->
				<GrossCountMeasurement>
					<Alarmed>0 0 0 0 0 0 0</Alarmed>
					<GrossCounts>3 4 2 4 1 2 3</GrossCounts>
					<BackgroundCounts>3.4 3.6 3.5 3.5 3.5 3.5 3.5</BackgroundCounts>
				</GrossCountMeasurement>
			</DetectorMeasurement>

			<DetectorMeasurement DetectorType="Neutron" Detector="Right Neutron">	<!-- Measurement data from neutron detector on right side -->
				<GrossCountMeasurement>
					<Alarmed>0 0 0 0 0 0 0</Alarmed>
					<GrossCounts>3 4 2 4 1 2 3</GrossCounts>
					<BackgroundCounts>3.4 3.6 3.5 3.5 3.5 3.5 3.5</BackgroundCounts>
				</GrossCountMeasurement>
			</DetectorMeasurement>

		</DetectorData>
	</Measurement>
</N42InstrumentData>
