Types of Offline Calibrations 

On the ground we run these types of offline calibration

Pedestal, MIP peak, High range calibration and coherent noise are used in reconstruction and simulation.
Veto, CNO, Range crossover are only used in simulation.

calibGenACD Package Executables and Options

The package calibGenACD has the following executable to run calibrations

You can specify the input (not all jobs require all types of input files) and output files for all of these exectuable on the command line with these options:

In addition to this all these executable take the following options [defaultValues] :

Finally, if the calibration jobs requires other calibration files as input, these can be specified with the following options:

Xml job configuration file

The xml job configuration file should have the following format

<?xml version="1.0" ?>
<!-- job optin file for runMuonCalib.exe -->

<!DOCTYPE ifile SYSTEM "$(CALIBGENACDROOT)/xml/ifile.dtd" >

<ifile cvs_Header="$Header: $" cvs_Revision="$Revision: $" >
  <section name="parameters"> input parameters for ACD pedestal and gain calibration
   <item name="instrument" value="LAT">instrument type to be calibrated </item>
   <item name="<parameterName>"value="<parameterValue>"> Various Job Parameter settings, one per item</item>
  </section>
</ifile>


The following parameter names mirror the command line arguments give above:

Calibration Output Files

The various calibrations produce output files in both xml  and text format.  Both files consist of headers that give information about the calibration version & data set
and bodies that give the calibration values.

An example calibration header might look like this (in text format)

#SYSTEM = acdCalib
#instrument= LAT
#timestamp = Wed Jan 18 16:35:58 2006
#calibType = ACD_ElecGain
#fmtVersion = v1r0p0
#startTime = 135005345:1
#stopTime = 135005389:466011
#triggers = 9796697/10799542
#source = 0
#mode = 0


startTime and stopTime show the first and last triggers seen in the data used for this calibration. 

  fmtVersion is the xml (and text) format version.  The should match the dtd in the calibUtil/xml/acdCalib_<fmtVersion>.dtd file.

  triggers shows the number of triggers taken and used for the calibration.

  source and mode don't mean anything yet.