Changing CAL Response Parameters

This is an example of changing something in the central xml detector/response files.

They live in the xmlGeoDbs package, under xml/. Currently, the default set is in xml/flight, and the top xml file is flightSegVols.xml.

It is best to just add new files to your own copy of this package (due to the interconnections of the xml files and their dtd's).

Create a new version of flightSegVols.xml, renamed for this example, flightSegVols-Mine.xml. In it, change the appropriate line to look like this

<!ENTITY CALResponse     SYSTEM "flightCALResponse-Mine.xml">

Then edit flightCALResponse.xml to make your changes and save the file as flightCALResponse-Mine.xml.

Finally, in your jobOptions file, include anywhere a line like:

GlastDetSvc.xmlfile="$(XMLGEODBSROOT)/xml/flight/flightSegVols-Mine.xml";

to make use of your new responses file.

This particular example is useful for changing CAL Digi noise parameters, thresholds and energy range cutoffs.

This procedure can also be used for changing any of the central xml files. See here for details on them.


R.Dubois Last Modified: 2004-08-04 15:39:41 -0700