next up previous contents index
Next: Include files Up: CTP Definition Files Previous: Histogram Definitions   Contents   Index

Report Templates

A typical analyzer writes a text file at the end of a run that contains various summary information about the run. This ``print out'' might contain information such as test scaler values, hardware scalers, parameters, and calculation of physics results based on these quantities. CTP includes a ``report generator'' that can be adequete for many such print outs. This allows the content and format of summary sheets to be changed without modifying the analyzer code.

begin report endrun
The test block "hms" was called {block.test.hms} times.
{goodphase.scaler} events passed the phase space cuts for
an efficiency of {goodphase.scaler/block.test.hms}
e(good theta) = {x=goodthe.scaler/block.test.hms}
e(good phi)   = {y=goodphi.scaler/block.test.hms}
e(electrons)  = {electron.scaler/block.test.hms}

Time of run ~ {scalers(159)*timnorm} sec.

S1X+                     Counts              Rate
scalers(17) = S1X1+ = {scalers(17)} = {scalers(17)/(scalers(159)*timnorm)}
scalers(25) = S1X2+ = {scalers(25)} = {scalers(25)/(scalers(159)*timnorm)}
scalers(18) = S1X3+ = {scalers(18)} = {scalers(18)/(scalers(159)*timnorm)}
scalers(26) = S1X4+ = {scalers(26)} = {scalers(26)/(scalers(159)*timnorm)}
end report endrun



Mohammad Ahmed 2003-07-23