mEmcCalibTower.c File Reference

#include "mEmcCalibTower.h"
#include "emlLib.h"
#include <math.h>

Include dependency graph for mEmcCalibTower.c:

Go to the source code of this file.

Functions

long type_of_call mEmcCalibTower_ (TABLE_HEAD_ST *dEmcRawData_h, DEMCRAWDATA_ST *dEmcRawData, TABLE_HEAD_ST *dEmcGeometry_h, DEMCGEOMETRY_ST *dEmcGeometry, TABLE_HEAD_ST *dEmcEvent_h, DEMCEVENT_ST *dEmcEvent, TABLE_HEAD_ST *dEmcCalibTower_h, DEMCCALIBTOWER_ST *dEmcCalibTower)
 This module makes calibrated data (GeV, ns) from the raw data.


Function Documentation

long type_of_call mEmcCalibTower_ TABLE_HEAD_ST *  dEmcRawData_h,
DEMCRAWDATA_ST *  dEmcRawData,
TABLE_HEAD_ST *  dEmcGeometry_h,
DEMCGEOMETRY_ST *  dEmcGeometry,
TABLE_HEAD_ST *  dEmcEvent_h,
DEMCEVENT_ST *  dEmcEvent,
TABLE_HEAD_ST *  dEmcCalibTower_h,
DEMCCALIBTOWER_ST *  dEmcCalibTower
 

This module makes calibrated data (GeV, ns) from the raw data.

In case of simulation this is done by trivial subtraction of pedestal and multiplication with a fixed gain. When analyzing real data it should be replaced with the detailed calibration and correction routines used in online. Detailed Documentation: {http://www.phenix.bnl.gov/WWW/emcal/documentation/offline/doc99}

Author:
Gabor David {mailto:david@bnl.gov}
Version:
1.0

Definition at line 22 of file mEmcCalibTower.c.

References j, and r_tdc_convfac.