Luiza  v03-01
Network configuration

Network configuration is stored in a dedicated XML file. Its name should be specified in the global section of the steering file:

<global>
...
<parameter name="NetworkXMLFile" value="gloria_network.xml"/>
...
</global>

Network configuration is loaded at the Luiza initialization stage (before any processor is called) into gloria::GloriaNetworkMgr. Configuration can include information about the observatories (telescopes) as well as databases and other network resources. It should include all parameters, which can be required in the analysis, and should be rather specified by GLORIA experts than the user. This includes telescope parameters (location, focal length, etc), names and addresses of GLORIA servers and databases, etc. Moreover, when storing parameters for all telescopes in the network, configuration file can also include processor parameters values, which should be used for given telescope. When specified, these parameters values overwrite parameter defaults and user input (via steering file). However, this behaviour has to be implemented in each processors (by call to luiza::Processor::updateTelescopeParameters method).

Configuration file structure is shown in the following example:

<!-- Global section is used to identify the configuration -->
<global configID="1" configDate="20120724" configAuthor="AFZ" />
<!-- Observatories section is used to define telescopes in the network -->
<observatories>
<telescope ID="9" name="Pi of the Sky prototype">
<alias name="PiOfTheSky 0"/>
<position latitude="-22.9533" longitude="-68.18" elevation="2300" />
<parameter name="FocalLength" value="85" />
<parameter name="Aperture" value="72" />
<!-- Luiza processor parameters -->
<parameter name="SeedThreshold" value="5" />
<parameter name="ClusterFinder:PixelThreshold" value="2" />
<parameter name="MyClusterFinder:MaxPixels" value="25" />
...
</telescope>
...
</observatories>
...

For processors which make use of luiza::Processor::updateTelescopeParameters method, when input image comes from Pi of the Sky prototype (recognized by TELESCOP or INSTRUME keyword in the FITS file header), value of SeedThreshold is set to 5. As different processors can use same parameter name, it is also possible to specify either processor type (as for PixelThreshold in example above) or processor name (as for MaxPixels in example above) in front of parameter name.